Alternate Ways to Call the Setup Player

InstallShield 2024

Project: This information applies to InstallScript projects.

It is not necessary to call the Setup Player from a Web page. It is possible to call the Player from other sources such as a login script or a Visual Basic or Visual C/C++ application. Any programming tool that supports ActiveX controls can call the Player.

Sample Visual Basic Script for Calling the Player

Dim player, ether

Set player = CreateObject("Setup.Player.Automation Interface Version")

Set ether = player.open("http://www.mydomain.com/mysetup")

 

If ether.IsPlaying() Then

    MsgBox "Setup is running."

Else

    MsgBox "Setup is not running."

End If

 

Set player = Nothing

Set ether = Nothing