SOLVED

Installing MicrosoftEdgeEnterpriseX64.msi - Error 1722

Copper Contributor

When installing MicrosoftEdgeBetaEnterpriseX64.msi (current Version 80.0.361.48) I get following MSI Error 1722:

 

Product: Microsoft Edge for Business- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.

 

At first, I thought it was being caused by the update-restriction being applied via GPO (ADMX), but even without this GPO settings applied or by reverting the corresponding setting in the registry, the installation fails as well.

 

The issue occurs on 57 from 240 workplaces (Windows 10 build 1709), but also on one Windows 10 build 1903. Remaining 1709 builds successfully installed the application.

 

SanderVR_0-1584369861389.png

 

Logfile: MSIc3130.LOG

Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.  Action DoInstall, location: C:\WINDOWS\Installer\MSI4045.tmp, command: /silent /install "appguid={56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}&appname=Microsoft Edge&needsAdmin=True&usagestats=0&ap=stable-arch_x64" /installsource enterprisemsi /appargs "appguid={56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%2C%22msi_product_id%22%3A%22DCF62978-E764-38B6-8D70-FD4BFF0EDEE5%22%2C%22allow_downgrade%22%3Afalse%7D%7D"

 

Other issue: https://techcommunity.microsoft.com/t5/enterprise/installing-microsoftedgebetaenterprisex64-msi-erro...

 

Could someone help us out finding a solution to the install failure?

16 Replies

@SanderVR Your solution in finding lies in finding the difference between the systems that have the deviation (57) and those that have not (240).

1722 usually means that a object or action in the msi could not be completed. 

I suggest looking at software that is on the IS systems versus the IS NOT systems.

* Is there already a Edge Chromium present on those systems?

* Maybe Adobe Flash is installed on the 54? Which cannot be removed without manual intervention?

 

reg, Henno

I have the exact same problem here, but using Edge 80.0.361.66.

No Adobe Flash, and no Edge Dev/Beta, just the default classic Edge distributed with Win10 1903.

I'm not sure what other installed software might block the Edge installer, any suggestions?

 

Best regards

 

@tjoanp 

 

i had this error with machines not enough space on c:\. so this error is just an something went wrong flag and doesnt say anything about an possible resason

@Henno_Keers 

Thanks for your reply. It is a good starting point, but we can already check these from the list:

- No Adobe Flash

- No previous Edge Chromium installations (as this is an initial deployment)

- No lack of available space on C:

 

Further more, there shouldn't be much difference between these systems.

 

Apparently I am not the only one facing this issue, according to the reaction of @tjoanp 

 

To be sure it is not caused by any system files being corrupt, I will run a DISM / SFC scan on one of the affected systems and try again. Will keep you guys posted... 

I ran "DISM /online /cleanup-image /restorehealth" with success and a "SFC /scannow" finished with a reboot. The SFC scan found errors and repaired them, but unfortunately this did not solve the install issue for me.
best response confirmed by SanderVR (Copper Contributor)
Solution

Today I retried the MSI install on a computer where it failed last week, and this time the installation went through without any hazzle. The only thing I *know* had changed was that the 2020-03 windows patches had been installed.

@tjoanp  Thanks for your reply! I sure owe you a beer :happyface:

 

After installing kb4541330 (2020-03 Cumulative update for Windows 10 1709 x64) - which is about 1050MB in size! - The same Edge Chromium build installed without any issues..

 

As these 2020-03 updates are now being deployed to the farm anyway, I expect hope the issue to resolve itself! :cool: Let's see

 

Thank you all for your responses.

 

Greetings

Sander

@SanderVR 

 

We have the same issue in our enterprise. Ever since version 80.0.361.109, clients that previously had the Edge Beta enterprise installed will fail to install the enterprise MSI anything from 80.0.361.109 

 

Our last successful deployment that was largely successful to devices was 80.0.361.69. Ever since version .109, the MSI fails on the same step as yours. (See at the end of this post for the log). 

 

My additional troubleshooting steps I took that didn't work:

 

  • Manual uninstalling and gutting out Edge and EdgeUpdate files, registry entries, and services (sc delete servicename) didn't help.
  • Installing the enterprise MSI of version 80.0.361.69 fails as well now, even after everything was manually removed
  • Installing the newer MSIs also fail, same MSI errors as below.
  • Disable group policy that blocks automatic updates from EdgeUpdate (and also deleted the registry items for the respective policies to EdgeUpdate)

 

This is the only thing that has worked for me so far:

  • Install the latest Edge Beta Enterprise MSI
  • Take the EdgeUpdate command that is from the MSI log that failed, and run the command manually to install Edge 81.0.416.53 (yes that entire block is one command... and running it manually works where the MSI fails to work).

 

C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe /silent /install "appguid={56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}&appname=Microsoft Edge&needsAdmin=True&usagestats=0&ap=stable-arch_x64" /installsource enterprisemsi /appargs "appguid={56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%2C%22msi_product_id%22%3A%2249DCD999-3A4A-30D9-8B5B-F1312CEFAB12%22%2C%22allow_downgrade%22%3Afalse%2C%22do_not_create_desktop_shortcut%22%3Afalse%7D%7D" 

 

 

Here is the snippet from the MSI log that are failing.

 

 

CustomAction DoInstall returned actual error code -2147219674 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (A8:D8) [08:58:53:562]: Note: 1: 1722 2: DoInstall 3: C:\WINDOWS\Installer\MSI502B.tmp 4: /silent /install "appguid={56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}&appname=Microsoft Edge&needsAdmin=True&usagestats=0&ap=stable-arch_x64" /installsource enterprisemsi /appargs "appguid={56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%2C%22msi_product_id%22%3A%2249DCD999-3A4A-30D9-8B5B-F1312CEFAB12%22%2C%22allow_downgrade%22%3Afalse%2C%22do_not_create_desktop_shortcut%22%3Afalse%7D%7D" 
MSI (s) (A8:D8) [08:58:53:562]: Note: 1: 2205 2:  3: Error 
MSI (s) (A8:D8) [08:58:53:562]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1722 

@Senturion33 

 

Hey,

 

had the same issue with the newest msi Version. 

 

Just found out there is a new parameter added for the msi Installer:

https://oofhours.com/2020/04/16/deploying-edge-without-a-desktop-shortcut-the-easier-but-not-easiest...

 

Added the parameter "DONOTCREATEDESKTOPSHORTCUT=true" to my PSADT Script and it worked.

Works with "false" as well! 

 

Maybe it will help you too ;)

Hi @Senturion33, if you're still facing this issue, could you send MSI command you ran, and the following EdgeUpdate log from a machine where the Edge MSI failed? %ALLUSERSPROFILE%\Microsoft\EdgeUpdate\Log\MicrosoftEdgeUpdate.log

For Edge Stable, the latest Windows updates listed in this link are required for it to install, so it's possible you were hitting that error; Edge Beta does not have this requirement.

 

@michli 

 

Thanks! I will check for that log on Monday from a problem computer. As a workaround, I enabled automatic updates for Edge so that clients could at least get updated. I'll see how the deployment looks with the current release of Edge MSI.

 

The command I am using to install Edge:

 

msiexec /i MicrosoftEdgeEnterprise64.msi /qn /norestart /log %temp%\update.log

 

 

 

I found that once I changed group policy settings from disable all automatic and manual updates and instead changed to allow manual updates only (by going to Help -> About), the MSI installs properly with 100% success rate across all client systems.

@Senturion33 thanks for following up, yes setting it to allow manual updates will allow you to install newer MSIs.

Click Start > Run. Type “Services.msc” without quotes and press Enter.Find Windows Installer and double click on it.Set the startup type of windows installer to manual.Click Start to Start Services and click OK.@SanderVR 

As this is still happening today: The most common reason for this is that Edge (standard/home) is already installed. This is not a side-by-side install, it's one or the other, sadly.
If you have Edge installed, just open Edge, click on the ellipsis, the 3 dots on the top right of the window, go to "Help and feedback" at the bottom of the menu, and click "About Microsoft Edge". This will update Edge and you won't need the update.
1 best response

Accepted Solutions
best response confirmed by SanderVR (Copper Contributor)
Solution

Today I retried the MSI install on a computer where it failed last week, and this time the installation went through without any hazzle. The only thing I *know* had changed was that the 2020-03 windows patches had been installed.

View solution in original post