What about using an XSL transform to modify the heat output? Nick Ball wrote: > Hi, > > > > I'm creating a wixlib, and then using it in my main setup program, but > I'd like the lib to go into a separate cab file. Because the contents of > the lib have been generated by heat, I've put the disk ID on the > directory, rather than each component. This code, understandably, does > not work: > > > > <Fragment> > > <Media Id="2" Cabinet="file.cab" EmbedCab="no"/> > > > > <DirectoryRef Id="INSTALLFOLDER"> > > <Directory Id="Test" Name="Test" DiskId="2"> > > </Directory> > > </DirectoryRef> > > </Fragment> > > > > Heat output: > > > > <Fragment> > > <DirectoryRef Id="Test"> > > <Component Id="File" Guid="*"> > > <File Id="File" KeyPath="yes" > Source="$(var.Folder)\file" /> > > </Component> > > </DirectoryRef> > > </Fragment> > > > > If I edit the heat output directly and specify the diskid, it does work. > > <Fragment> > > <DirectoryRef Id="Test" DiskId="2"> > > <Component Id="File" Guid="*"> > > <File Id="File" KeyPath="yes" > Source="$(var.Folder)\file" /> > > </Component> > > </DirectoryRef> > > </Fragment> > > > > But I really want to be able to regenerate the file that heat produces > without any subsequent editing. Is there a way of doing this? One > solution that I keep wondering about is changing the output of heat to > an include file. This would get round a bunch of problems I've been > having. Could that be added as a feature request? > > > > Regards > > > > Nick > > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users >
------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users