Hi Anna,

I think you will need a PatchFamilyRef element inside your Patch element:

<PatchFamilyRef Id="testPatchFamily" />

Also, your Pyro command line must include: -t testPatch

I hope this information helps

Regards,

// Darren




From:   kryst...@poczta.fm
To:     wix-users@lists.sourceforge.net, 
Date:   21/03/2014 08:21 PM
Subject:        [WiX-users] pyro1079 warning problem



Hello,We are trying to create a Minor Upgrade for an installer which we 
created with the use of wix toolset 3.8. We used SharpDevelop to build the 
old and the new version of our installer. Both Product Id and Upgrade Code 
stay the same. For now there are only minor differences between the two 
installers, i.e. comments were changed in two files as well as the version 
of the installer. We used candle and light to create patch.wixmsp and then 
used torch and pyro to find the differences between the two versions of 
the installer. 

We expected the patch would cause the update of comments in the two files 
we changed but it does not happen. Instead, we only receive a pyro1079 
warning "the cabinet does not contain any files." The patch is created but 
it does not actually update the files we changed. It only recognizes that 
the version of the installer was changed. We use -p flag with pyro and we 
also tried adding ComponentRef to our patch.wxs but it has not helped. 

The installer is very extensive, consists of several .wxs files which in 
turn contain numerous files divided into many fragments. Each fragment 
contains many components. 

We heared there was a bug in version 3.6 causing such a problem but we use 
version 3.8, so we suppose that is not the issue? We would appreciate any 
advice. 

The patch currently look like the following:
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"&gt;

    &lt;Patch 
        AllowRemoval="yes"
        Classification="Update"
        Description="Small Update Test Patch" 
        DisplayName="Sample Patch" 
        Manufacturer="myCompany" 
        MoreInfoURL="www.myCompany.com"
        TargetProductName="myInstaller" 
        &gt;

        &lt;Media Id="5000" Cabinet="testPatch.cab"&gt;
            &lt;PatchBaseline Id="testPatch"/&gt;
        &lt;/Media&gt;
    &lt;/Patch&gt;
 
        &lt;PatchFamily Id="testPatchFamily" 
        Version="0.5.0.0" 
        ProductCode="0d2f0696-8166-401c-838a-8884e80da1ab"
        Supersede="yes"&gt;
 
        &lt;/PatchFamily&gt;
&lt;/Wix&gt;Regards,Anna
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to