Forum Discussion

Procradminator's avatar
Procradminator
Brass Contributor
Apr 18, 2018
Solved

SaRA scripted install

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

  • AlexanderHolmeset's avatar
    AlexanderHolmeset
    Apr 18, 2018

    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:

     

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

11 Replies

  • You could do it like this:

    But this could be a showstopper:

     

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

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

     

    • Procradminator's avatar
      Procradminator
      Brass Contributor

      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.

      • AlexanderHolmeset's avatar
        AlexanderHolmeset
        MVP

        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.

Resources