/build/static/layout/Breadcrumb_cap_w.png

Disable MSI Custom Actions using Parameters

Hi,

Please let me know How to disable Custom Actions for Msi Using command line Parametrs/switches
without using Transform?

Thank you.

Regards,
Abhishek

0 Comments   [ + ] Show comments

Answers (7)

Posted by: pjgeutjens 12 years ago
Red Belt
0
you should use a transform for this, but in general, open the msi in an editing tool (installshield/orca/InstEdit), go to the InstallExecuteSequence table, find the line for the customaction, and add a condition that is never true (my favorite is 1=2) and save

If the customaction is part of the graphical installation actions you'll find it in the InstallUISequence table instead of InstallExecuteSequence.

Rgds,

PJ
Posted by: abhishek10abhi 12 years ago
Senior Yellow Belt
0
Hi,

I have setup.exe & i'm passing MSI parameters to it by using /V switch
can we Pass TRANSFORMS parameter using /v Switch

Regards,
Abhishek
Posted by: pjgeutjens 12 years ago
Red Belt
0
you should be able to. You should also check to make sure the setup.exe does not extract an MSI during install. Keep an eye on the %TEMP% and %APPDATA% folders of the user executing the install
Posted by: anonymous_9363 12 years ago
Red Belt
0
Why complicate things? Extract the MSI and use that with the transform.
Posted by: Teitan 12 years ago
Senior Purple Belt
0
As abhishek has started a thread yesterday where he needs a solution on a msg box popping up while uninstalling the msi i think his question in this
thread is also regarding the uninstallation and not the installation.

Perhaps we should stay in one thread when it's about the "same" problem...
Posted by: Arminius 12 years ago
Second Degree Green Belt
0
VBScab (as usual) has a really good idea; it looks like, however, abhiskek wants to do this without a transform. Without editing the MSI, there's not much of a way unless you can find an existing condition that results in the custom action being called, and then pass the parameter to not meet that condition.
Posted by: anonymous_9363 12 years ago
Red Belt
0
I'll have no truck with folks who won't do things the right way. Why on God's green earth would there be a need to avoid using a transform? If it's a client directive, then the client needs educating, part of the packager's job, of course.
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