[wix-users] Installing a Burn exe from a Windows Service
Steve Jones
sjones at excelsiorcg.com
Mon Jan 15 12:00:49 PST 2018
Thank you for replying. I have tried all kinds of variations on the user name and tried both local and AD accounts (test, domain\test, .\test, compname\test). None solved the issue. However, just changing the password on the created service works. That is why I believe the issue is that the password is not being set properly (and the log does show differences).
-----Original Message-----
From: Hoover, Jacob [mailto:Jacob.Hoover at greenheck.com]
Sent: Monday, January 15, 2018 1:17 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Steve Jones <sjones at excelsiorcg.com>
Subject: RE: Installing a Burn exe from a Windows Service
Disclaimer: I don't have any services to deal with, so just picking out a possible difference.
Looking at the docs for Windows Installer, ServiceInstall:
StartName
The service is logged on as the name given by the string in this column. If the service type is SERVICE_WIN32_OWN_PROCESS use an account name in the form: DomainName\UserName. If the account belongs to the built-in domain it is permitted to specify .\UserName. The LocalSystem account must be used if the type of service is SERVICE_WIN32_SHARE_PROCESS or SERVICE_INTERACTIVE_PROCESS. The CreateService function uses the LocalSystem account if StartName is specified as null and most services therefore leave this column blank
Is it valid to use .\Test?
Ref: https://msdn.microsoft.com/en-us/library/windows/desktop/ms721755%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
Built-in domain
This domain contains default local groups, such as the Administrators and Users groups, that are established when the operating system is installed.
The name of this domain is a localized version of BUILTIN.
Test is not a built-in account.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Steve Jones via wix-users
Sent: Monday, January 15, 2018 9:36 AM
To: wix-users at lists.wixtoolset.org
Cc: Steve Jones <sjones at excelsiorcg.com>
Subject: [wix-users] Installing a Burn exe from a Windows Service
First time email to the mailing list. I posted on Stack Overflow a question that has gone unanswered and was hoping I could get the answer here:
https://stackoverflow.com/questions/48210603/wix-msi-installed-from-windows-service
The post has the bulk of the details, but long story short, I am trying to install a WIX Burn EXE from the context of a Windows Service (i.e. Process.Start from within a Windows Service) and it is not working. The exact same burn EXE works if it is installed as the interactive user - not from a Windows service.
Any help would be appreciated.
Thanks.
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list