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
- :
- Space characters in Setup.exe 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
Jan 22, 2020
12:51 PM
I am running setup command with the following arguments: setup.exe /S /V/qn /VSETUPDIR="C:\My Setup" This command pops up "Windows Installer" dialog with command usage. If I remove space character in "C:\My Setup" and replace it with "C:\My_Setup", then everything works as expected. My question is: Is it possible to specify space character in a global property set in the installer command line?
setup.exe is generated by InstallShield 2015 SP2.
(1) Solution
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 24, 2020
04:34 AM
Vhavin,
Use escape sequence to pass the command line
E.g Setup.exe /S /V" SETUPDIR=\"C:\My Setup\" /qn"
Thanks,
Thananjeyan
Use escape sequence to pass the command line
E.g Setup.exe /S /V" SETUPDIR=\"C:\My Setup\" /qn"
Thanks,
Thananjeyan
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 24, 2020
04:34 AM
Vhavin,
Use escape sequence to pass the command line
E.g Setup.exe /S /V" SETUPDIR=\"C:\My Setup\" /qn"
Thanks,
Thananjeyan
Use escape sequence to pass the command line
E.g Setup.exe /S /V" SETUPDIR=\"C:\My Setup\" /qn"
Thanks,
Thananjeyan
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 27, 2020
11:03 AM
Thank you Thananjeyan,
I tried your solution and it works.
Victor.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)