Tonst
24th October 2008 10:37 UTC
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:
Pidgeot
24th October 2008 14:00 UTC
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.
Tonst
24th October 2008 14:30 UTC
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.