cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Disabling upgrades

Hi,

Can any one help me out in solving my problem i am left clueless .
I have a msi with me and i need to create mst for it and incorporate some client specific standards.

The msi oninstallation when we launch the shortcut a window appears asking for product upgrade.

now i need ot disable this upgrades installation option in mst as normal users should not install upgrades. Is there any property where i can disable it .
or any other way of disabling these upgrades through adminstudio.

please guide me if any one knows about it.
(1) Reply
You can add an Upgrade table entry that checks for any previous version--if a previous version is found use the corresponding property to enable a error custom action (CA19).

For example let's say my current version is 5.0.0. My upgrade table entry would look like:

UpgradeCode VersionMin VersionMax ... ... ActionProperty
{....GUID Value....} 5.0.0 FOUNDINSTALLEDPROD

Next, create a error custom action and use the FOUNDINSTALLEDPROD as a condition on the action.

Hopefully that gets you in the right direction...