|
Can anyone help troubleshoot my uninstall script? I am running into difficulty uninstalling an application whose path contains spaces. Some uninstall apps provide a dos equivelant path in the uninstall string, but some do not. Unless I can properly encapsulate the following string, this will not run. I have tried variations of the following examples, but to no avail.
SHELL "$ProgStr\unwise32.exe /A $ProgStr\$BProg.log"
SHELL '%comspec% /C Start "$ProgStr\unwise32.exe /A $ProgStr\$BProg.log"
$ProgStr is the path that is read from HKLM\software\microsoft\windows\current version\app path\ $BProg is the program I am uninstalling. In this case ICQ lite.
The variables are getting the correct value, which in this case is D:\program files\icqlite for the path. I have tried every way I can think of to enclose the path in quotes, but nothing works. Anyone have any thoughts?
Thanks,
|