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

How to launch a browser from Finish Dialog box


2 replies to this topic

suvidha

suvidha
  • Members
  • 72 posts

Posted 31 October 2001 - 22:37

The 'ReadMe' file of our application is an html file which needs to be opened when the user finishes with the installation of our product.

i want to create a button on the last dialog box which when pressed would open the html file.

Please tell how i should launch a browser (IE or netscape)


Augusto

Augusto
  • Members
  • 32 posts

Posted 12 November 2001 - 11:15

You can use a shellExecute statement inside a CA attached to the button (if you like Install Script). Otherwise, do a shell command from a script or a dll. An HTML page can look also pretty nice if you encapsulate it into an hta aplication, and launching it is as simple as using a command as "mshta.exe [page name]". If you like this option, look for hta in MSDN. Almost anything you may need is there.

jeffday

jeffday
  • Members
  • 1 posts

Posted 24 November 2001 - 00:37

Add this vbs to a custom action, and then assign DoAction to the required button, etc.

On Error Resume Next

Set objShell = CreateObject("WScript.Shell")
objShell.Run "http:\\www.yoursitehere.com\"
Set objShell = nothing

Regards.