Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Force Internet Explorer with LocalStart.htm
papalorax
#1 Posted : Friday, July 6, 2007 10:53:34 AM(UTC)
Groups: Member
Joined: 7/6/2007(UTC)
Posts: 4

Is there a way to force Internet Explorer when the Cassini driven application runs? Our app doesn't look so good in firefox and I would prefer not to have to mess with people's default browser settings.
Ultidev Team
#2 Posted : Friday, July 6, 2007 12:15:12 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi,

That should be possible, but not being real Setup/MSI gurus, we can suggest a (kludgy) workaround we use in house. The goal would be creating a shortcut during installation that would point to IExplore.exe with LocalStart.htm command line parameter. We noticed that it is hard or impossible to launch an external program from the MSI created from Visual Studio setup project.

So what we do (hopefully there's a better way) is when we need this functionality, we either
a) include Start.exe we wrote internally, which simply runs its command line as a new process. Passing it command line like "IExplore.exe LocalStart.htm" would run your site in the IE. Since we package this Start.exe inside MSIs we are able to create shortcuts to it. Creating such program is trivial - you should have no problem with it.
b) Use COM Interop to access WSH Shell API (WScript.Shell class) and create shortcuts during execution of custom installation steps. WshShellClass.CreateShortcut() seems like a good candidate for your purpose.

Other Setup authoring tools may allow easier access to running system executable. In that case just run IExplore.exe with appropriate parameters.

Best regards,
UltiDev Team.

Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.