Re: [WiX-users] Managed Bootstrapper - Access Payload file from WPF Code

2013-06-07 Thread Rob Mensching
That's what WixBA does as well: string folder = IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); WixBA.LaunchUrl(IO.Path.Combine(folder, "License.htm")); On Wed, Jun 5, 2013 at 7:45 AM, Nicholas Pierce < nicholas.pie...@permasense.com> wrote: > That's

Re: [WiX-users] Managed Bootstrapper - Access Payload file from WPF Code

2013-06-05 Thread Nicholas Pierce
That's exactly what we do. Nicholas On 5 June 2013 14:42, Carlos Hdz Taylor wrote: > What I ended up doing was extracting the location of the Executing > Assembly which is the same location where the EULA is placed. > > > If you can think off a better way of doing it please let me know. > > > >

Re: [WiX-users] Managed Bootstrapper - Access Payload file from WPF Code

2013-06-05 Thread Carlos Hdz Taylor
What I ended up doing was extracting the location of the Executing Assembly which is the same location where the EULA is placed. If you can think off a better way of doing it please let me know. http://stackoverflow.com/questions/52797/how-do-i-get-the-path-of-the-assembly-the-code-is-in Th

Re: [WiX-users] Managed Bootstrapper - Access Payload file from WPF Code

2013-06-05 Thread Carlos Hdz Taylor
Thanks Nicholas, and how can I get the path for that? If I look at a Process Monitor capture, I can see that when I execute the EXE installer the EULA file is copied to the following location: C:\Users\carlos\AppData\Local\Temp\{e9b77076-6fdf-4281-a8c3-7efed6bf46b7}\.ba1\EULA.htm But when m

Re: [WiX-users] Managed Bootstrapper - Access Payload file from WPF Code

2013-06-05 Thread Nicholas Pierce
If it's a payload in your BootstrapperApplicationRef, then it'll be extracted to the same directory as the burn engine and your Managed BA assembly, so you should be able to get the path from that. Nicholas On 4 June 2013 17:34, Carlos Hdz Taylor wrote: > Hello guys, > > > I am new to WiX, I ju

[WiX-users] Managed Bootstrapper - Access Payload file from WPF Code

2013-06-04 Thread Carlos Hdz Taylor
Hello guys, I am new to WiX, I just created a Managed Bootstrapper project using WPF, everything works fine except that I want to programmatically access a file (EULA.htm) that I referenced in the Bundle.wxs as a Payload, so when the user clicks a button it opens the EULA. How can I acces