/build/static/layout/Breadcrumb_cap_w.png

Nested MSI(WPS)

Hi All,

I have an MSI that needs to run after another custom action during Execute Deferred.

I've been reading this article on Altiris https://kb.altiris.com/display/1/articleDirect/index.asp?aid=2955&r=2.338809E-02 which suggests calling the MSI druing Execute Immediate. I was a little thrown off by this as best practice articles have always suggested running anything that "changes the system" in Execute Deferred.

Because the custom action the MSI depends on is actually under deferred, I created a custom action "Install MSI from Installation" to run the MSI immediately after the CA it depends on. When I ran this, I got an error 2723 (CA is unsupported type). Why is it an unsupported type?

After reading this http://support.microsoft.com/kb/306439, I went into the CustomAction table and set the value of Type to "7." This seemed to actually run the MSI however I am concerned about when it's actually executing because in the MSI Script view of the install editor, the line where my If statement is disappeared after changing the CA type.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: turbokitty 15 years ago
6th Degree Black Belt
0
There are approximately 47,000 posts on this topic already. Please use "search".
Posted by: anonymous_9363 15 years ago
Red Belt
0
Indeed use 'Search' but the point you may miss is that nested MSIs are now, by common consent, considered to be A Bad Thing, owing to potential issues with uninstall, patches and upgrades.

Windows Installer > v4.5 now has the capability built in (install chaining), but upgrading the engine isn't really a job for a package. For now, you should package to the lowest common denominator.
Posted by: turbokitty 15 years ago
6th Degree Black Belt
0
Yup, it's a deprecated feature. This is why you have a deployment tool. It should do the chaining.

And the Windows Installer 4.5 redistributable can be installed on Windows XP Service Pack 2, Windows XP Service Pack 3, Windows Server 2003 Service Pack 1, Windows Server 2003 Service Pack 2, Windows Vista, Windows Vista Service Pack 1, and Windows Server 2008 in X86, X64 and IA64 flavors.

So if you're running anything prior to XP SP2, you're out of luck.

Has anyone tried using the 4.5 chainer? It's a neat idea.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ