cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Japster24
Level 6

custom switch for MSI

Is it possible to add a custom switch for an MSI on the command line? Or...does anyone have any ideas as a way to pass in a parameter at install time?

I want an install to *not* do a function if this parameter is passed in....

Please Help!!!!!

:confused:
Labels (1)
0 Kudos
5 Replies
Japster24
Level 6

This looks promising using the /z switch....anyone every try this??

http://helpnet.acresso.com/robo/projects/installshield11langref/LangrefCMDLINE.htm
0 Kudos
Japster24
Level 6

Any ideas for doing this with a Self-Extracting install???

EDIT: used the /z"pass info" and the user can use CMDLINE in the installscript
0 Kudos
Japster24
Level 6

Now I'm on a Basic MSI and I need to pass in a variable from the command line. Create one or use a public one but I can't find a good public one to use (e.g.: I'm not changing INSTALLDIR="bypass" so I can bypass a step in my installer).

PLEASE ANY IDEAS??? no one's answering my posts here...any reply would help at this point...
0 Kudos
zmfcat1
Level 4

You can write a custom action to set a property based on your needs and then run/not run your function based on conditional parameters set using this property. Thx.
0 Kudos
Japster24
Level 6

I figured it out...if anyone's reading this and wants the answer I can explain how I did this.
0 Kudos