Wix serviceinstall password




















If the service has no dependencies, then specify Null or an empty string. Dependency on a group means that this service can run if at least one member of the group is running after an attempt to start all members of the group. The identifiers service1 and service2 must either occur in the primary key of the table or be the name of the service that is already installed.

The service is logged on as the name given by the string in this column. If the account belongs to the built-in domain it is permitted to specify. The CreateService function uses the LocalSystem account if StartName is specified as null and most services therefore leave this column blank. This string is the password to the account name specified in the StartName column. Note that the user must have permissions to log on as a service.

The service has no password if StartName is null or an empty string. The Startname of LocalSystem is null, and therefore the password in this instance is null, so most services leave this column blank. Note that after deleting a service that was installed with a user name and password, the installer cannot rollback the service without first using a custom action to get the password. The installer can acquire all the necessary information about the service except the password, which is stored in a protected part of the system.

The custom action acquires the password by prompting the user, reading a property from the database, or reading a file. The custom action must then call ChangeServiceConfig , to supply the password, before reinstalling the service. External key to column one of the Component Table. Note that to install this service using the InstallService table, the KeyPath for this component must be the executable file for the service. This column contains a localizable description for the service being configured.

If this column is left blank the installer uses the existing description of the service if one exists. This results in a blank description for either a new or existing service. The InstallServices action in sequence tables processes the information in this table.

Interactive YesNoType Whether or not the service interacts with the desktop. LoadOrderGroup String The load ordering group that this service should be a part of.

Name String This column is the string that gives the service name to install. Yes Password String The password for the account. Valid only when the account has a password. Start Enumeration Determines when the service should be started. The Windows Installer does not support boot or system. This attribute's value must be one of the following: auto The service will start during startup of the system.

This value is not currently supported by the Windows Installer. This attribute's value must be one of the following: ownProcess A Win32 service that runs its own process.

Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related 5. Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled. Accept all cookies Customize settings.



0コメント

  • 1000 / 1000