Have you incremented the file versions of those Dlls and exes? 

Phil Wilson 

-----Original Message-----
From: Preethi S. [mailto:preet...@amiindia.co.in] 
Sent: Tuesday, April 26, 2011 7:10 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Issues in patch installation

Hi,

Using PCP I can able to create the patch by giving 2 MSIs.

The changes in the text file and adding new files are reflected after
applying patch.

But the modifications in .exe and .dll files are not reflected.

Is there anything need to be specified in patch script? 

My patch script:

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <!-- Include wxi files -->
  <?include $(sys.CURRENTDIR)includes.wxi ?>
  <PatchCreation
      Id="{7B977D96-4062-485c-879A-46A1908B244A}"
      CleanWorkingFolder="yes"
      OutputPath="patch.pcp"
      WholeFilesOnly="yes" >

    <PatchInformation
        Description="$(var.PatchDesc)"
        Comments="$(var.PatchDisplayName)"
        ShortNames="no"
        Languages="1033"
        Compressed="yes"
        Manufacturer="$(var.Manufacturer)"/>

    <PatchMetadata
        AllowRemoval="yes"
        Description="$(var.PatchDesc)"
        ManufacturerName="$(var.Manufacturer)"
        TargetProductName="$(var.ProductName)"
        MoreInfoURL="$(var.OEMUrl)"
        Classification="Update"
        DisplayName="$(var.PatchDisplayName)"/>

    <Family DiskId="5000"
        MediaSrcProp="$(var.OEMProductLine)"
        Name="$(var.OEMProductLine)"
        SequenceStart="5000">
      <UpgradeImage SourceFile="$(var.UpgradeImageFile)"
                    Id="UpgradeImage">
        <TargetImage SourceFile="$(var.TargetImageFile)" 
                     Order="2" 
                     Id="TargetImage" 
                     IgnoreMissingFiles="no" />
      </UpgradeImage>
    </Family>

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

  </PatchCreation>
</Wix>

Commands:
msiexec.exe -a <target-msi> /qb TARGETDIR=<path> msiexec.exe -a
<updated-msi> /qb TARGETDIR=<path>

candle.exe -dUpgradeImageFile=<extracted updated msi>
-dTargetImageFile=<extracted target msi> Patch.wxs light.exe
patch.wixobj -out patch\patch.pcp

MsiMsp.Exe -s patch\patch.pcp -p patch\patch.msp -l patch.log

Thank You,
Preethi.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to