I'm a little confused. Are you saying the custom action is using the current working folder to find files? If so, that won't work out most of the time or rather it will work in very limited situations. If you want Payloads cached with the bootstrapper, you can add additional Payload elements under the BootstrapperApplication element. If you don't want them compressed mark them Compressed="no". On Tue, Nov 1, 2011 at 7:19 AM, David L. Beckwith <beckw...@interaccess.com>wrote:
> I've created two payloads in the MsiPackage element and it places them in > the > same folder (cache) as the msi. This works as expected. > > However, the resulting bootstrapper exe is not placed in the same cache and > thus runs from a different folder. The custom action in the MSI looks for > the two files in the local or working folder and instead they are in the > msi > folder. There doesn't seem to be a method to place the payloads in the same > cache (folder) as the bootstrapper. > > Obviously the best solution would be to change the contents of the msi, but > this is a redist from Microsoft which I don't have the right to do and > Microsoft has not been actively working on this since 2008. > > I see four options: > > 1. Have the bootstapper change the working directory to the msi folder > (cache), > 2. Place the payloads in the bootstrapper folder (cache), > 3. Place the bootstrapper in the same folder as the msi. > 4. Create a bootstrapper with an ExePackage including the two payloads to > another bootstapper with the MsiPackage. > > I think the fourth option would work but would end up with confusing > multiple UACs and multiple ARP entries. The other three would be desirable > options but I don't know how to do it if it were possible. > > Rob Mensching-7 wrote: > > > > Add Payload elements under the MsiPackage element to manually add files > > that are not described in the MSI file itself. > > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Heat-generate-tp6909632p6951834.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users