Hello,
If you want to have multiple input boxes for multiple ports, you can use a custom action to call the "Check TCP Port" UI Custom Action several times for each port.
Please note that the AI_BIND_TCP_PORT property is set after each Check TCP Port call.
In a C++ DLL, installer
public properties can be accessed with
MsiGetProperty and
MsiSetProperty functions.
If you are using a C++ DLL Custom Action you can call "Check TCP Port" using:
Code: Select all
MsiDoAction(hInstall, _T("YOUR_CUSTOM_ACTION"));
In VBScript, installer
public properties can be accessed like this:
Code: Select all
' read
value = Session.Property("PROPERTY_NAME")
' write
Session.Property("PROPERTY_NAME") = value
In a VBScript custom action you can call "Check TCP Port" using:
Code: Select all
Session.DoAction("YOUR_CUSTOM_ACTION");
All the best,
Mihai
FOLLOW US
Get the latest news in Application Packaging