Are you doing clickonce to get the setup.exe bootstrapper? In other words, is this "publish" from inside Visual Studio? If so, I doubt you can embed the resource into that setup.exe bootstrapper.
If you're writing your own bootstrapper then yes, you can do this. Just add the MSI to your project file and change its Build Action to Embedded Resource. If you are hand authoring your msbuild project file the XML looks like this: <ItemGroup> <EmbeddedResource Include="mymsi.msi" /> </ItemGroup> Neil -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilson, Phil Sent: Thursday, May 22, 2008 1:32 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Embedding patch inside bootstrapper Visual Studio should do this a custom resource import (Add Resource and Import). I just tested by having a zip file as custom resource of type D1 in a Visual C++ 2005 exe as a dumb test, and opening the binary afterwards shows it is in there. I think this means MSBuild will do the same, yes? Phil Wilson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of A. Brooks Hollar Sent: Thursday, May 22, 2008 12:44 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Embedding patch inside bootstrapper Is there an "easy" way to create a setup.exe bootstrapper that embeds the msi/msp inside it? I can get msbuild to create the setup.exe just fine, but I need to distribute my patch as a single file. My googling has suggested this isn't a feature of msbuild and I've yet to find another tool to do this (that isn't a pain). Thanks! -ab -- A. Brooks Hollar ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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