Uncompresed, non-embedded source files are not supported for Windows
Installer patches.
On Thu, Jul 2, 2009 at 11:33 AM, Chris Bardon <
[hidden email]>wrote:
> I've been experimenting with creating msp files for all updates, and I've
> run into a strange problem. I read about having to create uncompressed cabs
> for a patch, so I created two different installers that upgrade a single
> text file, and actually managed to create the msp file, but then I noticed
> something strange with the original installer. When I run this setup now,
> it complains that it's unable to find "readme.txt" in the path that I run
> the installer from. If I change the Compressed attribute on the Package
> node to "yes" the installer works. Is there something else that I need to
> do to get the installer to work in the first place? Here's the markup for
> the original installer (it's pretty basic):
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="
http://schemas.microsoft.com/wix/2006/wi">
> <Product Id="611D452A-D8D3-482e-AC5B-BFA9A9B1BF6D" Name="Patch Test
> Product" Language="1033"
> Version="1.0.0.0" Manufacturer="ComputerTalk"
> UpgradeCode="edb51369-d386-46c8-96ee-8244a40d18d3">
> <Package InstallerVersion="300" Description="Patch Test"
> Manufacturer="ComputerTalk" Comments="Some product" Compressed="no" />
>
> <Media Id="1" Cabinet="PatchTest.cab" EmbedCab="yes" />
>
> <Directory Id="TARGETDIR" Name="SourceDir">
> <Directory Id="ProgramFilesFolder">
> <Directory Id="INSTALLLOCATION" Name="PatchTest">
> <Component Id="ProductComponent"
> Guid="b3bf3e0b-d116-49cd-8d24-b7c76a7c3b28">
> <File Id="readme" Name="readme.txt"
> Source="..\$bin\readme.txt"/>
> </Component>
> </Directory>
> </Directory>
> </Directory>
>
> <Feature Id="ProductFeature" Title="PatchTest" Level="1">
> <ComponentRef Id="ProductComponent" />
> </Feature>
> </Product>
> </Wix>
>
> The install log from my test machine looks like this when I run the msi
> from c:\insttemp:
>
> Error 1309. Error reading from file: C:\insttemp\PatchTest\readme.txt.
> System error 3. Verify that the file exists and that you can access it.
>
> This is building with Votive under VS 2008, and using version 3.5.0619.0 of
> the toolkit. Any idea what's going on? The \PatchTest directory doesn't
> exist under c:\insttemp, but the files should be embedded in the msi,
> correct?
>
> Thanks for the help,
>
> Chris
>
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
>
[hidden email]
>
https://lists.sourceforge.net/lists/listinfo/wix-users>
--
Heath Stewart
Deployment Technologies Team, Microsoft
http://blogs.msdn.com/heaths------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at:
http://p.sf.net/sfu/Challenge_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users