Archive: ExecWait not waiting!


ExecWait not waiting for uninstall.exe
Hi

When running ExecWait agasint the uninstaller why is _?=$INSTDIR required to make it wait, and is $INSTDIR significant? i.e. if they installed to c:\abc previously and i am now installing to c:\xyz i'm passign the uninstaller xyz but wanting it to uninstall abc? :weird:


It is required because the uninstaller copies itself to $TEMP, then launches that copy with that parameter and quits itself. This is done to allow the uninstaller to delete itself from the install directory.


Ok, so taking the path from the registry for the installed version and passing that is going to be better than passing to it the default install path. Thanks.