cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vhavin
Level 3

Space characters in Setup.exe command line

Jump to solution

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.

Labels (1)
(1) Solution
Thananjeyan_M
Level 6
Vhavin,
Use escape sequence to pass the command line
E.g Setup.exe /S /V" SETUPDIR=\"C:\My Setup\" /qn"

Thanks,
Thananjeyan

View solution in original post

(2) Replies
Thananjeyan_M
Level 6
Vhavin,
Use escape sequence to pass the command line
E.g Setup.exe /S /V" SETUPDIR=\"C:\My Setup\" /qn"

Thanks,
Thananjeyan

Thank you Thananjeyan,

I tried your solution and it works.

Victor.

0 Kudos