Functions | |
CA_API UINT __stdcall | TcpIp_BindSocket (MSIHANDLE hInstall) |
Attempts to bind a socket. More... | |
CA_API UINT __stdcall | TcpIp_Connect (MSIHANDLE hInstall) |
Attempts to connect to a remote server. More... | |
CA_API UINT __stdcall | TcpIp_ListAddresses (MSIHANDLE hInstall) |
Lists IP address assigned to this host. More... | |
CA_API UINT __stdcall TcpIp_BindSocket | ( | MSIHANDLE | hInstall | ) |
Attempts to bind a socket.
Attempts to bind a socket, useful for checking whether the socket can or cannot be bound to.
TCP_IPADDRESS | local TCP/IP address to bind to |
TCP_PORT | local TCP port to bind to |
CA_API UINT __stdcall TcpIp_Connect | ( | MSIHANDLE | hInstall | ) |
Attempts to connect to a remote server.
Attempts to connect to a remote server, useful for checking whether there's a listening server. See http://msdn.microsoft.com/en-us/library/ms742212(VS.85).aspx for parameter details.
TCP_IPADDRESS | remote TCP/IP address to connect to |
TCP_PORT | remote TCP port to connect to |
TCP_SOCKET_TYPE | socket type, one of SOCK_STREAM, SOCK_DGRAM or SOCK_RAW |
TCP_PROTOCOL,one | of IPPROTO_TCP or IPPROTO_UDP |
CA_API UINT __stdcall TcpIp_ListAddresses | ( | MSIHANDLE | hInstall | ) |
Lists IP address assigned to this host.
IP_LIST_TYPE | List type to populate with data. |
IP_LIST_PROPERTY | The property associated with the list. |
IP_LIST_INDEX | Optional index to start adding items at, default is 2 (assumes one item in the list already). |
This function populates an MSI list attached to a property IP_LIST_PROPERTY and of type IP_LIST_TYPE, beginning with index IP_LIST_INDEX (default is 2, assuming there's one item). It executes SELECT * FROM [IP_LIST_TYPE] WHERE Property=[IP_LIST_PROPERTY] to locate the target.
This custom action can be used in combination with a combo box. Call the CA in the InstallUISequence.
Use a ComboBox control in the UI.
© Application Security Inc. - All Rights Reserved | http://msiext.codeplex.com |