Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Add visual studio 2005 redistributable package


1 reply to this topic

aarthi_m

aarthi_m
  • Full Members
  • 65 posts

Posted 19 November 2007 - 10:53

The msi has a custom action which is built using VC 2005. To execute the custom action on the target system, VC runtime files need to be installed.
I tried to package the redistributable merge modules (CRT, CRT.Policy, MFC, MFC.Policy) in the ism file by adding these msm files in the redistributable view.
My custom action is sequenced after 'install files' action.

When i install the package, the msi is unable to execute the custom action as the redist packages are not getting installed.

How should i add the redist packages?


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 November 2007 - 01:53

That's not the best desgin for a custom action to have such a dependency. Try to avoid it if at all possible.

If you can't: Make sure your cuatom action is scheduled for deferred execution, not immediate. Or move it after InstallFinalize.