Hi there,

i've finally managed to create a UAC patch from 1.0 to 1.1. This is what i 
do:

* admininstall
msiexec /a old\setuptarget.msi /quiet TARGETDIR=\patch\oldout
msiexec /a latest\setupupdate.msi /quiet TARGETDIR=\patch\latestout

* create diff file
torch -ax \oldout -p -xo \oldout\setuptarget.msi 
\latestout\setupupdate.msi -out patch\diff.wixmst

* create patch wixmsp
candle.exe patch.wxs
light.exe patch.wixobj -out patch\patch.wixmsp 

* create patch
pyro.exe patch\patch.wixmsp -out patch\patch.msp -t RTM patch\diff.wixmst 

And then i sign the patch. This seems to work fine.

My patch.wxs, that i'm testing with, looks like this:

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
    <Patch 
        AllowRemoval="yes"
        Manufacturer="Organization" 
        DisplayName="Patch name"
        Description="Patch description"
        Comments="Patch comment"
        Classification="Update"
        Codepage="1251"
        >
        <Media Id="5000" Cabinet="ProductP.cab">
            <PatchBaseline Id="RTM">
                <Validate ProductId="yes" UpgradeCode="yes" 
ProductVersionOperator="LesserOrEqual" />
            </PatchBaseline>
        </Media>
    </Patch>
  <Fragment>
  </Fragment>
 </Wix>

Now i want to add cumulative patching in this process. And i'm stuck ...

Some questions:

How should product id's be handled? Today we're using <Product Id="*" ... 
/> in in our .msi wxs file. How should we do with these? unique guid for 
each officially released installer?
At the moment we have a hardcoded upgradecode that never changes. Since 
all our patches will be installable on the previous releases i guess it's 
fine?
Is it possible to add cumulative patching with the way i'm doing things 
now?
Am i missing something important in the patch.wxs?

Best regards, Jani






The information in this email may be confidential and/or legally privileged. It 
has been sent for the sole use of the intended recipient(s). If you are not an 
intended recipient, you are strictly prohibited from reading, disclosing, 
distributing, copying or using this email or any of its contents, in any way 
whatsoever. If you have received this email in error, please contact the sender 
by reply email and destroy all copies of the original message. Please also be 
advised that emails are not a secure form for communication, and may contain 
errors.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to