Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

Shell.Execute comman line argument question

$
0
0
Hello,

I'm trying to run the following command:

Shell.Execute("C:\\Windows\\myApp\\uninstall.exe", "open", "/U:C:\\Program Files (x86)\\myApp\\Uninstall\\uninstall.xml", "", SW_SHOWNORMAL, true);

but I always get a message box saying "Invalid uninstall control file: C:\Program"

I guess it has something to do with the space characters which are enclosed in the command line argument.

When I copy the uninstall.xml to D:\ and then do this:

Shell.Execute("C:\\Windows\\myApp\\uninstall.exe", "open", "/U:\\uninstall.xml", "", SW_SHOWNORMAL, true);

the Uninstall process works perfectly.

Any suggestions?

Thanks
Ronny

Viewing all articles
Browse latest Browse all 2105

Trending Articles