Re: [WiX-users] Problem with updating 1.0.1.1 to 1.0.2.1

2010-07-26 Thread KATO Kanryu
Thanks!

I consult the Q/A.(also Yours)
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Updating-multiple-versions-of-a-product-td1384674.html

I successed to make 1.2 patch from 1.0 or 1.1

Here is.

!-- must change guid from 1.1 --
PatchCreation
Id=77F7EDF0-9B4D-428E-96AD-7D082F85967F
CleanWorkingFolder=yes
OutputPath=patch.pcp
WholeFilesOnly=yes
Codepage=932
AllowMajorVersionMismatches=yes


Family DiskId=5000
MediaSrcProp=Sample
Name=Sample
SequenceStart=5000
!-- version 1.2 --
UpgradeImage SourceFile=Maou11\bin\Release\Maou11.msi
Id=SampleUpgrade
!-- version 1.0 --
TargetImage SourceFile=Maou\bin\Release\Maou.msi Order=2
Id=SampleTarget IgnoreMissingFiles=no Validation =
0x08A2 /
!-- version 1.1 --
TargetImage SourceFile=Maou11\bin\Release11\Maou11.msi Order=2
Id=Target11 IgnoreMissingFiles=no Validation =
0x08A2 /
/UpgradeImage
/Family

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with updating 1.0.1.1 to 1.0.2.1

2010-07-23 Thread Pally Sandher
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