cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Jan_Eggers
Level 4

merge module Custom Action with conditions

hi

ive builded a merge module with 2 custom actions.
One should be done on install the other on uninstall.

In the MSI Package i checked if i´m uninstalling with REMOVE = "ALL" in the condition.

This is not working for my merge module.

How can I get the info in the merge module?
Labels (1)
0 Kudos
(7) Replies
KathyMorey
Level 10

Have you run with a log file? You might also want to go to the Direct Editor and verify that your condition is using REMOVE and not REMOVE.GUIDofMM.
0 Kudos
Jan_Eggers
Level 4

Im using REMOVE without guid.

How can i enable logging for uninstall ?
0 Kudos
TsungH
Level 12

Where are you scheduling your custom action? Remove property may not equal ALL until after the InstallValidate action.
0 Kudos
Jan_Eggers
Level 4

I scheduled them after Install InstallInitialize
0 Kudos
TsungH
Level 12

What's not working? Custom action not getting evoked at all? Or some problems while executing the custom action?

There is no special way to enable logging for uninstallation. Just run your setup again (either with setup.exe or msiexec.exe with your MSI file) with logging enabled, it will be in maintenance mode from which you can select uninstallation.
0 Kudos
Jan_Eggers
Level 4

Custom action not getting evoked at all.

I´ve made the action only execute when REMOVE = "ALL".

On uninstall it should remove files created from the installed program. Is there a better way to do this?
0 Kudos
TsungH
Level 12

You will want to check the (verbose) log.
0 Kudos