cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
LisDani4D
Level 2

NT Service using SDLogonInformation

I'm currently using an InstallScript MSI project and we instll an NT service. I got the install to prompt for the SdLogonUserInformation, but how do I get the information from the dialog to be used for the NT service?

We set an NT service in the components and left the username and password blank.

In the InstallScript, we put this:
Dlg_SdLogon:

SdLogonUserInformation(szTitle, szMsg, szAccount, szPassword);

OnLogonUserSetMsiProperties();

if (nResult = BACK) goto Dlg_SdWelcome;

How do we get the information fron the logon entered to associate with the nt service being installed? :confused: :confused: :confused:
Labels (1)
0 Kudos
1 Reply
hidenori
Level 17

For InstallScript MSI projects, the specified user account, group, and password are stored in the following global variables and properties:


  • IFX_NETAPI_USER_ACCOUNT
  • IFX_NETAPI_GROUP
  • IFX_NETAPI_PASSWORD
  • IS_NET_API_LOGON_USERNAME
  • IS_NET_API_LOGON_GROUP
  • IS_NET_API_LOGON_PASSWORD
0 Kudos