Hi All,

I am trying to create a patch (minor upgrade) to my WIX project which is 
expected to do three things:

1.       Change the version number of my product (1.2.6.0 => 1.2.7.0)

2.       Replace an managed exe where just the version number has changed 
(1.2.6.0 => 1.2.7.0)

3.       Replace a simple text file which simply contains the updated version 
number.

My patch definition file looks as follows:

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <Patch AllowRemoval="yes"
         Classification="Update"
         Comments="Patch"
         Description="Patch"
         DisplayName="Patch"
         Manufacturer="..."
         MoreInfoURL="http://...";
         TargetProductName="Szenario Rechner"
         Codepage="1252">
    <Media Id="1000" Cabinet="Patch.cab" EmbedCab="yes" Source="Cab1" >
      <PatchBaseline Id="RTM" />
    </Media>
    <PatchFamily Id='pf1' Version='1.2.7.0' Supersede='yes'>
      <ComponentRef Id="Szenariorechner" />
    </PatchFamily>
  </Patch>
</Wix>

First, I tried the official WIX 3.6 Beta but always got warnings about an empty 
.cab file and the patch file size was just 20 kb.
After switching to WIX 3.5 the patch creation process was without warnings or 
errors and I  got a 480 kb patch file.

However, when applying the patch file, which works without problems, only the 
managed exe file was replaced. The version number is still 1.2.6.0 and the text 
file still shows the old content (1.2.6).

Can please anybody give me an advice what I am doing wrong. I've already 
checked every line in the tutorial and in the WIX book and I have googled for 
any related problem, without success!

Thanks in advance, Ulrich
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to