Re: [WiX-users] Burn LaunchTarget - possible to specify HTTP-URL?

2014-03-06 Thread Tobias Erichsen
Hi again...

works like a charm...

Tobias

Von: Bryan Wolf [brw...@jackhenry.com]
Gesendet: Mittwoch, 5. März 2014 17:31
Bis: General discussion about the WiX toolset.
Betreff: Re: [WiX-users] Burn LaunchTarget - possible to specify HTTP-URL?

The Launch Target command just calls shell execute with the open verb on 
whatever you pass it, so in theory a URL should just work, no? I don't see 
anything that would explicitly cause it to fail in an obvious way.

-Original Message-
From: Steven Ogilvie [mailto:steven.ogil...@titus.com]
Sent: Wednesday, March 5, 2014 10:11 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Burn LaunchTarget - possible to specify HTTP-URL?

I ended up creating a custom action that creates vbs script that I launch 
(which launches the URL) in my MSI

var tempString = GetSessionProperty(session, CustomActionData, false);
var parts = tempString.Split(new[] { '|' });
var installPath = parts[0];
var webPortNumber = parts[1];
const string UrlString = http://localhost:;;
var path = @installPath + LaunchWebSite.vbs;
const string Quote = \;

if (Directory.Exists(installPath))
{
// Create a file to write to.
using (var sw = File.CreateText(path))
{
sw.WriteLine(Option Explicit);
sw.WriteLine(Dim wshShell);
sw.WriteLine(Set wshShell = CreateObject(  + Quote + 
WScript.Shell + Quote +  ));
sw.WriteLine(wshShell.Run Trim(  + Quote + UrlString 
+ webPortNumber + Quote +  ), 0, False);
sw.WriteLine(Set wshShell = Nothing);
}
}

Then in the bootstrapper I added:
LaunchTarget=$(env.SystemDrive)\inetpub\wwwroot\addyourwebsitepath\LaunchWebSite.vbs

-Original Message-
From: Tobias Erichsen [mailto:i...@tobias-erichsen.de]
Sent: March-05-14 10:45 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Burn LaunchTarget - possible to specify HTTP-URL?

Hi,

I was wondering if I could specify an HTTP-URI as LaunchTarget in my burn 
boostrapper, as the user-interface for an application of mine is a local 
webserver...

Best regards,
Tobias
--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries.  Built-in WAN optimization and the 
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries.  Built-in WAN optimization and the 
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message,
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution
is strictly prohibited. If you have received this message in error, please
immediately advise the sender by reply email and delete all copies.


--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built

Re: [WiX-users] Burn LaunchTarget - possible to specify HTTP-URL?

2014-03-05 Thread Steven Ogilvie
I ended up creating a custom action that creates vbs script that I launch 
(which launches the URL) in my MSI

var tempString = GetSessionProperty(session, CustomActionData, false);
var parts = tempString.Split(new[] { '|' });
var installPath = parts[0];
var webPortNumber = parts[1];
const string UrlString = http://localhost:;;
var path = @installPath + LaunchWebSite.vbs;
const string Quote = \;

if (Directory.Exists(installPath))
{
// Create a file to write to.
using (var sw = File.CreateText(path))
{
sw.WriteLine(Option Explicit);
sw.WriteLine(Dim wshShell);
sw.WriteLine(Set wshShell = CreateObject(  + Quote + 
WScript.Shell + Quote +  ));
sw.WriteLine(wshShell.Run Trim(  + Quote + UrlString 
+ webPortNumber + Quote +  ), 0, False);
sw.WriteLine(Set wshShell = Nothing);
}
}

Then in the bootstrapper I added:
LaunchTarget=$(env.SystemDrive)\inetpub\wwwroot\addyourwebsitepath\LaunchWebSite.vbs

-Original Message-
From: Tobias Erichsen [mailto:i...@tobias-erichsen.de] 
Sent: March-05-14 10:45 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Burn LaunchTarget - possible to specify HTTP-URL?

Hi,

I was wondering if I could specify an HTTP-URI as LaunchTarget in my burn 
boostrapper, as the user-interface for an application of mine is a local 
webserver...

Best regards,
Tobias
--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the 
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn LaunchTarget - possible to specify HTTP-URL?

2014-03-05 Thread Bryan Wolf
The Launch Target command just calls shell execute with the open verb on 
whatever you pass it, so in theory a URL should just work, no? I don't see 
anything that would explicitly cause it to fail in an obvious way.

-Original Message-
From: Steven Ogilvie [mailto:steven.ogil...@titus.com] 
Sent: Wednesday, March 5, 2014 10:11 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Burn LaunchTarget - possible to specify HTTP-URL?

I ended up creating a custom action that creates vbs script that I launch 
(which launches the URL) in my MSI

var tempString = GetSessionProperty(session, CustomActionData, false);
var parts = tempString.Split(new[] { '|' });
var installPath = parts[0];
var webPortNumber = parts[1];
const string UrlString = http://localhost:;;
var path = @installPath + LaunchWebSite.vbs;
const string Quote = \;

if (Directory.Exists(installPath))
{
// Create a file to write to.
using (var sw = File.CreateText(path))
{
sw.WriteLine(Option Explicit);
sw.WriteLine(Dim wshShell);
sw.WriteLine(Set wshShell = CreateObject(  + Quote + 
WScript.Shell + Quote +  ));
sw.WriteLine(wshShell.Run Trim(  + Quote + UrlString 
+ webPortNumber + Quote +  ), 0, False);
sw.WriteLine(Set wshShell = Nothing);
}
}

Then in the bootstrapper I added:
LaunchTarget=$(env.SystemDrive)\inetpub\wwwroot\addyourwebsitepath\LaunchWebSite.vbs

-Original Message-
From: Tobias Erichsen [mailto:i...@tobias-erichsen.de]
Sent: March-05-14 10:45 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Burn LaunchTarget - possible to specify HTTP-URL?

Hi,

I was wondering if I could specify an HTTP-URI as LaunchTarget in my burn 
boostrapper, as the user-interface for an application of mine is a local 
webserver...

Best regards,
Tobias
--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the 
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the 
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users