Oh, sorry, I answered the question the wrong way. Use LicenseUrl attribute on the WixStandardBootstrapperApplication element and use the same relative path that you use to add the Payload.
On Sun, Apr 29, 2012 at 1:26 AM, Neil Sleightholm <n...@x2systems.com>wrote: > Not sure I explained this correctly, I don't want to display the licence > file on the UI (more correctly it should have been called License.htm) I > want it to be in the bundle and displayed in a browser if the user clicks > the link but not be a reference to a file on the internet (like the WiX > distribution does). > > Neil > > -----Original Message----- > From: Rob Mensching [mailto:r...@robmensching.com] > Sent: 29 April 2012 08:03 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Local file for WixStdbaLicenseUrl > > I would use the WixBalExtension's WixStandardBootstrapperApplication > element's LicenseFile attribute. Documentation should say something like: > "Source file of the RTF license file. Cannot be used simultaneously with > LicenseUrl." > On Sat, Apr 28, 2012 at 3:01 PM, Neil Sleightholm <n...@x2systems.com > >wrote: > > > I would like to use the > > WixStandardBootstrapperApplication.HyperlinkLicense but reference a > > local license file rather than an internet URL. I have embedded the > > license file using this syntax: > > <BootstrapperApplicationRef > > Id="WixStandardBootstrapperApplication.HyperlinkLicense"> > > <Payload SourceFile="Resource\License.rtf" /> > > </BootstrapperApplicationRef> > > > > I would have assumed the url would be set like this: > > <WixVariable Id="WixStdbaLicenseUrl" Value="file://./License.rtf" > > /> > > > > But that doesn't work. I can see my file in the .ba1 folder in the > > temp folder so I know it has been extracted as part of the bundle. > > > > Can anyone suggest who I can reference it? > > > > Thanks > > > > Neil > > > > Neil Sleightholm > > X2 Systems Limited > > n...@x2systems.com<mailto:n...@x2systems.com> > > > > > > ---------------------------------------------------------------------- > > -------- > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. > > Discussions will include endpoint security, mobile security and the > > latest in malware threats. > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > -- > virtually, Rob Mensching - http://RobMensching.com LLC > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat > landscape has changed and how IT managers can respond. Discussions will > include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users