Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Launching browsers during/after install


2 replies to this topic

clvrmnky

clvrmnky
  • Members
  • 27 posts

Posted 01 February 2002 - 20:10

I can't seem to figure out how to launch a page or URL in the default browser.  It looks like LaunchApp() isn't a real command shell, as it doesn't honour file-type associations.

I'd like to just have the OS read a .url file, and do the right thing.

Any ideas?


clvrmnky

clvrmnky
  • Members
  • 27 posts

Posted 01 February 2002 - 20:16

Whoops, I just found "Q101171" that helps.  Looks like I have to get the filetype out of the registry, and launch that with the right args.

Feel free to offer your own opinions, solution.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 04 February 2002 - 07:47

I think there's a script here in the samples section to display any document in the associated application by calling ShellExecute. With that API you don't have to read and parse the registry entries yourself.