Windows Installer (MSI 5.0) fails with ERROR 1939 during "MsiConfigureServices" action -


when trying install setup package using new msi 5.0 features of windows service configuration (using tables: msiserviceconfig / msiserviceconfigfailureactions) service config fails , results in rollback.

the service installed along same package under "localsystem" account. regarding msdn, these feature have limitations, not sure if applicable here:

"the services configuration feature of windows installer cannot configure network service accounts, install shared service host (svchost) processes, or restart services stopped part of installation" (see http://msdn.microsoft.com/en-us/library/windows/desktop/dd408113(v=vs.85).aspx )

i have tried several variations on failure actions count , type. using sc_action_none or sc_action_run_command actions indeed work , lead successful install.

can tell, why sc_action_restart or sc_action_reboot not work fine?

msi log file excerpt:

action 08:21:51: installservices. installing new services msi (s) (78:74) [08:21:51:828]: executing op: progresstotal(total=5,type=1,byteequivalent=1300000) msi (s) (78:74) [08:21:51:859]: executing op: serviceinstall(name=pcsproxy,displayname=protection communication system proxy,imagepath="c:\program files (x86)\protection communication system\pcs.proxy.service.exe",servicetype=16,starttype=2,errorcontrol=32769,,dependencies=[~],,,password=**********,description=provides limited write access pps,,) installservices: service:  msi (s) (78:74) [08:21:52:218]: executing op: actionstart(name=msiconfigureservices,,) action 08:21:52: msiconfigureservices.  msi (s) (78:74) [08:21:52:280]: executing op: progresstotal(total=1,type=1,byteequivalent=1300000) msi (s) (78:74) [08:21:52:280]: executing op: serviceconfigure(,name=pcsproxy,event=1,configtype=4,argument=1) msi (s) (78:74) [08:21:52:280]: changing configuration of service pcsproxy. msi (s) (78:74) [08:21:52:280]: changed configuration of service pcsproxy configtype service_config_failure_actions_flag msi (s) (78:74) [08:21:52:358]: done changing configuration of service pcsproxy msi (s) (78:74) [08:21:52:358]: executing op: progresstotal(total=1,type=1,byteequivalent=1300000) msi (s) (78:74) [08:21:52:358]: executing op: serviceconfigurefailureaction(,name=pcsproxy,event=1,resetperiod=259200,rebootmessage=rebooting system,command=cmd.exe,actions=1[~]2[~]3,delayactions=60000[~]60000[~]60000) msi (s) (78:74) [08:21:52:374]: changing configuration of failure action service pcsproxy. msi (s) (78:74) [08:21:52:374]: error: 5. failed change current configuration of failure action service pcsproxy msi (s) (78:74) [08:21:52:374]: failed change configuration of failure action service pcsproxy error 1939. service 'protection communication system proxy' (pcsproxy) not configured.  problem package or permissions. verify have sufficient privileges configure system services. msi (s) (78:74) [08:22:04:791]: product: protection communication system -- error 1939. service 'protection communication system proxy' (pcsproxy) not configured.  problem package or permissions. verify have sufficient privileges configure system services.  action ended 08:22:04: installfinalize. return value 3.  [...]  property(c): versionnt = 602 property(c): versiondatabase = 500 property(c): versionmsi = 5.00 property(c): versionnt64 = 602 property(c): windowsbuild = 9200 property(c): servicepacklevel = 0 property(c): servicepacklevelminor = 0 property(c): msintproducttype = 3 property(c): userlanguageid = 1031 property(c): computername = win-d4aottu5crv property(c): systemlanguageid = 1031 property(c): time = 07:33:17 property(c): date = 18.04.2013 property(c): msinetassemblysupport = 4.0.30319.17929 property(c): msiwin32assemblysupport = 6.2.9200.16384 


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -