Windows AutoPilot - Failed to Install last app (alt+tab shows Visual C++)

%3CLINGO-SUB%20id%3D%22lingo-sub-1220272%22%20slang%3D%22en-US%22%3EWindows%20AutoPilot%20-%20Failed%20to%20Install%20last%20app%20(alt%2Btab%20shows%20Visual%20C%2B%2B)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1220272%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20everyone.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe're%20running%20a%20deployment%20of%20Windows%20AutoPilot%20(we've%20done%20for%20a%20fair%20chunk%20of%20clients%20now%20successfully)%20however%2C%20we've%20one%20instance%20that%20we're%20not%20able%20to%20get%20around.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20installing%20the%20apps%20it%20sometimes%20(%3CSTRONG%3EBehaviour%201%20below%3C%2FSTRONG%3E)%20fails%20on%20an%20app.%20Some%20times%20it%20goes%20through%20fine%20but%20prompts%20for%20install%20once%20completed%20deploying%20(%3CSTRONG%3EBehaviour%202%20below%3C%2FSTRONG%3E)%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3EBehaviour%201%20of%202%3C%2FSTRONG%3E%3A%20While%20deploying%20and%20on%20the%20Enrollment%20Status%20Page%20-%20it%20is%20showinf%207%2F8%20apps%20installing%2C%20and%20then%20after%20an%20hour%20or%20so%20it%20fails.%20If%20I%20press%20and%20hold%20ALT%2BTAB%20while%20it%20is%20on%20the%20deployment%20phase%20of%20the%20apps.%20it%20shows%20%3CSTRONG%3EVisual%20C%2B%2B%3C%2FSTRONG%3E%20%3CSTRONG%3E2010%3C%2FSTRONG%3E%20in%20the%20background%20trying%20to%20prompt%20the%20user%20to%20accept%20the%20license%20tersms%20and%20requing%20user%20to%20click%20install.%20-%20Even%20though%20you%20hold%20down%20ALT%2BTAB%20you%20can't%20actually%20switch%20to%20this%20to%20continue%20to%20accept%20the%20license%20and%20install%20the%20Visual%20C%2B%2B%20installation.%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20are%20left%20with%20the%20deploying%20failing%20and%20the%20user%20needs%20to%20click%20%22%3CSTRONG%3EContinue%20anyway%3C%2FSTRONG%3E%22%20at%20the%20bottom.%20When%20you%20click%20continue%20anyway%2C%20it%20opens%20up%20the%20desktop%20and%20you%20need%20to%20then%20accept%20the%20license%20terms%20and%20install%20Visual%20C%2B%2B%202010.%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%2220200310_124225.jpg%22%20style%3D%22width%3A%20562px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F176206i7B06F6C5544525F6%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%2220200310_124225.jpg%22%20alt%3D%2220200310_124225.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3EWin%20Version%201903%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3EBehavious%202of%202%3C%2FSTRONG%3E%3A%20While%20deploying%20and%20on%20the%20Enrollment%20Status%20Page%20it%20passes%208%2F8%20apps%20and%20then%20goes%20straight%20to%20the%20desktop%20desktop%20and%20you%20need%20to%20then%20accept%20the%20license%20terms%20and%20install%20Visual%20C%2B%2B%202010.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EWin%20Version%201909%3C%2FP%3E%3CP%3EI%20understand%20one%20of%20the%20apps%20ovbiously%20requires%20the%20Visual%20C%2B%2B%20to%20install%20-%20not%20sure%20how%20we%20bypass%20this%20behaviour%20so%20there%20is%20no%20need%20for%20user%20intervention%20to%20complete%20this%20part.%3CBR%20%2F%3E%3CBR%20%2F%3EMany%20thanks%20for%20reading%20through.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1220272%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAutopilot%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EEMS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1220505%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20AutoPilot%20-%20Failed%20to%20Install%20last%20app%20(alt%2Btab%20shows%20Visual%20C%2B%2B)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1220505%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F41521%22%20target%3D%22_blank%22%3E%40Adam%20Weldon-Ming%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20is%20the%20list%20of%20application%20you%20trying%20to%20install%3F%3C%2FP%3E%3CP%3EI%20think%20one%20of%20your%20application%20try%20automatically%20install%20the%20Visual%20C%2B%2B%20Runtime.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20split%20your%20application%20in%20two%20apps%3A%3C%2FP%3E%3COL%3E%3CLI%3EApp%20xxx%3C%2FLI%3E%3CLI%3E%26nbsp%3BApp%20Visual%20C%2B%2B%20Runtime%26nbsp%3B%3C%2FLI%3E%3C%2FOL%3E%3CP%3EAnd%20add%20Visual%20C%2B%2B%20Runtime%26nbsp%3B%20in%20dependencie%20of%20your%20application%20xxx%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%26nbsp%3B%3C%2FP%3E%3CP%3EJulien%3C%2FP%3E%3CP%3EJulien%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1253094%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20AutoPilot%20-%20Failed%20to%20Install%20last%20app%20(alt%2Btab%20shows%20Visual%20C%2B%2B)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1253094%22%20slang%3D%22en-US%22%3EHey%20Julien%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20for%20the%20response%2C%20I%20am%20going%20to%20try%20this%20out.%3CBR%20%2F%3E%3CBR%20%2F%3EEssentially%203CX%20Phone%20App%20requires%20Visual%20C%2B%2B%202010%20and%202015%20in%20the%20install.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20will%20try%20installs%20for%20these%20and%20add%20them%20as%20installs%20and%20set%20them%20to%20install%20via%20dependencies%20before%203CX%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%3CBR%20%2F%3EAdam%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1254206%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20AutoPilot%20-%20Failed%20to%20Install%20last%20app%20(alt%2Btab%20shows%20Visual%20C%2B%2B)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1254206%22%20slang%3D%22en-US%22%3EHi%20Adam%2C%3CBR%20%2F%3E%3CBR%20%2F%3EMy%20advice%20is%20to%20disable%20ESP%20because%20it%20takes%20forever%20and%20user%20shouldn%E2%80%99t%20have%20to%20wait%20or%20see%20the%20page%2C%20especially%20if%20it%20shows%20errors%20which%20often%20happened.%20You%20can%20disable%20it%20Windows%20Enrollment-%26gt%3BEnrollment%20Staus%20Page.%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20Visual%20%2B%202010%2C%20I%20had%20similar%20experience%20with%20it%2C%20because%20I%20didn%E2%80%99t%20have%20anyways%20to%20push%20it%20silently%20(MSI%20or%20Exe)%2C%20I%E2%80%99ve%20decided%20to%20add%20it%20to%20OEM%20image%20from%20Manufacturer.%3CBR%20%2F%3E%3CBR%20%2F%3EIt%E2%80%99s%20workaround%20but%20it%20work%20like%20charm!%3CBR%20%2F%3E%3CBR%20%2F%3EGood%20luck!%3CBR%20%2F%3E%3CBR%20%2F%3EMoe%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hello everyone.

 

We're running a deployment of Windows AutoPilot (we've done for a fair chunk of clients now successfully) however, we've one instance that we're not able to get around.

 

On installing the apps it sometimes (Behaviour 1 below) fails on an app. Some times it goes through fine but prompts for install once completed deploying (Behaviour 2 below

Behaviour 1 of 2: While deploying and on the Enrollment Status Page - it is showinf 7/8 apps installing, and then after an hour or so it fails. If I press and hold ALT+TAB while it is on the deployment phase of the apps. it shows Visual C++ 2010 in the background trying to prompt the user to accept the license tersms and requing user to click install. - Even though you hold down ALT+TAB you can't actually switch to this to continue to accept the license and install the Visual C++ installation.

You are left with the deploying failing and the user needs to click "Continue anyway" at the bottom. When you click continue anyway, it opens up the desktop and you need to then accept the license terms and install Visual C++ 2010.
20200310_124225.jpg

 



Win Version 1903

Behavious 2of 2: While deploying and on the Enrollment Status Page it passes 8/8 apps and then goes straight to the desktop desktop and you need to then accept the license terms and install Visual C++ 2010.


Win Version 1909

I understand one of the apps ovbiously requires the Visual C++ to install - not sure how we bypass this behaviour so there is no need for user intervention to complete this part.

Many thanks for reading through.

 

A

3 Replies

@Adam Weldon-Ming 

 

Hello, 

 

What is the list of application you trying to install?

I think one of your application try automatically install the Visual C++ Runtime.

 

You can split your application in two apps:

  1. App xxx
  2.  App Visual C++ Runtime 

And add Visual C++ Runtime  in dependencie of your application xxx

 

Regards, 

Julien

Julien

Highlighted
Hey Julien,

Thanks for the response, I am going to try this out.

Essentially 3CX Phone App requires Visual C++ 2010 and 2015 in the install.

I will try installs for these and add them as installs and set them to install via dependencies before 3CX

Best,
Adam
Highlighted
Hi Adam,

My advice is to disable ESP because it takes forever and user shouldn’t have to wait or see the page, especially if it shows errors which often happened. You can disable it Windows Enrollment->Enrollment Staus Page.

For Visual + 2010, I had similar experience with it, because I didn’t have anyways to push it silently (MSI or Exe), I’ve decided to add it to OEM image from Manufacturer.

It’s workaround but it work like charm!

Good luck!

Moe