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
- :
- Having a problem setting INSTALLDIR from the 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
‎Aug 05, 2010
10:43 AM
Having a problem setting INSTALLDIR from the command line
Our default product installation folder has a space in it and that seems to be causing problems.
When this command line string is used a error dialog pops up with a list of command line parameters.
setup.exe /V"INSTALLDIR="C:\Temp Test""
This command line string works fine.
setup.exe /V"INSTALLDIR="C:\TempTest""
We recently updated our InstallShield to the 2010 version from 2009 and that is when we started seeing this problem.
Thank you,
-Reinyn
When this command line string is used a error dialog pops up with a list of command line parameters.
setup.exe /V"INSTALLDIR="C:\Temp Test""
This command line string works fine.
setup.exe /V"INSTALLDIR="C:\TempTest""
We recently updated our InstallShield to the 2010 version from 2009 and that is when we started seeing this problem.
Thank you,
-Reinyn
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 05, 2010
11:02 AM
Please see the topic "Setup.exe and Update.exe Command-Line Parameters":
If a path within a parameter contains spaces, you may need to use quotation marks within quotation marks, as in the following example:
Setup.exe /v"INSTALLDIR=\"c:\My Files\""
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 05, 2010
11:59 AM
Thank you Robert.
I was missing the \ after INSTALLDIR=
I was missing the \ after INSTALLDIR=