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

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
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
Answered 09/12/2011 by: pjgeutjens
Red Belt

Please log in to comment
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
Answered 09/12/2011 by: abhishek10abhi
Senior Yellow Belt

Please log in to comment
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
Answered 09/12/2011 by: pjgeutjens
Red Belt

Please log in to comment
0
Why complicate things? Extract the MSI and use that with the transform.
Answered 09/13/2011 by: VBScab
Red Belt

Please log in to comment
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...
Answered 09/13/2011 by: Teitan
Senior Purple Belt

Please log in to comment
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.
Answered 09/13/2011 by: Arminius
Second Degree Green Belt

Please log in to comment
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.
Answered 09/14/2011 by: VBScab
Red Belt

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