How do I create a shortcut that uninstalls my .MSI based application and include it in my installation?
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
- Guidelines state (if I'm not mistaken) that you should not include a shortcut to remove the installation.

Nevertheless you could create a shortcut (not advertised) which has msiexec as a target. As arguments it should have:
/X [ProductCode]
And for a silent uninstall you could use:
/X [ProductCode] /QB-

For more information about msiexec parameters execute msiexec /?
Answered 09/19/2007 by: FrankSpierings
Orange Senior Belt

Please log in to comment
0
you could also look at authoring the upgrade table to automagically handle removal of other applications.

lookup these in the SDK

FindRelatedProducts
RemoveExistingProducts
Answered 09/20/2007 by: jmcfadyen
Fifth Degree Black Belt

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