Hi,

I encountered a problem when installing a patch built based on "Using Patch
Creation Properties
". My patchwiz.dll is ver 4.5.6001.22192.

The uncompressed images are located at two folders, base\ and upgrade\.
There are new files added to the upgrade image. The base is installed first,
then the patch. An error dialog is displayed complaining that "Error reading
file: c:\work\...\base\...\org.eclipse.jdt.core.prefs. Verify that the file
exists and that you can access it". The patch is trying to read the new file
"org.eclipse.jdt.core.prefs" added to the upgrade image from the base
location. Of course, the base location does not have the new file.

My wxs file for patch is:
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
    <PatchCreation  Id="Patch_GUID" CleanWorkingFolder="yes"
WholeFilesOnly="yes" >

        <PatchInformation 
            Description="D5 Patch 1" Comments="D5 Patch 1" ShortNames="no"
            Languages="1033" Compressed="yes" Manufacturer="KKK Ltd"/>

        <PatchMetadata
            AllowRemoval="no" Description="D5 Patch 1" 
ManufacturerName="KKK Ltd"
            TargetProductName="D5" MoreInfoURL="http://www.kkk.com/";
            Classification="Update" DisplayName="D5 Patch 1"/>

        <Family DiskId="5000"
            MediaSrcProp="Sample" Name="Sample" SequenceStart="50000">
            <UpgradeImage SourceFile="C:/work/base/decompressed/D5.msi"
Id="D5Upgrade">
                <TargetImage
SourceFile="C:/work/upgrade/decompressed/D5.msi"  Order="1"
                     Id="D5Base" IgnoreMissingFiles="no" />
            </UpgradeImage>
        </Family>
        <PatchSequence PatchFamily="D5PatchFamily"
            Sequence="5.0.0.1" Supersede="yes" />
        <TargetProductCode Id="product_guid"/>
    </PatchCreation>
</Wix

Could you please help? Why patch installation reads new files from wrong
base location?

Thanks, Shibo
-- 
View this message in context: 
http://n2.nabble.com/Installing-patch-gives-me-Error-reading-file-dialog-tp3662429p3662429.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to