Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. vs 2005 c#, need guidance on recording command line arguments to an msi (microsoft installer)

vs 2005 c#, need guidance on recording command line arguments to an msi (microsoft installer)

Scheduled Pinned Locked Moved C#
csharpvisual-studiowindows-admintutorialworkspace
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cjoki
    wrote on last edited by
    #1

    Hello All, I hope this is the correct forum, please excuse me if it is not. I am new to VS/C#. I have managed to make a simple service and MSI installer for it. What I need to do is make a change to the msi to read 3 command line arguments and record them in either the apps configuration file for the installed service or record them to the registry. If to the registry, I can change my service to read from it. The installer project does not have an obvious code (*.cs) page, so I am unsure how to proceed. Thanks! cjoki

    N 1 Reply Last reply
    0
    • C cjoki

      Hello All, I hope this is the correct forum, please excuse me if it is not. I am new to VS/C#. I have managed to make a simple service and MSI installer for it. What I need to do is make a change to the msi to read 3 command line arguments and record them in either the apps configuration file for the installed service or record them to the registry. If to the registry, I can change my service to read from it. The installer project does not have an obvious code (*.cs) page, so I am unsure how to proceed. Thanks! cjoki

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      This may be a place to start Create custom dialogs for use in your Visual Studio Setup projects[^]


      only two letters away from being an asset

      C 1 Reply Last reply
      0
      • N Not Active

        This may be a place to start Create custom dialogs for use in your Visual Studio Setup projects[^]


        only two letters away from being an asset

        C Offline
        C Offline
        cjoki
        wrote on last edited by
        #3

        Thanks mark...I am reading material now and running the SDK download to get Orca. To bad MS does not have that in a separate download...oh well. I will post my results later.

        C 1 Reply Last reply
        0
        • C cjoki

          Thanks mark...I am reading material now and running the SDK download to get Orca. To bad MS does not have that in a separate download...oh well. I will post my results later.

          C Offline
          C Offline
          cjoki
          wrote on last edited by
          #4

          the author looks to make a number guesses about the inner workings of the wid file structures....still reading the link but I recall seeing something on WiX, a series of tools and xml file used to make a msi file, does anyone have experience with this and would this also be able to meet me requirements?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups