I am trying to create a patch that includes the custom action dll.  The patch 
includes a new custom action that is specific to the patch.  The installation 
files are included in the patch as expected.  The binary, the added custom 
actions and the added property are missing.

The patch source looks like this:
    <Patch
        AllowRemoval="yes"
        Manufacturer="NetIQ"
        MoreInfoURL="http://www.netiq.com/";
        DisplayName="Hotfix 01"
        Description="Small Patch for Build 520"
        Classification="Update Rollup">

        <Media Id="2500" Cabinet="RTM.cab" >
            <PatchBaseline Id="RTM" />
        </Media>
        <PatchFamily Id='PatchFamily01' ProductCode='XXXX' Version='8.70.0.550' 
Supersede='yes'>
                <!-- Custom Action dll.  Always include latest -->
                <BinaryRef Id="MyActions"/>
                <!-- Properties and custom actions added for this patch -->
                <CustomActionRef Id="SetProperty_SomeCustomAction"/>
                <CustomActionRef Id="HF_SomeCustomAction"/>
                <PropertyRef Id="PATCH_NEW_PROPERTY"/>
            </PatchFamily>
   </Patch>

The patch creation steps are:

msiexec /a Released\DRAInstaller.msi /qb TARGETDIR=C:\patchout\Released
msiexec /a Updated\DRAInstaller.msi /qb TARGETDIR=C:\patchout\Updated

"%WIX%"\bin\torch -p -ax C:\patchout\temp C:\patchout\Released\DRAInstaller.msi 
C:\patchout\Updated\DRAInstaller.msi -xo -out C:\patchout\diff%HFNUMBER%.wixmst

"%WIX%"\bin\candle.exe WIX\Patches\HF%HFNUMBER%.wxs -out 
WIX\Patches\%HFNUMBER%.wixobj

"%WIX%"\bin\light.exe WIX\Patches\%HFNUMBER%.wixobj -out 
C:\patchout\%HFNUMBER%.wixmsp

"%WIX%"\bin\pyro.exe C:\patchout\%HFNUMBER%.wixmsp -out 
C:\patchout\%HFNUMBER%.msp -t RTM C:\patchout\diff%HFNUMBER%.wixmst


I read a post that discussed having the binary in the same fragment as the 
referenced custom action, but that also had no effect.

The internal version of the custom action dll changes between the two builds, 
but only in the 4th section.  I tried modifying another part of the version, 
but that also did mark the binary to be included in the patch.

Suggestions appreciated.
Sharon

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to