Jump to content
mememememememe

Office 365 ProPlus - Standalone install

Recommended Posts

Hello everyone, has anyone of you guys tried to create an an automated installer for this?


Source: https://support.office.com/en-us/article/Deploy-Office-365-ProPlus-from-a-local-source-35d4cb3b-4cc9-4bc9-9f20-eaf3c50f8331

Issue: You can't run the installer "as administrator" because opens a error message. You have double click and then you may enter the credentials..
i was trying to do this without disabling the UAC, his there any one who found a way out?

Notice: The processo runs perfectly by hand, i only need a workaround for this thing. 

 

Ty in advance.

Share this post


Link to post
Share on other sites

Have you tried running your script as admin?


Spoiler

 

"If a vegetarian eats vegetables,What the heck does a humanitarian eat?"

"I hear voices in my head, but I ignore them and continue on killing."

"You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring."

An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist.

 

 

Share this post


Link to post
Share on other sites

Is this any different than running the Office setup program with the /admin switch?


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By Fehera
      Hi, 
      We have a desktop application that have dozens of pop up windows. I can find the windows very easily and control the application using the Control functions, however, I came across a control that I can't get the text out of it. 
      According to the Window Info tool this control is a "listControl" which looks to me as a listview. (Attached images)
      I've tried the below:
      WinActivate("Sales Orders") Local $txt = ControlListView("Sales Orders", "", "listControl1", "GetText", 10, 1) ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $txt = ' & $txt & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console Local $stext = ControlGetText("Sales Orders", "", "listControl1") ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $stext = ' & $stext & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console Local $hwnd = ControlGetHandle("Sales Orders", "", "listControl1") Local $test = _GUICtrlListView_GetItemTextArray($hwnd) _ArrayDisplay($test) Local $hwnd = WinGetHandle("Sales Orders") ConsoleWrite("! " & _WinAPI_GetWindowInfo($hWnd) & @CRLF) _ArrayDisplay($hwnd) Please note, I've tried using the "listControl1", "[NAME:listControl1]", ID of the control, Class of the control, but the output is the same.
      And the output is: 
      Starting file test.au3... @@ Debug(8) : $txt = 0 >Error code: 1 @@ Debug(11) : $stext = >Error code: 1 ! test.au3 -> Exit Code: 0 (Runtime: 4.07 sec)  
      Unfortunately this system is not under our control and get this list in a separate (csv, excel) report would be painful, so I try to grab this information from this List control.
      I'm not waiting for a fully working code here, but could please someone point me in the right direction? I might just don't see the obvious here. 
      Many thanks in advance. 


    • By rudi
      Hello,
      very propably this has been asked before, well, I miss the thread(s) ...
      Is there a command line switch to tell the SciTE setup EXE to install silently ("/S") *AND* to end up with "edit" (instead of "run") as system wide default action for *.au3 files?
       

       
      As it can be done with the config tool:
      https://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/SciTEConfigb1.PNG
       
      Regards, Rudi.
    • By NiceBoy1234
      What is the best way to install a .air file with autoit?
      So far the programs understand if a usb driver is plugged in and opens the path which holds the .air file and runs it.

      I tried to install it using tabs and other keys but that is problematic.
      Could be there a solution to install in via command line or something where I can change things like installation location like in the normal installation?
    • By afallenhope
      Hello all!
      I have run into a bit of trouble with a project that I am working on. I currently have an autoit file calling a  java script to  go out and retrieve the latest install of X from an FTP Server. It works great! Well the problem I am running into now is since the file I grab is zipped I have to unzip so then I can run the installation for X. I thought I had found a way using 7-zip but I keep getting an error even if I try to run the installation myself saying "Error: Error loading XML file.. This application will now close." If I extract the files using windows explorer I am able to install the program. 
      I have my autoit file calling this .bat file and as a result I am unable to load from the unzipped folder due to this error loading XML file.
      cd "C:\Program Files (x86)\7-zip"
      7z e "C:\Users\NTS User\Documents\AutoInstall\XInstall.zip" -o"C:\Users\NTS User\Desktop\Autoit\X" -y
       
      Am I missing something with this? If anyone could provide insight I would deeply appreciate it. Thanks again! 
       
      Richard
      P.S. If I forgot to include anything just let me know! 
    • By dushkin
      Hi all,
      I need to supply a silent\quite installation of the Autoit setup autoit-v3-setup.exe. How can I achieve that?
      Thank you.
       
       
×
×
  • Create New...