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
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

the Uninstall process works perfectly.
Any suggestions?
Thanks
Ronny