This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- NT Service using SDLogonInformation
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 09, 2010
11:34 AM
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:
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:
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 16, 2010
12:06 PM
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