View Single Post
Old 17th July 2012, 10:20   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
You have one too many quotes in your command:
ExecWait "$\"$TEMP\setup.exe$\" /v$\" /norestart /qb INSTALLDIR=$\"C:\Program Files\Folder$\""
Should be
ExecWait "$\"$TEMP\setup.exe$\" /v /norestart /qb INSTALLDIR=$\"C:\Program Files\Folder$\""

But next time, please use ` or ' quotes to prevent trouble like this. It also makes your code much more readable:

ExecWait `"$TEMP\setup.exe" /v /norestart /qb INSTALLDIR="C:\Program Files\Folder"`
MSG is offline   Reply With Quote