Hi,
The first step of upgrading the application i am writing installer to is uninstalling the performing some steps of the uninstall of current installed version.
For that - i am lunching using ExecWait from withing the install section of the new version the existing uninstall.exe (with some command line parameters).
The problem is that although i use ExecWait - the setup process does not wait for the uninstall to return and continue like i have used only the Exec command.
I have searched the forum - but couldn't find anything.
I also wrote two other test installers to do the same (one lunching the other and waits) - but the test works perfectly.
Any idea - what can cause this behavior?
Tx
Oren
ExecWait - not waiting for return
5 posts
For nsis uninstallers: ExecWait '"$INSTDIR\uninstall.exe" _?=$INSTDIR'
for other uninstallers, you need to find out if it has a switch you can use for it to wait, if not, try http://nsis.sourceforge.net/ExecWait...th_Job_Objects
for other uninstallers, you need to find out if it has a switch you can use for it to wait, if not, try http://nsis.sourceforge.net/ExecWait...th_Job_Objects
Hi Anders,
Thanks for the quick reply...but i am not sure i understand your answer 😢
1. Yes - it is a nsis uninstaller.
2. What do you mean by ExecWait '"$INSTDIR\uninstall.exe" _?=$INSTDIR'?
Can you please elaborate what does this code do?
3. Generally speaking - shouldn't ExecWait be enough?
tx
Oren
Thanks for the quick reply...but i am not sure i understand your answer 😢
1. Yes - it is a nsis uninstaller.
2. What do you mean by ExecWait '"$INSTDIR\uninstall.exe" _?=$INSTDIR'?
Can you please elaborate what does this code do?
3. Generally speaking - shouldn't ExecWait be enough?
tx
Oren
Thanks
Problem solved
Problem solved