Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Command line argument


1 reply to this topic

GavinC

GavinC
  • Full Members
  • 1 posts

Posted 22 February 2007 - 15:16

I need to start an ism setup.exe file from the command prompt by passing an argument with a serial number. If I use the /v method of passing an argument then how do I catch the serial number in the installshield script, check it, and stop the setup running if it is invalid?

I am new to this game and any help would be greatly appreciated.

Edited by GavinC, 22 February 2007 - 15:17.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 February 2007 - 14:39

In a Basic MSI project:
setup.exe /V PASSWORD=foo
will set the property PASSWORD to the value "foo" and you cna use this property in your steup. By default there is no script in Basic MSI so maybe you are using a different project type?