SOLVED

SaRA scripted install

%3CLINGO-SUB%20id%3D%22lingo-sub-184103%22%20slang%3D%22en-US%22%3ESaRA%20scripted%20install%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-184103%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20all%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20looking%20to%20deploy%20the%20SaRA%20tool%20(%3CA%20href%3D%22https%3A%2F%2Fdiagnostics.office.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdiagnostics.office.com%2F%3C%2FA%3E%20)%20to%20our%20client%20Windows%20devices%20using%20a%20script%20(PowerShell%20preferably)%20but%20can't%20find%20an%20offline%20installer%20or%20MSI%20to%20be%20able%20to%20do%20that.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%20this%20be%20achieved%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESurely%20it%20would%20be%20good%20to%20have%20this%20installed%20and%20ready%20on%20a%20machine%20available%20for%20the%20end%20user%20to%20run%20up%20when%20an%20O365%20support%20call%20comes%20into%20the%20helpdesk.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETIA%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAndrew%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-184103%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-362659%22%20slang%3D%22en-US%22%3ERe%3A%20SaRA%20scripted%20install%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-362659%22%20slang%3D%22en-US%22%3E%3CP%3ESorry%20Roy%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHad%20no%20luck%20and%20realised%20it%20was%20flogging%20a%20dead%20horse%20so%20that%20one%20was%20shelved.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20get%20anywhere%2C%20do%20post%20here%20as%20I%20still%20think%20it's%20something%20that%20should%20be%20available%20on%20any%20machine%20running%20Office365%20as%20a%20matter%20of%20course.%20You'd%20think%20it%20would%20be%20included%20in%20the%20Office%20install%20wouldn't%20you%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGood%20luck.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-362655%22%20slang%3D%22en-US%22%3ERe%3A%20SaRA%20scripted%20install%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-362655%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Andrew%2C%3CBR%20%2F%3ECurious%20if%20you%20managed%20to%20successfully%20deploy%20a%20script%20for%20Microsoft.Sara.exe%20to%20silent%20install%20on%20a%20new%20machine%3F%3CBR%20%2F%3EMicrosoft%20have%20advised%20us%20to%20manually%20run%20SaRa%20on%20each%20machine%20in%20order%20to%20uninstall%2032bit%20office%20suite%2C%20obviously%20this%20is%20not%20practical.%20Therefore%20we%20are%20seeking%20an%20automated%20approach.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-184767%22%20slang%3D%22en-US%22%3ERe%3A%20SaRA%20scripted%20install%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-184767%22%20slang%3D%22en-US%22%3E%3CP%3EI%20moved%20the%20Microsoft.Sara.exe%20to%20another%20machine%20and%20running%20it%20alone%20does%20nothing.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20whole%20folder%20is%20100MB%20but%20zips%20up%20to%2020MB.%20Moving%20this%20to%20another%20machine%20and%20running%20it%20after%20uncompressing%20works%20so%20I%20guess%20my%20script%20will%20need%20to%20do%20that.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENext%20step%20is%20write%20the%20deployment%20script%20but%20it's%20looking%20good%20so%20I'll%20mark%20your%20reply%20as%20the%20best%20answer.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20again.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-184719%22%20slang%3D%22en-US%22%3ERe%3A%20SaRA%20scripted%20install%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-184719%22%20slang%3D%22en-US%22%3E%3CP%3EWow%20-%20I'll%20go%20and%20give%20this%20a%20try%20now%20but%20full%20marks%20for%20tenacity.%20I'll%20report%20back%20here%20later%20and%20mark%20your%20past%20as%20the%20answer%20if%20all%20is%20well.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20very%20much.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-184415%22%20slang%3D%22en-US%22%3ERe%3A%20SaRA%20scripted%20install%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-184415%22%20slang%3D%22en-US%22%3E%3CP%3EI%20copied%20the%20content%20of%20the%20path%20where%20the%20applications%20is%20stored%20under%20appdata.%20Uinstalled%2C%20and%20started%20the%20applications%20from%20the%20Microsoft.sara.exe%20file.%20It%20worked!%3CBR%20%2F%3EInstall%20the%20application%20and%20run%20it.%20Open%20taskmanager%2C%20and%20right%20click%20the%20app%2C%20then%20press%20open%20location%3A%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F32552i86454F72B69570AD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22app2.png%22%20title%3D%22app2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20now%20i%20guess%20you%20can%20create%20a%20shortcut%20to%20the%20exe%20poiting%20to%20a%20network%20path%20or%20create%20a%20pacakge%20somehow.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-184405%22%20slang%3D%22en-US%22%3ERe%3A%20SaRA%20scripted%20install%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-184405%22%20slang%3D%22en-US%22%3E%3CP%3EMaybe%20on%20to%20something%20here%3A%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F32551i82FD6531A1CE2C66%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22app.png%22%20title%3D%22app.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-184400%22%20slang%3D%22en-US%22%3ERe%3A%20SaRA%20scripted%20install%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-184400%22%20slang%3D%22en-US%22%3E%3CP%3EIm%20further%20down%20the%20rabbit%20hole.%20Looks%20like%20this%20is%20a%20click%20once%20application.%20Installs%20under%26nbsp%3BAppData%5CLocal%5CApps%5C2.0.%20I%20tried%20copying%20the%20files%2C%20and%20the%20applications%20reference(shortcut)%20before%20uinstalling%2C%20then%20puttign%20the%20files%20back%20where%20they%20where.%20When%20running%20the%20application%20reference%2C%20it%20just%20tries%20to%20download%20the%20application%20again.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-184242%22%20slang%3D%22en-US%22%3ERe%3A%20SaRA%20scripted%20install%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-184242%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Alexander.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%20I%20really%20need%20a%20silent%20install%20which%20is%20why%20the%20web%20package%20is%20a%20problem.%20I%20need%20an%20offline%20MSI%20or%20EXE%20but%20can't%20find%20one%20for%20this%20install%20which%20is%20very%20frustrating.%20I'm%20hoping%20someone%20knows%20where%20to%20find%20it%20or%20maybe%20generate%20it%20from%20the%20web%20installed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EInvoking%20the%20setup%20from%20PowerShell%20isn't%20the%20problem%20but%20I%20appreciate%20your%20time%20to%20reply.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-184212%22%20slang%3D%22en-US%22%3ERe%3A%20SaRA%20scripted%20install%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-184212%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20could%20do%20it%20like%20this%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F32522iA43EDBF7BA079DFC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%221.png%22%20title%3D%221.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EBut%20this%20could%20be%20a%20showstopper%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F32523i8347F664E61D36E5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%222.png%22%20title%3D%222.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECould%20also%20be%20that%20you%20need%20to%20run%20the%20PowerShell%20remoting%20elevated.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3ECould%20maybe%20be%20taht%20there%20are%20some%20EXE%20to%20MSI%20converters%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1345214%22%20slang%3D%22en-US%22%3ERe%3A%20SaRA%20scripted%20install%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1345214%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F7244%22%20target%3D%22_blank%22%3E%40Andrew%20HUSSEY%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20trying%20to%20do%20something%20similar.%3C%2FP%3E%3CP%3EJust%20found%20the%20following%20which%20might%20be%20helpful...%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Ftroubleshoot%2Finstallation%2Finstall-sara-from-network-share%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Ftroubleshoot%2Finstallation%2Finstall-sara-from-network-share%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1345416%22%20slang%3D%22en-US%22%3ERe%3A%20SaRA%20scripted%20install%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1345416%22%20slang%3D%22en-US%22%3EThat's%20new%20and%20does%20look%20more%20promising.%20Thanks.%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hello all

 

I'm looking to deploy the SaRA tool (https://diagnostics.office.com/ ) to our client Windows devices using a script (PowerShell preferably) but can't find an offline installer or MSI to be able to do that.

 

How can this be achieved?

 

Surely it would be good to have this installed and ready on a machine available for the end user to run up when an O365 support call comes into the helpdesk.

 

TIA

 

Andrew

11 Replies
Highlighted

You could do it like this:

1.png

But this could be a showstopper:

2.png

 

Could also be that you need to run the PowerShell remoting elevated. 

Could maybe be taht there are some EXE to MSI converters?

 

Highlighted

Thanks Alexander.

 

Yes, I really need a silent install which is why the web package is a problem. I need an offline MSI or EXE but can't find one for this install which is very frustrating. I'm hoping someone knows where to find it or maybe generate it from the web installed.

 

Invoking the setup from PowerShell isn't the problem but I appreciate your time to reply.

Highlighted

Im further down the rabbit hole. Looks like this is a click once application. Installs under AppData\Local\Apps\2.0. I tried copying the files, and the applications reference(shortcut) before uinstalling, then puttign the files back where they where. When running the application reference, it just tries to download the application again.

Highlighted

Maybe on to something here:
app.png

Highlighted
Best Response confirmed by Andrew HUSSEY (Occasional Contributor)
Solution

I copied the content of the path where the applications is stored under appdata. Uinstalled, and started the applications from the Microsoft.sara.exe file. It worked!
Install the application and run it. Open taskmanager, and right click the app, then press open location:
app2.png

 

So now i guess you can create a shortcut to the exe poiting to a network path or create a pacakge somehow. 

Highlighted

Wow - I'll go and give this a try now but full marks for tenacity. I'll report back here later and mark your past as the answer if all is well.

 

Thank you very much.

Highlighted

I moved the Microsoft.Sara.exe to another machine and running it alone does nothing.

 

The whole folder is 100MB but zips up to 20MB. Moving this to another machine and running it after uncompressing works so I guess my script will need to do that.

 

Next step is write the deployment script but it's looking good so I'll mark your reply as the best answer.

 

Thanks again.

Highlighted

Hello Andrew,
Curious if you managed to successfully deploy a script for Microsoft.Sara.exe to silent install on a new machine?
Microsoft have advised us to manually run SaRa on each machine in order to uninstall 32bit office suite, obviously this is not practical. Therefore we are seeking an automated approach.

Thanks.

Highlighted

Sorry Roy

 

Had no luck and realised it was flogging a dead horse so that one was shelved.

 

If you get anywhere, do post here as I still think it's something that should be available on any machine running Office365 as a matter of course. You'd think it would be included in the Office install wouldn't you?

 

Good luck.

Highlighted

@Andrew HUSSEY 

We are trying to do something similar.

Just found the following which might be helpful...

https://docs.microsoft.com/en-us/office365/troubleshoot/installation/install-sara-from-network-share

 

 

Highlighted
That's new and does look more promising. Thanks.