Code: Select all
1 Target Computer
2 - InstallUISequence
3 - Begin
4 - Kill_App.exe
5 - App2.exe_unregister
6 - App3.exe_UnregServer
7 - InstallExecuteSequence
8 - Begin
9 -UninstallPreviousVersions
10 - Uninstall
11 - Rollback
12 - Install
13 - App3.exe_RegServer
14 - Welcome.html_1
15 - Commit
16 - Kill_updater.exe
17 - App2.exe
18 - App.exe
19 - UI Custom Actions
20 - Welcome.html
a. When installer starts and App.exe is running, installer asks to stop App.exe (with the Abort-Retry-Ignore dialog) w/c means installer was either unable to kill App.exe or #4 is not yet executed when the dialog appears.
b. #5 is supposed to show a command line window, but we do not see that at that point. We only see a command line window when #17 executes.
So my first question is how do we execute these custom actions before the previous version gets uninstalled?
Second question is when we try to uninstall from Add/Remove, how do we make everything in #3 run?
Note, all files in #3 are part of the package installed in the Program Files folder so they need to run before product is completely uninstalled (we have set application folder to be removed on uninstall regardless if empty of not).
PS: I already tried setting "REMOVE= ALL" on #5 and #6 but it didn't seem to have an effect as I still don't see command line window coming out.
FOLLOW US
Get the latest news in Application Packaging