Msi Error 1939
not be configured ★★★★★★★★★★★★★★★ Soumitra MondalDecember 11, 20131 Share 0 0 Problem: MSI 5.0 package fails with an ERROR 1939 during "MsiConfigureServices" standard action execution. I tried to use "MsiConfigureServices" standard action in the msi package to configure a custom service. The MSI package fails to execute on Win 7 + OSs. The exact same issue can be found at this forum discussion As per the MSI failure log: MSI (s) (DC:09) 11:44:00 am:342): Executing op: ServiceConfigureFailureAction(,Name=ServiceConfigRepro,Event=5,ResetPeriod=604800,RebootMessage=[~],Command=[~],Actions=1,DelayA MSI (s) (DC:09) 11:44:00 am:342): changing configuration of failure action for service ServiceConfigRepro. MSI (s) (DC:09) 11:44:00 am:420): Error: 5. Failed to change current configuration of failure action for service ServiceConfigRepro MSI (s) (DC:09) [11:44:00 am:420): Failed to change configuration of failure action for service ServiceConfigRepro MSI (s) (DC:09) 11:44:00 am:420): Note: 1: 2205 2: 3: Error MSI (s) (DC:09) 11:44:00 am:420): Note: 1: 2228 2: 3: Error 4: Select ‘Message' from ‘Error' where ‘Error' = 1939 MSI (c) (30:10) 11:44:00 am:732): Font created. Charset: req=0, ret=0, Font: req=MS Shell Dlg, ret=MS Shell Dlg Error 1939. The service ‘My_Service’ (ServiceConfigRepro) could not be configured. There may be a problem with the package, or with your authorization. Make sure that your permissions are sufficient to configure the system services. In MSI 5.0 the MsiServiceConfig and the MsiServiceConfigFailureActions tables are introduced and more information is available at Windows Installer team blog http://blogs.msdn.com/b/windows_installer_team/archive/2009/03/04/enhanced-service-configuration-with-windows-installer-5-0.aspx?Redirected=true After debugging, I found it was due to a bug in MSI 5.0. Here are the details: I tried to configure failure action for service (i.e. My_Service) if the service fails and action ‘SC_ACTION_RESTART’ (i.e. Restart the service) is set. We can see this field (i.e. 1, that specify action ‘SC_ACTION_RESTART’, refer this for more detail) in Action table of ‘MsiServiceConfigFai
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community https://blogs.msdn.microsoft.com/vsnetsetup/2013/12/11/error-1939-the-service-my_service-could-not-be-configured/ Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Windows Installer (MSI 5.0) fails with ERROR 1939 during “MsiConfigureServices” action up vote 2 down vote favorite 1 When trying to install a setup package using the new http://stackoverflow.com/questions/16087805/windows-installer-msi-5-0-fails-with-error-1939-during-msiconfigureservices MSI 5.0 features of Windows Service Configuration (using Tables: MsiServiceConfig / MsiServiceConfigFailureActions) the service config fails and results in a rollback. The service itself is installed along with the same package under "LocalSystem" account. Regarding MSDN, these feature does have some limitations, but I am not sure if they are applicable here: "The services configuration feature of the Windows Installer cannot configure network service accounts, install shared service host (svchost) processes, or restart services stopped as part of the installation" (see http://msdn.microsoft.com/en-us/library/windows/desktop/dd408113(v=vs.85).aspx ) I have tried this with several variations on the failure actions count and type. Using SC_ACTION_NONE or SC_ACTION_RUN_COMMAND actions indeed work and lead to a successful install. Can you tell, why SC_ACTION_RESTART or SC_ACTION_REBOOT does 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,
Products People Change log Topics All Topics Questions Ideas Problems Praise Updates New Topic Questions All Topics Questions Ideas Problems Praise Updates Get Satisfaction uses Javascript and cookies. You'll need to enable Javascript and cookies to participate. Create a http://forum.nero.com/nero_eng/topics/nero_update_service_installation_fails_under_windows_8_1_cant_be_configured new topic About this Question 14 Replies 0 Promoted Responses 8 People Participating Products & Services Adding... Add a product + Start by typing a product or service name and we will look it up! Sorry, that https://sourceforge.net/p/wix/mailman/message/30463348/ product doesn't exist in our system yet. Nero Video Nero Recode Nero MediaHome Nero Burning ROM + Nero Express Nero 2015/2016 installation Nero Blu-ray Player Nero ControlCenter Nero Free Applications Nero - previous versions Nero - General questions msi error Photo books, Calendars, Cards Frequently asked questions Nero TuneItUp Nero BackItUp (finish) Tagged Add a tag + (finish) The mood in here 2002 Help get this topic noticed by sharing it on Twitter, Facebook, or email. I’m frustrated Edit Delete Francis Rivinus August 03, 2014 22:56 Nero Update Service installation fails under Windows 8.1 - can't be configured Edit Subject Installation of Platinum 14 Nero Update under Windows 8.1 fails with 'Error 1939. Service Nero msi error 1939 Update (NAUpdate) could not be configured. Anyone seen this before? How did you resolve it? 2 people havethis question +1 follow Answered 6292532 Link Short URL Reply I’m Thankful 0 Edit Delete Remove Official Fork Francis Rivinus August 03, 2014 23:06 Just solved my own problem. Tried running Nero Installer as administrator and everything went fine. Even though I am an administrator I still had to run the installer explicitly as administrator. Don't quite understand why but that appears to be how things work. Comment good answer! good answer!(undo) Cancel Edit Your Reply (some HTML allowed) What's the status of this question? Choose... Doesn't need answer Answered Just solved my own problem. Tried running Nero Installer as administrator and everything went fine. Even though I am an administrator I still had to run the installer explicitly as administrator. Don't quite understand why but that appears to be how things work. How does this make you feel? Add Image I'm e.g. kidding, amused, unsure, silly happy, confident, thankful, excited indifferent, undecided, unconcerned sad, anxious, confused, frustrated Cancel I’m frustrated 0 Edit Delete Remove Official Fork Martin Curno September 21, 2014 15:12 I have had exactly the same problem. However even when I install as Administrator the install stops with the same error message. Can anyone help? Comment good answer! good answer!(undo) Cancel Edit You
instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse WiX toolset Mailing Lists WiX toolset Brought to you by: barnson, robmen Summary Files Reviews Support Tickets ▾ Bugs Feature Requests Examples Mailing Lists Wiki News wix-commits wix-devs wix-users Re: [WiX-users] How do to configure a Windows service to "Restart the Service" upon failure? Re: [WiX-users] How do to configure a Windows service to "Restart the Service" upon failure? From: Marty Offe