I wanted to make an upgrade package. my code is given below.
i still get the message when running the msi "another version of this
product is already installed" with an OK button.

<Product Id="FAF9B0E3-2F1B-4806-94DA-09FC29497384" Name="ProductName"
Language="1033"
Version="1.0.0" Manufacturer="MyMAnufacturerNAme"
UpgradeCode="9E3B8443-CD31-483d-9EE3-E8FBD9209447">
<Package Description="PackagDesc" Comments="SrvcPackage"
Manufacturer="abcd" InstallerVersion="200" Compressed="yes"/>


<Media Id="1" Cabinet="file.cab" EmbedCab="yes"></Media>
<Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" />
<Property Id="NEWERPRODUCTFOUND" Secure="yes" />
<Upgrade Id="9E3B8443-CD31-483d-9EE3-E8FBD9209447">
<UpgradeVersion Maximum="1.0.0" Property="PREVIOUSVERSIONSINSTALLED" />
<UpgradeVersion Minimum="1.0.0" Property="NEWERPRODUCTFOUND"
OnlyDetect="yes" IncludeMinimum="yes" />
</Upgrade>
<Directory Id="TARGETDIR" Name="SourceDir">
....

</Directory>
 <Feature>
....
</Feature>
<InstallExecuteSequence>
<RemoveExistingProducts After="InstallExecute" />
<InstallExecute After="PublishProduct" />
</InstallExecuteSequence>
</Product>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to