Discussion:
[WiX-users] Unable to force upgrade
Ryan O'Neill
2008-03-04 15:26:48 UTC
Permalink
In my attempts to force an application to uninstall completely before being
reinstalled (major upgrade) I have followed the instructions here
(http://www.tramontana.co.hu/wix/lesson4.php) and I keep getting 'another
version of this product is already installed'. I've kind of inherited this
installer so I am still learning about what it does, is it possible that the
upgrade is being stopped by a custom action or is the fault in the code
below?



I've also checked
http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-
major-upgrade.aspx but can't see what I am missing.



Any help would be much appreciated.



<?define FirstProductVersion="0.8.0" ?>

<?define ProductVersion="0.9.0" ?>



<Product Id="{D6B41223-1108-4EC5-8BB3-9B12B245753C}" Language="1033"
Manufacturer="zz" Name="zz"
UpgradeCode="{E4EC9E2F-43E1-42AD-85F4-A425C9EF2AAE}"
Version="$(var.ProductVersion)">

<Package Comments="zz" Compressed="yes" Description="ViaPost"
InstallerVersion="300" Languages="1033" Manufacturer="zz" Platform="intel"
Id="*" />



<Upgrade Id="{E4EC9E2F-43E1-42AD-85F4-A425C9EF2AAE}">

<UpgradeVersion Minimum="$(var.FirstProductVersion)"
IncludeMinimum="yes" Maximum="$(var.ProductVersion)" IncludeMaximum="no"
OnlyDetect="no" Language="1033" Property="UPGRADEFOUND" />

<UpgradeVersion Minimum="$(var.ProductVersion)" IncludeMinimum="no"
OnlyDetect="yes" Language="1033" Property="NEWPRODUCTFOUND" />

</Upgrade>





Regards



Ryan
Alexander Shevchuk
2008-03-04 18:07:14 UTC
Permalink
Ryan,

You did not show all the relevant to major upgrade code:

- Did you change the Product/@Id, Package/@Id, and Product/@Version?

- Do you have Product/@Language listed in or equal to Package/@Languages?

- Do you schedule a RemoveExistingProducts action in the InstallExecutesequence?

- Do you use custom action to prevent downgrading?

Regard,
Alex



From: wix-users-***@lists.sourceforge.net [mailto:wix-users-***@lists.sourceforge.net] On Behalf Of Ryan O'Neill
Sent: Tuesday, March 04, 2008 7:27 AM
To: wix-***@lists.sourceforge.net
Subject: [WiX-users] Unable to force upgrade

In my attempts to force an application to uninstall completely before being reinstalled (major upgrade) I have followed the instructions here (http://www.tramontana.co.hu/wix/lesson4.php) and I keep getting 'another version of this product is already installed'. I've kind of inherited this installer so I am still learning about what it does, is it possible that the upgrade is being stopped by a custom action or is the fault in the code below?

I've also checked http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-major-upgrade.aspx but can't see what I am missing.

Any help would be much appreciated.

<?define FirstProductVersion="0.8.0" ?>
<?define ProductVersion="0.9.0" ?>

<Product Id="{D6B41223-1108-4EC5-8BB3-9B12B245753C}" Language="1033" Manufacturer="zz" Name="zz" UpgradeCode="{E4EC9E2F-43E1-42AD-85F4-A425C9EF2AAE}" Version="$(var.ProductVersion)">
<Package Comments="zz" Compressed="yes" Description="ViaPost" InstallerVersion="300" Languages="1033" Manufacturer="zz" Platform="intel" Id="*" />

<Upgrade Id="{E4EC9E2F-43E1-42AD-85F4-A425C9EF2AAE}">
<UpgradeVersion Minimum="$(var.FirstProductVersion)" IncludeMinimum="yes" Maximum="$(var.ProductVersion)" IncludeMaximum="no" OnlyDetect="no" Language="1033" Property="UPGRADEFOUND" />
<UpgradeVersion Minimum="$(var.ProductVersion)" IncludeMinimum="no" OnlyDetect="yes" Language="1033" Property="NEWPRODUCTFOUND" />
</Upgrade>


Regards

Ryan
Ryan O'Neill
2008-03-04 19:50:11 UTC
Permalink
Still new to this, thanks for pointing that out.

I did not change the ProductId or the Package version. The package id is
autogenerated, so yes that changed.

Product language and package language are set the same.

Yes, RemoveExistingProducts is scheduled after InstallFinalize

Yes, there is a custom action to prevent downgrading.





Ahhhhhhhhh, just found something. I have two 'Upgrade' sections. I'll look
into this now, thanks for helping me find it!



From: wix-users-***@lists.sourceforge.net
[mailto:wix-users-***@lists.sourceforge.net] On Behalf Of Alexander
Shevchuk
Sent: 04 March 2008 18:07
To: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] Unable to force upgrade



Ryan,



You did not show all the relevant to major upgrade code:

- Did you change the Product/@Id, Package/@Id, and
Product/@Version?

- Do you have Product/@Language listed in or equal to
Package/@Languages?

- Do you schedule a RemoveExistingProducts action in the
InstallExecutesequence?

- Do you use custom action to prevent downgrading?



Regard,

Alex







From: wix-users-***@lists.sourceforge.net
[mailto:wix-users-***@lists.sourceforge.net] On Behalf Of Ryan O'Neill
Sent: Tuesday, March 04, 2008 7:27 AM
To: wix-***@lists.sourceforge.net
Subject: [WiX-users] Unable to force upgrade



In my attempts to force an application to uninstall completely before being
reinstalled (major upgrade) I have followed the instructions here
(http://www.tramontana.co.hu/wix/lesson4.php) and I keep getting 'another
version of this product is already installed'. I've kind of inherited this
installer so I am still learning about what it does, is it possible that the
upgrade is being stopped by a custom action or is the fault in the code
below?



I've also checked
http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-
major-upgrade.aspx but can't see what I am missing.



Any help would be much appreciated.



<?define FirstProductVersion="0.8.0" ?>

<?define ProductVersion="0.9.0" ?>



<Product Id="{D6B41223-1108-4EC5-8BB3-9B12B245753C}" Language="1033"
Manufacturer="zz" Name="zz"
UpgradeCode="{E4EC9E2F-43E1-42AD-85F4-A425C9EF2AAE}"
Version="$(var.ProductVersion)">

<Package Comments="zz" Compressed="yes" Description="ViaPost"
InstallerVersion="300" Languages="1033" Manufacturer="zz" Platform="intel"
Id="*" />



<Upgrade Id="{E4EC9E2F-43E1-42AD-85F4-A425C9EF2AAE}">

<UpgradeVersion Minimum="$(var.FirstProductVersion)"
IncludeMinimum="yes" Maximum="$(var.ProductVersion)" IncludeMaximum="no"
OnlyDetect="no" Language="1033" Property="UPGRADEFOUND" />

<UpgradeVersion Minimum="$(var.ProductVersion)" IncludeMinimum="no"
OnlyDetect="yes" Language="1033" Property="NEWPRODUCTFOUND" />

</Upgrade>





Regards



Ryan
Bob Arnson
2008-03-05 05:07:05 UTC
Permalink
Post by Ryan O'Neill
Yes, RemoveExistingProducts is scheduled after InstallFinalize
It's easier to start by scheduling RemoveExistingProducts after
InstallInitialize so you get a full uninstall first. Then you can
optimize once it's working.
--
sig://boB
http://joyofsetup.com/
si
2008-03-05 07:43:40 UTC
Permalink
Hi Ryan,
Post by Ryan O'Neill
I did not change the ProductId
I think you need to change this, otherwise the 'another version of
this product is already installed' error will be generated unless you
run the msiexec with the parameters required for minor upgrades - as
shown in the tutorial you linked to.

In WiX 3, if you always do major upgrades, you can set this value to
"*" to auto-generate the product id as per the package id.
--
It's a wild world that we live in, you step to the vibe like a new
found religion, take your position, compile your vision, futurism,
algorithm has risen up! pfm - the western
Ryan O'Neill
2008-03-05 11:02:42 UTC
Permalink
Really? Thanks for that, I thought that the product ID always had to be
fixed so the MSI could find previous versions. How does the installer find a
previous version if I change the Product ID?

What I am trying to do is just force a major upgrade every time.

Ryan

-----Original Message-----
From: si [mailto:***@gmail.com]
Sent: 05 March 2008 07:44
To: Ryan O'Neill
Cc: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] Unable to force upgrade

Hi Ryan,
Post by Ryan O'Neill
I did not change the ProductId
I think you need to change this, otherwise the 'another version of
this product is already installed' error will be generated unless you
run the msiexec with the parameters required for minor upgrades - as
shown in the tutorial you linked to.

In WiX 3, if you always do major upgrades, you can set this value to
"*" to auto-generate the product id as per the package id.
--
It's a wild world that we live in, you step to the vibe like a new
found religion, take your position, compile your vision, futurism,
algorithm has risen up! pfm - the western
Alexander Shevchuk
2008-03-05 17:35:08 UTC
Permalink
Hi Ryan,

From: http://msdn2.microsoft.com/en-us/library/aa369786(VS.85).aspx:
"A major upgrade is a comprehensive update of a product that needs a change of the ProductCode Property."

From: http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-major-upgrade.aspx:
"Change ProductCode, PackageCode, and ProductVersion properties."

From: http://blogs.technet.com/alexshev/archive/2008/01/25/from-msi-to-wix-part-1.aspx:
"This is how properties correspond to attributes of the <Product> element:

******ProductCode - Id. *******
ProductVersion - Version.
ProductLanguage - Language.
ProductName - Name.
Manufacturer - Manufacturer.
UpgradeCode - UpgradeCode."

The last blog also shows how MSI properties match to Wix elements/attributes.

To find the previous version of the same product Installer is using Product/@UpgradeCode (or UpgradeCode property in "raw" MSI). UpgradeCode *must* stay the same for all versions of the same product.

Thanks,
Alex


-----Original Message-----
From: wix-users-***@lists.sourceforge.net [mailto:wix-users-***@lists.sourceforge.net] On Behalf Of Ryan O'Neill
Sent: Wednesday, March 05, 2008 3:03 AM
To: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] Unable to force upgrade

Really? Thanks for that, I thought that the product ID always had to be
fixed so the MSI could find previous versions. How does the installer find a
previous version if I change the Product ID?

What I am trying to do is just force a major upgrade every time.

Ryan

-----Original Message-----
From: si [mailto:***@gmail.com]
Sent: 05 March 2008 07:44
To: Ryan O'Neill
Cc: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] Unable to force upgrade

Hi Ryan,
Post by Ryan O'Neill
I did not change the ProductId
I think you need to change this, otherwise the 'another version of
this product is already installed' error will be generated unless you
run the msiexec with the parameters required for minor upgrades - as
shown in the tutorial you linked to.

In WiX 3, if you always do major upgrades, you can set this value to
"*" to auto-generate the product id as per the package id.
--
It's a wild world that we live in, you step to the vibe like a new
found religion, take your position, compile your vision, futurism,
algorithm has risen up! pfm - the western


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Ryan O'Neill
2008-03-04 19:56:36 UTC
Permalink
Guess that wasn't it. I'll start with a small version tomorrow and see if I
can get it working on a tiny project first. As a beginners guess it might be
something to do with the uninstallation UI that has been authored.



Thanks



From: wix-users-***@lists.sourceforge.net
[mailto:wix-users-***@lists.sourceforge.net] On Behalf Of Alexander
Shevchuk
Sent: 04 March 2008 18:07
To: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] Unable to force upgrade



Ryan,



You did not show all the relevant to major upgrade code:

- Did you change the Product/@Id, Package/@Id, and
Product/@Version?

- Do you have Product/@Language listed in or equal to
Package/@Languages?

- Do you schedule a RemoveExistingProducts action in the
InstallExecutesequence?

- Do you use custom action to prevent downgrading?



Regard,

Alex







From: wix-users-***@lists.sourceforge.net
[mailto:wix-users-***@lists.sourceforge.net] On Behalf Of Ryan O'Neill
Sent: Tuesday, March 04, 2008 7:27 AM
To: wix-***@lists.sourceforge.net
Subject: [WiX-users] Unable to force upgrade



In my attempts to force an application to uninstall completely before being
reinstalled (major upgrade) I have followed the instructions here
(http://www.tramontana.co.hu/wix/lesson4.php) and I keep getting 'another
version of this product is already installed'. I've kind of inherited this
installer so I am still learning about what it does, is it possible that the
upgrade is being stopped by a custom action or is the fault in the code
below?



I've also checked
http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-
major-upgrade.aspx but can't see what I am missing.



Any help would be much appreciated.



<?define FirstProductVersion="0.8.0" ?>

<?define ProductVersion="0.9.0" ?>



<Product Id="{D6B41223-1108-4EC5-8BB3-9B12B245753C}" Language="1033"
Manufacturer="zz" Name="zz"
UpgradeCode="{E4EC9E2F-43E1-42AD-85F4-A425C9EF2AAE}"
Version="$(var.ProductVersion)">

<Package Comments="zz" Compressed="yes" Description="ViaPost"
InstallerVersion="300" Languages="1033" Manufacturer="zz" Platform="intel"
Id="*" />



<Upgrade Id="{E4EC9E2F-43E1-42AD-85F4-A425C9EF2AAE}">

<UpgradeVersion Minimum="$(var.FirstProductVersion)"
IncludeMinimum="yes" Maximum="$(var.ProductVersion)" IncludeMaximum="no"
OnlyDetect="no" Language="1033" Property="UPGRADEFOUND" />

<UpgradeVersion Minimum="$(var.ProductVersion)" IncludeMinimum="no"
OnlyDetect="yes" Language="1033" Property="NEWPRODUCTFOUND" />

</Upgrade>





Regards



Ryan
Neil Sleightholm
2008-03-06 13:20:32 UTC
Permalink
Ryan



I thought this might help you, it is my bare minimum template install.



Neil



<?xml version="1.0" encoding="UTF-8"?>

<!--

Simple WiX template - This example installs a file in to
a directory.

-->



<!-- This is application version number, update for each release -->

<?define Version = "1.0.1" ?>



<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">

<Product Id="????????-????-????-????-????????????" Name="Simple WiX
template $(var.Version)" Language="1033" Version="$(var.Version)"
Manufacturer="ACME" UpgradeCode="10B99CC9-5D83-4489-82F3-368E772B803D">

<Package Id="????????-????-????-????-????????????"
Description="Simple WiX template Installation" InstallerVersion="200"
Compressed="yes" />



<!-- Support Information shown in Add/Remove programs (this is
optional) -->

<Property Id="ARPCOMMENTS"><![CDATA[Simple WiX
template]]></Property>

<Property Id="ARPCONTACT"><![CDATA[WiX]]></Property>



<CustomAction Id="NewerVersion" Error="A later version of
[ProductName] is already installed." />



<Directory Id="TARGETDIR" Name="SourceDir">

<Directory Id="INSTALLDIR" />

</Directory>



<Feature Id="DefaultFeature" Level="1"
ConfigurableDirectory="TARGETDIR">

<ComponentRef Id="Test.dll" />

</Feature>



<Upgrade Id="10B99CC9-5D83-4489-82F3-368E772B803D">

<UpgradeVersion Minimum="$(var.Version)" OnlyDetect="yes"
Property="NEWERVERSIONDETECTED" />

<UpgradeVersion Minimum="0.0.0" Maximum="$(var.Version)"
IncludeMinimum="yes" IncludeMaximum="no"
Property="OLDERVERSIONBEINGUPGRADED" />

<Property Id="OLDERVERSIONBEINGUPGRADED" Secure="yes" />

</Upgrade>



<Media Id="1" Cabinet="contents.cab" EmbedCab="yes" />



<UIRef Id="WixUI_ErrorProgressText" />



<InstallExecuteSequence>

<Custom Action="DIRCA_INSTALLDIR"
Before="CostInitialize"><![CDATA[INSTALLDIR=""]]></Custom>

<Custom Action="NewerVersion"
After="FindRelatedProducts">NEWERVERSIONDETECTED</Custom>

<RemoveExistingProducts After="InstallFinalize" />

</InstallExecuteSequence>



</Product>

</Wix>







From: wix-users-***@lists.sourceforge.net
[mailto:wix-users-***@lists.sourceforge.net] On Behalf Of Ryan
O'Neill
Sent: 04 March 2008 19:57
To: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] Unable to force upgrade



Guess that wasn't it. I'll start with a small version tomorrow and see
if I can get it working on a tiny project first. As a beginners guess it
might be something to do with the uninstallation UI that has been
authored.



Thanks



From: wix-users-***@lists.sourceforge.net
[mailto:wix-users-***@lists.sourceforge.net] On Behalf Of Alexander
Shevchuk
Sent: 04 March 2008 18:07
To: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] Unable to force upgrade



Ryan,



You did not show all the relevant to major upgrade code:

- Did you change the Product/@Id, Package/@Id, and
Product/@Version?

- Do you have Product/@Language listed in or equal to
Package/@Languages?

- Do you schedule a RemoveExistingProducts action in the
InstallExecutesequence?

- Do you use custom action to prevent downgrading?



Regard,

Alex







From: wix-users-***@lists.sourceforge.net
[mailto:wix-users-***@lists.sourceforge.net] On Behalf Of Ryan
O'Neill
Sent: Tuesday, March 04, 2008 7:27 AM
To: wix-***@lists.sourceforge.net
Subject: [WiX-users] Unable to force upgrade



In my attempts to force an application to uninstall completely before
being reinstalled (major upgrade) I have followed the instructions here
(http://www.tramontana.co.hu/wix/lesson4.php) and I keep getting
'another version of this product is already installed'. I've kind of
inherited this installer so I am still learning about what it does, is
it possible that the upgrade is being stopped by a custom action or is
the fault in the code below?



I've also checked
http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-par
t-8-major-upgrade.aspx but can't see what I am missing.



Any help would be much appreciated.



<?define FirstProductVersion="0.8.0" ?>

<?define ProductVersion="0.9.0" ?>



<Product Id="{D6B41223-1108-4EC5-8BB3-9B12B245753C}" Language="1033"
Manufacturer="zz" Name="zz"
UpgradeCode="{E4EC9E2F-43E1-42AD-85F4-A425C9EF2AAE}"
Version="$(var.ProductVersion)">

<Package Comments="zz" Compressed="yes" Description="ViaPost"
InstallerVersion="300" Languages="1033" Manufacturer="zz"
Platform="intel" Id="*" />



<Upgrade Id="{E4EC9E2F-43E1-42AD-85F4-A425C9EF2AAE}">

<UpgradeVersion Minimum="$(var.FirstProductVersion)"
IncludeMinimum="yes" Maximum="$(var.ProductVersion)" IncludeMaximum="no"
OnlyDetect="no" Language="1033" Property="UPGRADEFOUND" />

<UpgradeVersion Minimum="$(var.ProductVersion)"
IncludeMinimum="no" OnlyDetect="yes" Language="1033"
Property="NEWPRODUCTFOUND" />

</Upgrade>





Regards



Ryan
Ryan O'Neill
2008-03-07 13:50:21 UTC
Permalink
Thank you to everyone who helped, I got it working in the end. It just took
a while to sink in.



From: Neil Sleightholm [mailto:***@x2systems.com]
Sent: 06 March 2008 13:21
To: Ryan O'Neill; wix-***@lists.sourceforge.net
Subject: RE: [WiX-users] Unable to force upgrade



Ryan



I thought this might help you, it is my bare minimum template install.



Neil



<?xml version="1.0" encoding="UTF-8"?>

<!--

Simple WiX template - This example installs a file in to a
directory.

-->



<!-- This is application version number, update for each release -->

<?define Version = "1.0.1" ?>



<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">

<Product Id="????????-????-????-????-????????????" Name="Simple WiX
template $(var.Version)" Language="1033" Version="$(var.Version)"
Manufacturer="ACME" UpgradeCode="10B99CC9-5D83-4489-82F3-368E772B803D">

<Package Id="????????-????-????-????-????????????" Description="Simple
WiX template Installation" InstallerVersion="200" Compressed="yes" />



<!-- Support Information shown in Add/Remove programs (this is optional)
-->

<Property Id="ARPCOMMENTS"><![CDATA[Simple WiX template]]></Property>

<Property Id="ARPCONTACT"><![CDATA[WiX]]></Property>



<CustomAction Id="NewerVersion" Error="A later version of [ProductName]
is already installed." />



<Directory Id="TARGETDIR" Name="SourceDir">

<Directory Id="INSTALLDIR" />

</Directory>



<Feature Id="DefaultFeature" Level="1"
ConfigurableDirectory="TARGETDIR">

<ComponentRef Id="Test.dll" />

</Feature>



<Upgrade Id="10B99CC9-5D83-4489-82F3-368E772B803D">

<UpgradeVersion Minimum="$(var.Version)" OnlyDetect="yes"
Property="NEWERVERSIONDETECTED" />

<UpgradeVersion Minimum="0.0.0" Maximum="$(var.Version)"
IncludeMinimum="yes" IncludeMaximum="no"
Property="OLDERVERSIONBEINGUPGRADED" />

<Property Id="OLDERVERSIONBEINGUPGRADED" Secure="yes" />

</Upgrade>



<Media Id="1" Cabinet="contents.cab" EmbedCab="yes" />



<UIRef Id="WixUI_ErrorProgressText" />



<InstallExecuteSequence>

<Custom Action="DIRCA_INSTALLDIR"
Before="CostInitialize"><![CDATA[INSTALLDIR=""]]></Custom>

<Custom Action="NewerVersion"
After="FindRelatedProducts">NEWERVERSIONDETECTED</Custom>

<RemoveExistingProducts After="InstallFinalize" />

</InstallExecuteSequence>



</Product>

</Wix>







From: wix-users-***@lists.sourceforge.net
[mailto:wix-users-***@lists.sourceforge.net] On Behalf Of Ryan O'Neill
Sent: 04 March 2008 19:57
To: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] Unable to force upgrade



Guess that wasn't it. I'll start with a small version tomorrow and see if I
can get it working on a tiny project first. As a beginners guess it might be
something to do with the uninstallation UI that has been authored.



Thanks



From: wix-users-***@lists.sourceforge.net
[mailto:wix-users-***@lists.sourceforge.net] On Behalf Of Alexander
Shevchuk
Sent: 04 March 2008 18:07
To: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] Unable to force upgrade



Ryan,



You did not show all the relevant to major upgrade code:

- Did you change the Product/@Id, Package/@Id, and
Product/@Version?

- Do you have Product/@Language listed in or equal to
Package/@Languages?

- Do you schedule a RemoveExistingProducts action in the
InstallExecutesequence?

- Do you use custom action to prevent downgrading?



Regard,

Alex







From: wix-users-***@lists.sourceforge.net
[mailto:wix-users-***@lists.sourceforge.net] On Behalf Of Ryan O'Neill
Sent: Tuesday, March 04, 2008 7:27 AM
To: wix-***@lists.sourceforge.net
Subject: [WiX-users] Unable to force upgrade



In my attempts to force an application to uninstall completely before being
reinstalled (major upgrade) I have followed the instructions here
(http://www.tramontana.co.hu/wix/lesson4.php) and I keep getting 'another
version of this product is already installed'. I've kind of inherited this
installer so I am still learning about what it does, is it possible that the
upgrade is being stopped by a custom action or is the fault in the code
below?



I've also checked
http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-
major-upgrade.aspx but can't see what I am missing.



Any help would be much appreciated.



<?define FirstProductVersion="0.8.0" ?>

<?define ProductVersion="0.9.0" ?>



<Product Id="{D6B41223-1108-4EC5-8BB3-9B12B245753C}" Language="1033"
Manufacturer="zz" Name="zz"
UpgradeCode="{E4EC9E2F-43E1-42AD-85F4-A425C9EF2AAE}"
Version="$(var.ProductVersion)">

<Package Comments="zz" Compressed="yes" Description="ViaPost"
InstallerVersion="300" Languages="1033" Manufacturer="zz" Platform="intel"
Id="*" />



<Upgrade Id="{E4EC9E2F-43E1-42AD-85F4-A425C9EF2AAE}">

<UpgradeVersion Minimum="$(var.FirstProductVersion)"
IncludeMinimum="yes" Maximum="$(var.ProductVersion)" IncludeMaximum="no"
OnlyDetect="no" Language="1033" Property="UPGRADEFOUND" />

<UpgradeVersion Minimum="$(var.ProductVersion)" IncludeMinimum="no"
OnlyDetect="yes" Language="1033" Property="NEWPRODUCTFOUND" />

</Upgrade>





Regards



Ryan

Continue reading on narkive:
Loading...