Archive: Problem with exec


Problem with exec
Hi,

Iam developing an installer using NSIS.My requirement is

If the application is not installed in the target system its straight forward.

If the application is already installed in the target system, the version of the existing application is compared with the new application.If the existing application is older one,i have to uninstall it and then go for the installation of the newer version.

In my installer iam using "exec" command for running uninstall.exe.But, the problem iam facing is both the installer and uninstall.exe are running parrallely.I want to block the installer when uninstall.exe is running

Expecting a reply

thanks in advance

Sanny


You should use ExecWait. If the uninstaller is NSIS see here,
http://nsis.sourceforge.net/Docs/Chapter3.html#3.2.2