View Single Post
Old 17th July 2012, 09:14   #1
cupid062985
Junior Member
 
Join Date: Jun 2012
Posts: 12
Question InstallDir with Spaces

Hi Guys,

I need some help here.

I try to install an exe file with the following line:

code:

ExecWait "$\"$TEMP\setup.exe$\" /v$\" /norestart /qb INSTALLDIR=$\"C:\Program Files\Folder$\""



but it failed because of the Space.

I was wondering why for MSI packages it work.

code:

ExecWait "msiexec /i $\"$TEMP\setup.msi$\" /quiet /passive /norestart INSTALLDIR=$\"C:\Program Files\Folder$\""



Please help me. I need some light.

Thanks a lot in advance.
cupid062985 is offline   Reply With Quote