cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Mescalero
Level 7

supplying INSTALLDIR through a command line?

Is it possible to supply an INSTALLDIR to an msi file (Basic MSI installation) from a command line?

I've tried creating a property called INSTALLDEST in the IDE, assigning it INSTALLDIR, and then using INSTALLDEST="" from the command line. No dice, as of yet, and I'm wondering if I'm just spinning my wheels trying to do this.

Thanks to anyone who knows how to do this or for telling me to quit trying. 😉
Labels (1)
0 Kudos
(4) Replies
Lurean
Level 8

INSTALLDIR itself is a public property and can be set directly from the commandline, you don't need to use another property to set it.
0 Kudos
Mescalero
Level 7

Great, thanks for that! Can the command line options be something like /qn INSTALLDIR=""?

I would like to install this app silently.
0 Kudos
Lurean
Level 8

yes, your command line can contain multiple arguments and properties.

look at the help file topic "Command-Line Options [Windows Installer]" for a complete set of command line options and how to use them together.
0 Kudos
Mescalero
Level 7

Thanks, Lurean, works great!
0 Kudos