This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: supplying INSTALLDIR through a command line?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 02, 2010
07:21 PM
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. 😉
I've tried creating a property called INSTALLDEST in the IDE, assigning it INSTALLDIR, and then using INSTALLDEST="
Thanks to anyone who knows how to do this or for telling me to quit trying. 😉
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 03, 2010
09:59 AM
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2010
10:07 AM
Great, thanks for that! Can the command line options be something like /qn INSTALLDIR=""?
I would like to install this app silently.
I would like to install this app silently.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2010
10:11 AM
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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2010
03:11 PM
Thanks, Lurean, works great!
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)