Although I know that MSI should bot be called frm other MSI , but due to some reason I have to do that.
My query is :
I am using custom action "Install MSI frm installation:" after installfinalise which is working fine.While uninstallation , it would uninstall the components of base MSI only and doen't uninsall the other MSI whihc is called in base MSI.which is obvious.
How can I make sure that both MSIs are uninstalled while uninstallation of package..Any suggestions wll be highly appreciated.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
ORIGINAL: dpu_bansal83
How can I make sure that both MSIs are uninstalled while uninstallation of package.
You need to add another Custom Action. This CA will need to 'Execute Program from Destination', specifically MSIEXEC.EXE with the command line '/X {Your_nested_MSI's_Product_Code} [other_arguments_you_normally_include]' and add a condition for that CA so that it only runs when the base MSI is being uninstalled, i.e. REMOVE~="ALL"
Answered 08/01/2008 by: VBScab
Red Belt

Please log in to comment
0
Have a look at:
How to create a nested .msi package
http://support.microsoft.com/kb/306439
Answered 08/01/2008 by: AngelD
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity