Hi WIX experts,
We are noticing error 1923 as below during upgrade of our product. The repro is 
not consistent but hitting it with very high frequency. So far, we are seeing 
it happening on both Win2012 and Win2012 R2 machines. The service installs fine 
during fresh and repair installation, but fails only during upgrade.

The MSI package runs as per-machine and user running upgrade is an 
administrator on the machine. I don't find any apparent errors about service 
install failure in the event log, so no clue what the problem is.

Heath Stewart mentioned on another forum that this looks to be to do with MSI 
not able to write to TrustedInstaller resources and is a WIX authoring issue. 
Could you kindly let me know what the issue with WIX authoring it is and how to 
fix it? Is this a known issue or if a bug needs to be opened for this issue for 
this issue? I am using WIX 3.7 and below is the WIX code snippet.

Log snippets:
MSI (s) (F0:20) [04:25:45:682]: MSI_LUA: Credential prompt not required, user 
is an admin

MSI (s) (F0:20) [04:26:09:073]: Executing op: 
ProgressTotal(Total=3,Type=1,ByteEquivalent=1300000)
MSI (s) (F0:20) [04:26:09:073]: Executing op: 
ServiceInstall(Name=HealthService,DisplayName=@C:\Program Files\Monitoring 
Agent\Agent\HealthService.dll,-10500,ImagePath="C:\Program Files\Monitoring 
Agent\Agent\HealthService.exe",ServiceType=32,StartType=2,ErrorControl=0,,Dependencies=rpcss[~][~][~],,,Password=**********,Description=@C:\Program
 Files\Monitoring Agent\Agent\HealthService.dll,-10501,,)
MSI (s) (F0:20) [04:26:09:088]: Executing op: 
ServiceInstall(Name=AdtAgent,DisplayName=@C:\Windows\system32\AdtAgent.exe,-500,ImagePath=C:\Windows\system32\AdtAgent.exe,ServiceType=16,StartType=4,ErrorControl=1,,Dependencies=eventlog[~]dnscache[~][~][~],,StartName=NT
 
AUTHORITY\NetworkService,Password=**********,Description=@C:\Windows\system32\AdtAgent.exe,-501,,)
Information 1923.Service '@C:\Program Files\Monitoring 
Agent\Agent\HealthService.dll,-10500' (HealthService) could not be installed. 
Verify that you have sufficient privileges to install system services.
MSI (s) (F0:20) [04:26:09:088]: Executing op: ServiceInstall(Name=System Center 
Management APM,DisplayName=@C:\Program Files\Monitoring 
Agent\Agent\APMDOTNETAgent\InterceptSvc.exe,-100,ImagePath="C:\Program 
Files\Monitoring 
Agent\Agent\APMDOTNETAgent\InterceptSvc.exe",ServiceType=16,StartType=4,ErrorControl=1,,Dependencies=RPCSS[~][~][~],,StartName=LocalSystem,Password=**********,Description=@C:\Program
 Files\Monitoring Agent\Agent\APMDOTNETAgent\InterceptSvc.exe,-501,,)
...
...
...
Property(N): AdminUser = 1
Property(N): MsiTrueAdminUser = 1

ServiceInstall and ServiceControl entries in WIX source for this service looks 
like below:

          <ServiceInstall
       Id="MOMHealthServiceInstall"
              Name="HealthService"
       DisplayName="[HEALTH_SERVICE_DISPLAY_NAME]"
              Type="shareProcess"
Start="auto"
ErrorControl="ignore"
Description="[HEALTH_SERVICE_DESCRIPTION]">
         <ServiceDependency Id="rpcss" />
          </ServiceInstall>
          <ServiceControl Id="HealthServiceRemoveUninstall" 
Name="HealthService" Remove="uninstall" Wait="yes" />
          <ServiceControl Id="HealthServiceStopBoth" Name="HealthService" 
Stop="both" Wait="yes" />

Thanks,
Sandip
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to