You need to add a TargetImage Element for the 1.0.1.1 package to your
UpgradeImage Element as you have done for the 1.0.0.1 package

Without that the 1.0.2.1 patch knows nothing of the existence of the
1.0.1.1 package.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: KATO Kanryu [mailto:k.kan...@gmail.com] 
Sent: 23 July 2010 12:01
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem with updating 1.0.1.1 to 1.0.2.1

hi,

I have made a product and two patches,

msi 1.0.0.1
msp(A) 1.0.1.1 (between 1.0.0.1 and 1.0.1.1)
msp(B) 1.0.2.1 (between 1.0.0.1 and 1.0.2.1)

I can update to 1.0.2.1 with (B) from 1.0.0.1, but can't update with (A)
from 1.0.1.1.

What I take attention for wxs?

<?define PatchVersion   = "1.2" ?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
   <PatchCreation
       Id="224C316D-5894-4771-BABF-21A3AC1F75FF"
       CleanWorkingFolder="yes"
       OutputPath="patch.pcp"
       WholeFilesOnly="yes"
       Codepage="932"
       >

       <PatchInformation
           Description="$(var.AppFullName) Updater $(var.PatchVersion)"
           Comments="$(var.AppFullName) Updater $(var.PatchVersion)"
           ShortNames="no"
           Languages="1041"
           Compressed="yes"
           Manufacturer="Our Company"/>

       <PatchMetadata
           AllowRemoval="yes"
           Description="$(var.AppFullName) Updater $(var.PatchVersion)"
           ManufacturerName="Our Company"
           TargetProductName="$(var.AppFullName)"
           MoreInfoURL="http://www.ours.co.jp";
           Classification="Update"
           DisplayName="$(var.AppFullName) Updater
$(var.PatchVersion)"/>

       <Family DiskId="5000"
           MediaSrcProp="Sample"
           Name="Sample"
           SequenceStart="5000">
           <UpgradeImage SourceFile="Maou11.msi" Id="SampleUpgrade">
               <TargetImage SourceFile="Maou.msi" Order="2"
                   Id="SampleTarget" IgnoreMissingFiles="no" />
           </UpgradeImage>
       </Family>

       <PatchSequence PatchFamily="SamplePatchFamily"
           Sequence="1.0.0.0"
           Supersede="yes"
            />

   </PatchCreation>
</Wix>


  <Product Id="184848AE-687E-4E63-9FBB-E41616F8608E"
Name="$(var.AppFullName)" Language="1041" Codepage="932"
Version="$(var.ProductVersion)" Manufacturer="MyCompany"
UpgradeCode="E66227D3-C778-4817-9AB7-E949A7518674">

...

    <!-- Upgrade Information -->
    <Upgrade Id="$(var.UpgradeCode)">
      <UpgradeVersion Minimum="0.0.0"
                      Maximum="$(var.ProductVersion)"
                      IncludeMinimum="yes"
                      Language="1033"
                      Property="OLDUPGRADE" />
      <UpgradeVersion Minimum="$(var.ProductVersion)"
                      OnlyDetect="yes"
                      Language="1033"
                      Property="DETECTNEW" />
    </Upgrade>
  </Product>

------------------------------------------------------------------------
------
This SF.net email is sponsored by Sprint What will you do first with
EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to