I have a string, "c:\windows\unins000.exe"
, that I need to turn into, c:\windows\unins000.exe
. It would be easy enough to do in another language, but I need to do it in Inno Setup/Pascal.
The problem I'm having is that I get an "invalid directory" error when I run
Exec(UninstallString, '/SILENT', '', SW_SHOW, ewWaitUntilTerminated, ResultCode)
with the above string, and it appears that it's the quotation marks that are causing the problem.
I can't even find an example of ANY string functions in Pascal or Inno Setup! :-/