cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
AbhimanyuK
Level 2

Installing an executable as custom action

Hi,
I am making an installshield basic msi project. I made a custom action which will launch an executable installed with the product and the custom action will launch it during uninstall.

I placed it after InstallInitialize and before InstallFinalize actions but how do i ensure that this custom action will always run before the exe file is being removed by the installshield.

Properties of custom action:
Return Processing - Synchronous
Execution Scheduling - Always execute
condition - REMOVE
Labels (1)
0 Kudos

(1) Reply
TsungH
Level 12

You will want to scheduled it before RemoveFiles Action. You will want to change your condition to REMOVE = "ALL" for uninstallation of the product. Otherwise, your custom action will get triggered when an installed feature is deselected for installation during maintenance mode.
0 Kudos