That was the problem. Thanks.!

On Tue, Jan 20, 2009 at 5:14 PM, Ian Elliott (Excell Data Corporation) <
a-iae...@microsoft.com> wrote:

> Check your UpgradeCode and Upgrade ID= and make sure they are correct. The
> Upgrade ID= should be the UpgradeCode of the product you wish to upgrade.
> Often times the UpgradeCode in the new package is also set to the same
> value. It basically describes a family of products.
>
>
> -----Original Message-----
> From: Colin Fox [mailto:greenene...@gmail.com]
> Sent: Tuesday, January 20, 2009 5:06 PM
> To: wix-users
> Subject: [WiX-users] Problem during upgrade
>
> Ok, I have two products being installed, each with their own .msi package.
>
> Each product is versioned, and is updated via a major update, which means
> removal of old and install of new.
>
> I got this working perfectly on one of my projects, and copied the xml
> elements to my other .wxs file.
>
> Unfortunately, in the second case it does not work. When I test, say, v
> 1.0.2 and then upgrade to 1.0.3, BOTH are installed. No "upgrade" happens,
> they just get installed in the same place.
>
> Worse, if I install 1.0.3 and then try to install 1.0.2, that works as
> well.
>
> In the first wxs I worked on, I got it so that upgrading from an old
> version
> to a new version removed the old version, and trying to downgrade would
> give
> you an error.
>
> I copied the xml chunks to the new .msi file, but they don't work.
>
> I'm trying to go through the log file from msiexec, but there is a ton of
> stuff here and I don't know what to even look for.
>
> The relevant parts are:
>
>
>    <Product Id="*"
>    Name="My Other Package"
>    Language="1033"
>    Version="$(var.Version)"
>    UpgradeCode="BCC1E0A5-5BB3-42d4-A468-BA3FED552A65"
>    Manufacturer="My Software Corp.">
>
>    <Package   InstallerVersion="200" Compressed="yes" />
>
>    <Upgrade Id="358F169A-F1E8-46a2-A556-9C37FC712F2B">
>        <UpgradeVersion OnlyDetect="no" Property="PATCHFOUND"
> Minimum="1.0.0" IncludeMinimum="yes" Maximum="$(var.Version)"
>         IncludeMaximum="no"/>
>        <UpgradeVersion OnlyDetect="yes" Property="NEWERFOUND"
> Minimum="$(var.Version)" IncludeMinimum="yes"/>
>    </Upgrade>
>
>    <CustomAction Id="AlreadyUpdated" Error="[ProductName] is already
> installed."/>
>    <CustomAction Id="NoDowngrade" Error="A later version of [ProductName]
> is already installed."/>
>
>   <....>
>
>    <InstallExecuteSequence>
>        <Custom Action="NoDowngrade"
> After="FindRelatedProducts">NEWERFOUND</Custom>
>        <RemoveExistingProducts After="InstallFinalize"/>
>    </InstallExecuteSequence>
>
>
> Am I doing something obviously wrong? Or is there something I can look for
> in the log file to help point me in the right direction?
>
> --
> Regards,
>  cf
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
Regards,
 cf
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to