Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
joshbula
Lurker
Posts: 2
Liked: 1 time
Joined: Feb 21, 2018 3:52 pm
Full Name: Josh Bula
Contact:

Cannot Install: Failed to initialize setup program

Post by joshbula » Feb 21, 2018 4:05 pm

I tried to update from 1.5 to 2.1.0.423 and I got an error message saying the original installation files were not available for SQL 2012.

I thought I'd try uninstalling to do a new clean install and got a similar message saying the original Veeam installation files were not available.

I then ran the Microsoft Program Install and Uninstall troubleshooter to uninstall Veeam Endpoint.

Now I'm trying to do a clean install of Veeam Agent for Windows 2.1.0.423 and it's failing with the message "Failed to initialize setup program. Refer to setup logs for details."

I have also uninstalled SQL Server 2012 LocalDB and everything else relating to SQL Server 2012, rebooted, and tried again. Same error. Same logs.

The complete installation Log:

Code: Select all

2018-02-21 10:49:20 [INFO ] Bootstrapper execution - started.
2018-02-21 10:49:20 [INFO ] Commandline processing - started.
2018-02-21 10:49:20 [INFO ] Commandline option: SfxPackage; Value: D:\Users\Josh.fmea\Downloads\VeeamAgentWindows_2.1.0.423\VeeamAgentWindows_2.1.0.423.exe
2018-02-21 10:49:20 [INFO ] Commandline processing - finished.
2018-02-21 10:49:20 [INFO ] Initializing.
2018-02-21 10:49:20 [INFO ] Initialization - finished. Starting bootstrap engine.
2018-02-21 10:49:20 [INFO ] Bootstrapper engine execution started.
2018-02-21 10:49:20 [INFO ] Checking required conditions.
2018-02-21 10:49:20 [INFO ] Performing condition check: Only this setup instance is running.
2018-02-21 10:49:20 [INFO ] Mutex1 = Global\5997E3B8-6B78-43E9-A7BC-F2F9C691E0A0, Mutex2 = Global\173C0D79-5D2D-41DF-A746-28D967D96EA0
2018-02-21 10:49:20 [INFO ] Condition check - passed.
2018-02-21 10:49:20 [INFO ] Performing condition check: Elevated privileges.
2018-02-21 10:49:20 [INFO ] Condition check - passed.
2018-02-21 10:49:20 [INFO ] Performing condition check: OS version.
2018-02-21 10:49:20 [INFO ] OS version check function execution started.
2018-02-21 10:49:20 [INFO ] Warning! Setup application should not be launched in compatibility mode.
2018-02-21 10:49:20 [INFO ] Condition check - passed.
2018-02-21 10:49:21 [INFO ] Performing condition check: Installed products.
2018-02-21 10:49:21 [UI MESSAGE] Failed to initialize setup program. Refer to setup logs for details.
2018-02-21 10:49:22 [UI MESSAGE] Interaction result: OK
2018-02-21 10:49:22 [ERROR] Bootstrapper has encountered a problem. Error details: This action is only valid for products that are currently installed.
It looks like it's failing after Performing condition check: Installed products... what installed products is it checking for?

What should I try next?

Dima P.
Product Manager
Posts: 11038
Liked: 919 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Cannot Install: Failed to initialize setup program

Post by Dima P. » Feb 21, 2018 5:37 pm

Hello Josh,

Please PM me your contact email address, I'll ask support team to reach you.

joefil
Novice
Posts: 4
Liked: never
Joined: Apr 03, 2017 11:22 pm
Contact:

Re: Cannot Install: Failed to initialize setup program

Post by joefil » Feb 22, 2018 1:57 am

Can you please post the answer as I face the same problem.
Thanks

Mike Resseler
Product Manager
Posts: 5891
Liked: 650 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Cannot Install: Failed to initialize setup program

Post by Mike Resseler » Feb 22, 2018 6:55 am

Hi Joefil,

Maybe best to PM Dima your email address also (refer with this topic link) as we don't have the OP's case #. So I can't check what the issue might have been
Cheers
Mike

joshbula
Lurker
Posts: 2
Liked: 1 time
Joined: Feb 21, 2018 3:52 pm
Full Name: Josh Bula
Contact:

Re: Cannot Install: Failed to initialize setup program

Post by joshbula » Mar 05, 2018 2:31 pm 1 person likes this post

The support team has finally been able to solve this for me. Here are the steps they had me go through:

Use a tool such as 7zip to extract all the files out of the exe

Install everything in the Redistr folder (it's the .net framework, and SQL Server Local DB stuff)

Try running the .msi from the Endpoint folder. This is what failed for me with an error "Local Administrator privileges are required to install the product" even though I was logged in with a local administrator account

Open an administrative command prompt and run the msi file with verbose logging:
"Veeam_B&R_Endpoint_x64.msi" /L*V "c:\temp\install.log"

That failed for me with the error "Failed to create RecoveryMediaUpdateRequired registry value."

Open regedit and create the key HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Endpoint Backup\RecoveryMediaUpdateRequired
Type: REG_SZ
Value: 0

When I ran the .msi again from the administrative command prompt, it installed successfully.

jcmachadouga
Enthusiast
Posts: 29
Liked: 7 times
Joined: Aug 02, 2011 2:17 pm
Full Name: Juan Machado
Contact:

Re: Cannot Install: Failed to initialize setup program

Post by jcmachadouga » May 02, 2018 12:45 pm

Only difference is a typo you had in this:

"Veeam_B&R_Endpoint_x64.msi" /L*V "c:\temp\install.log"

The correct syntax is "Veeam_B&R_Endpoint_x64.msi" /LV* "c:\temp\install.log"

Thanks but still the same issue :-(

Mike Resseler
Product Manager
Posts: 5891
Liked: 650 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Cannot Install: Failed to initialize setup program

Post by Mike Resseler » May 03, 2018 5:20 am

Juan,

Where is it exactly failing? After you run that .msi with the parameters? Still the same errors as the OP's error?

stephenbnb
Lurker
Posts: 1
Liked: never
Joined: Sep 02, 2019 12:05 pm
Contact:

Re: Cannot Install: Failed to initialize setup program

Post by stephenbnb » Sep 02, 2019 2:42 pm

Running into the same issue, there are 5 other forum threads describing what appears to be the same issue - yet NONE of them contain the steps to actually RESOLVE the issue (if there is a fix, that is) - tried the "Veeam_B&R_Endpoint_x64.msi" /L*V "c:\temp\install.log" step recommended here, but the only difference it makes it that the installer launches... but immediately fails with the error "The wizard was interrupted before Veeam Agent for Microsoft Windows could be completely installed." If I just try to run the installer EXE normally, it fails before the install wizard even launches - with the error "Failed to initialize setup program. Refer to setup logs for details."

When I try with arguments added to specify the log file location, this appears to be relevant error in the logs:

Action 9:33:22: VeeamEndpointValidateInstalledVersionAction. Checking upgrade possibility...
***Veeam*** Setup was unable to check installed version. Error code: 0x00000645.

Unfortunately, that lacks any useful specifics - namely WHAT it's checking to determine "upgrade possibility" - the existence of a specific folder? The existence or contents of a specific file? The alignments of Mercury & Jupiter? Patterns in chicken entrails? Who knows!

And also unfortunately, the threads on the issue all seem to end without any resolution provided - and most of them end with a recommendation to open a support ticket, but don't include any follow-up details detailing the results or the fix (again, if any). Given that the issue seems to have occurring as far back as the 1.x versions, is there any chance that it will ever actually be addressed properly?

Speaking of support tickets, that was what I tried first - assuming that if I started a support thread, then I just get told to do that anyway... but when I did, the only response it received basically said that Veeam support couldn't be bother to provide actual support for the issue - and even for that just that, the turnaround time was 48 hours.

wishr
Veeam Software
Posts: 1440
Liked: 149 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: Cannot Install: Failed to initialize setup program

Post by wishr » Sep 02, 2019 2:44 pm

Hi Stephen,

Welcome to Veeam Community Forums!

Could you please share your support case ID with us?

Thanks

Duri
Lurker
Posts: 1
Liked: never
Joined: Oct 14, 2019 7:56 pm
Full Name: Juraj Adamik
Contact:

Re: Cannot Install: Failed to initialize setup program

Post by Duri » Oct 21, 2019 1:44 pm

Hello,
I have the same problem, a tried steps from forum threads but any one help resolve problem. Veeam quit when trying start service..

Code: Select all

Action 21:47:25: . 
MSI (s) (20:D4) [21:47:25:691]: Executing op: ActionStart(Name=StartServices,Description=Starting services,Template=Service: [1])
Action 21:47:25: StartServices. Starting services
MSI (s) (20:D4) [21:47:25:691]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (20:D4) [21:47:25:691]: Executing op: ServiceControl(,Name=VeeamEndpointBackupSvc,Action=1,Wait=1,)
StartServices: Service: Veeam Agent for Microsoft Windows
Error 1920.Service Veeam Agent for Microsoft Windows (VeeamEndpointBackupSvc) failed to start.  Verify that you have sufficient privileges to start system services.
MSI (s) (20:E0) [21:53:23:426]: I/O on thread 5824 could not be cancelled. Error: 1168
MSI (s) (20:E0) [21:53:23:426]: I/O on thread 5456 could not be cancelled. Error: 1168
MSI (s) (20:E0) [21:53:23:426]: I/O on thread 5844 could not be cancelled. Error: 1168
MSI (s) (20:E0) [21:53:23:426]: I/O on thread 1348 could not be cancelled. Error: 1168
MSI (s) (20:E0) [21:53:23:426]: I/O on thread 4100 could not be cancelled. Error: 1168
MSI (s) (20:E0) [21:53:23:426]: I/O on thread 5108 could not be cancelled. Error: 1168
MSI (s) (20:E0) [21:53:23:426]: I/O on thread 3512 could not be cancelled. Error: 1168
MSI (s) (20:D4) [21:53:23:426]: Product: Veeam Agent for Microsoft Windows -- Error 1920.Service Veeam Agent for Microsoft Windows (VeeamEndpointBackupSvc) failed to start.  Verify that you have sufficient privileges to start system services.
My ticket ID# 03812695

Dima P.
Product Manager
Posts: 11038
Liked: 919 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Cannot Install: Failed to initialize setup program

Post by Dima P. » Oct 24, 2019 11:49 am

Hello Duri,

I've asked support team to review your case details. Cheers!

ThaVWMan
Novice
Posts: 4
Liked: never
Joined: Aug 12, 2013 4:40 pm
Full Name: Nick Sitar
Contact:

Re: Cannot Install: Failed to initialize setup program

Post by ThaVWMan » Nov 21, 2019 1:47 pm

Was this ever resolved?

Vitaliy S.
Product Manager
Posts: 23423
Liked: 1665 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Cannot Install: Failed to initialize setup program

Post by Vitaliy S. » Nov 21, 2019 2:07 pm

In the previous case, the possible root cause of the issue was insufficient permissions to start the service, but Juraj didn't respond to confirm it. Try launching the setup using the local admin credentials. If this doesn't help, please contact our support team for assistance. Thanks!

Post Reply

Who is online

Users browsing this forum: AuGL and 10 guests