'MsgBox "Running AgentLP CheckAgentVersion Custom Action" Note that I entered “CheckAgentVersion” in the Script Function line. Always I would create a VBScript Custom Action with the VBScript embedded in the Custom Action – but I could never could get this script technique to work.įinally I created a VBScript Custom Action – but stored the VBScript in a. I have used VBScript often in the past to retrieve CustomActionData and perform activities, but never had to need to issue a return code. I decided on using VBScript for the Custom Action – but indicated earlier, I needed the VBScript function to return a value that can be used to abort the installation. I did not want to create the Custom Action using InstallScript since that version had the InstallScript Script Engine delivered as a separate MSI (ISScriptEngine.msi), and I wanted no additional MSI requirements. If either check failed, the Custom Action should return a negative return code and cause the installation to be cancelled. The Custom Action would verify that a required application product was already installed – and at the correct version level. ![]() Recently I had the need to run a Custom Action in an older InstallShield Basic MSI project (version 10.5).
0 Comments
Leave a Reply. |