PDA

View Full Version : Launch Registration Link



sjanusik
10-14-2002, 02:18 PM
What is the best way to launch a URL after the install has completed? I have attempted a custom action, and set it to launch after cost initialize on the Install UI & Install Exec Sequence as well as "Always Execute". Getting mixed results.

Thoughts?

Marwan
10-17-2002, 04:49 PM
Try a VBScript Custom Action stored in the custom action (Type38) with the following script

Option Explicit
Dim objIExplorer, bIsObject

Set objIExplorer = CreateObject("internetexplorer.application")
bIsObject = IsObject (objIExplorer)

If (bIsObject <> True) Then
MsgBox "Error creating IE object", 0
Else
objIExplorer.Visible = True
objIExplorer.navigate "http://www.installshield.com"
End If

Set objIExplorer = Nothing