Start with prerequisites when deploying LOB apps

%3CLINGO-SUB%20id%3D%22lingo-sub-2380797%22%20slang%3D%22en-US%22%3EStart%20with%20prerequisites%20when%20deploying%20LOB%20apps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2380797%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20trying%20to%20deploy%20our%20BI%20app%20via%20Endpoint%20Manager%2C%20but%20it%20has%20some%26nbsp%3Bprerequisites.%26nbsp%3B%3CBR%20%2F%3EWhen%20they%20are%20not%20installed%20in%20the%20correct%20order%2C%20the%20installation%20fails.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20made%204%20PS%20scripts%20that%20takes%20care%20of%20the%26nbsp%3Bprerequisites%2C%20but%20these%20need%20to%20run%20in%20the%20correct%20order%20to%20make%20it%20work.%3CBR%20%2F%3E1.%20PS%3A%20Add%20SQL%20server%20to%20users%20hosts%20file.%3CBR%20%2F%3E2.%20PS%3A%20Add%20an%20ODBC%20connection%20for%20SQL%20driver.%3CBR%20%2F%3E3.%20PS%3A%20Install%20.net3%20(Windows%20feature)%3C%2FP%3E%3CP%3E4.%20LOB%3A%20Install%20my%20LOB%20app%20(BI%20system)%3CBR%20%2F%3E5.%20PS%3A%20Create%20settings%20file%20in%20BI%20App%20directory%3C%2FP%3E%3CP%3EI%20can%20run%20the%20scripts%20manually%2C%20push%20the%20app%20and%20run%20the%20last%20script%20without%20problems.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20when%20I%20publish%20the%20app%20and%20the%20scripts%20in%20Endpoint%20Manager%2C%20I%20cant%20seem%20to%20control%20in%20which%20order%20they%20are%20run%2C%20and%20the%20everything%20falls%20apart.%3CBR%20%2F%3EI%20was%20hoping%20that%20they%20would%20just%20%22retry%22%20until%20everything%20had%20been%20installed%20in%20the%20correct%20order%2C%20but%20it%20doesn't%20seem%20so.%3CBR%20%2F%3EIs%20there%20a%20way%20to%20%22force%22%20a%20retry%2C%20or%20some%20way%20to%20control%20the%20order%20in%20which%20things%20are%20deployed%20to%20the%20clients%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2380797%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%20Device%20Management%20(MDM)%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESoftware%20Management%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2383022%22%20slang%3D%22en-US%22%3ERe%3A%20Start%20with%20prerequisites%20when%20deploying%20LOB%20apps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2383022%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20could%20add%20those%20scripts%20to%20one%20PowerShell%20scripts%20which%20calls%20up%20the%20scripts%20one%20at%20the%20time%20and%20convert%20it%20to%20a%20Win32App.%20(or%20create%20on%20big%20powershell%20script...)The%20win32app%20has%20all%20of%20the%20scripts%20in%20it%2C%20its%20just%20like%20a%20big%20zip%20file%20with%20a%20installation%20file%3CBR%20%2F%3E%3CBR%20%2F%3EThis%20app%20would%20call%20upon%20the%20first%20install%20script.%20This%20script%20will%20call%20upon%20the%20separate%20scripts.%3C%2FLINGO-BODY%3E
Visitor

I'm trying to deploy our BI app via Endpoint Manager, but it has some prerequisites. 
When they are not installed in the correct order, the installation fails.

I have made 4 PS scripts that takes care of the prerequisites, but these need to run in the correct order to make it work.
1. PS: Add SQL server to users hosts file.
2. PS: Add an ODBC connection for SQL driver.
3. PS: Install .net3 (Windows feature)

4. LOB: Install my LOB app (BI system)
5. PS: Create settings file in BI App directory

I can run the scripts manually, push the app and run the last script without problems.

 

But when I publish the app and the scripts in Endpoint Manager, I cant seem to control in which order they are run, and the everything falls apart.
I was hoping that they would just "retry" until everything had been installed in the correct order, but it doesn't seem so.
Is there a way to "force" a retry, or some way to control the order in which things are deployed to the clients?

 

1 Reply
Hi,

You could add those scripts to one PowerShell scripts which calls up the scripts one at the time and convert it to a Win32App. (or create on big powershell script...)The win32app has all of the scripts in it, its just like a big zip file with a installation file

This app would call upon the first install script. This script will call upon the separate scripts.