Hello all, I'm generating a patch between two MSIs that I have created in WiX. I also am generating my PCP file in WiX, but I'm uisng MsiMsp build the actual patch file.
This is the second patch I am creating. My package lineage looks like this: v3.0.3 v3.0.4 v3.1.0 I had no trouble creating the patch between 3.0.3 and 3.0.4. Now, I am trying to create the patch between 3.0.4 and 3.1.0, and apply it on a machine that had installed 3.0.3 and then patched successfully to 3.0.4. I have added some new components with new files to my installed feature. I have marked these files "PatchGroup=2" in my main WiX files. I am generating the PCP to only apply to 3.0.4, and have set the Family to target the admin install I have from 3.0.4. I have set the SequenceStart for the Family to be a high number. The patch builds fine, but when I attempt to apply it, I get this error message in the log: Error 2920: Source directory not specified for file MyNewDll.dll. This is a new file I am adding for this patch. When I view the patch applied on my 3.0.4 MSI in Orca, everything looks OK. The new files all have the highest sequence numbers. The Media table has a new entry for my patch, and the sequence numbers look right. A snippet from the log is below. I can see that the media is indeed being changed. If I manually extract my MSP file, I can see the file in question. I can't figure out why this isn't working! MSI (s) (C8:A8) [12:26:54:087]: Executing op: ChangeMedia(,MediaPrompt=Please insert the disk: ,MediaCabinet=PCW_CAB_NR30Fam1,BytesPerTick=32768,CopierType=2,,,,,,IsFirstPhysicalMedia=1) MSI (s) (C8:A8) [12:26:54:087]: Executing op: FileCopy(SourceName=r3vd-h3h.dll|MyNewDll.dll,SourceCabKey=MyNewDll.dll,DestName=MyNewDl.dll,Attributes=4096,FileSize=53248,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,Version=1.1.3.0,Language=0,InstallMode=58982400,,,,,,,) MSI (s) (C8:A8) [12:26:54:087]: File: C:\Program Files\MyApp\MyNewDll.dll; To be installed; Won't patch; No existing file MSI (s) (C8:A8) [12:26:54:087]: Source for file 'MyNewDll.dll' is compressed MSI (s) (C8:A8) [12:26:54:087]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (C8:A8) [12:26:54:087]: Transforming table Error. MSI (s) (C8:A8) [12:26:54:087]: Transforming table Error. MSI (s) (C8:A8) [12:26:54:087]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (C8:A8) [12:26:54:087]: Transforming table Error. MSI (s) (C8:A8) [12:26:54:102]: Transforming table Error. MSI (s) (C8:A8) [12:26:54:102]: Note: 1: 2262 2: Error 3: -2147287038 DEBUG: Error 2920: Source directory not specified for file DigitalBP.Plaxo.API.dll. MSI (s) (C8:A8) [12:26:55:868]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (C8:A8) [12:26:55:868]: Transforming table Error. MSI (s) (C8:A8) [12:26:55:868]: Transforming table Error. MSI (s) (C8:A8) [12:26:55:868]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (C8:A8) [12:26:55:868]: Transforming table Error. MSI (s) (C8:A8) [12:26:55:883]: Transforming table Error. MSI (s) (C8:A8) [12:26:55:883]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (C8:A8) [12:26:55:883]: Product: My Product Name -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2920. The arguments are: MyNewDll.dll, , Does anyone have any ideas? I realize that this may be a Patchwiz problem, not a WiX problem, but since I'm doing most everything in WiX I'm not sure where else to turn. Thanks! Ben ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users