calling Microsoft Installer
I am creating an installer for a program that requires Java. I run the java installer if java is not present. I want to give the option to uninstall java in the uninstaller. The only way it seems to uninstall java is by using the microsoft installer MsiExec.exe. I tried running ExecWait '"MsiExec" "/x{7148F0A8-6813-11D6-A77B-00B0D0142060}"' It runs the uninstaller but acts as if there were no arguments. MsiExec returns the following error code:
ERROR_INVALID_COMMAND_LINE Invalid command line argument. Consult the Windows Installer SDK for detailed command line help.
If I run the command from the command prompt or execute it from a tcl shell it works fine. Any ideas why it won't work from NSIS?
Thanks