cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
esiemiat
Level 9

DotNet COM+ Installation

I am new to MSI projects and I have a question regarding COM+. I created an InstallScript custom action that uses COMADMIN to install a Dotnet component into Component Services. My questions are:

[LIST=1]
  • Where in the Execute sequence should I place this Deferred custom action?
  • Where do I place the uninstall custom action so that it removes what the other CA created?
  • Do I need to create a Rollback CA to remove the component if the install is cancelled? If so where do I put this?
  • How do I attach the custom actions to a Feature. This way the COM+ piece gets installed and uninstalled based on the selection of that feature?
  • Labels (1)
    0 Kudos
    (1) Reply
    hidenori
    Level 17

    Here are my suggestions:

    [LIST=1]
  • Sequence your install action after the RegisterComPlus action.
  • Sequence your uninstall action before the UnregisterComPlus action.
  • Have an initialization action to back up the original COM+ catalog, and have a rollback action to restore it.
  • Specify a condition for your actions to run them conditioanlly based on a feature selection.

    Hope that helps.
  • 0 Kudos