Setup.exe command line




















Enter the install command string at the command prompt. Alternatively, you can create a command file and run it from the command prompt. The following command-line example shows how setup. The quotation marks are required only when the value contains a space; however, for consistency, all the instances in the preceding example are shown as having quotation marks. Otherwise, the Windows command shell sets the value to that of the user who is performing the installation.

When the installation is complete, we recommend that you run a Microsoft Update scan to ensure the latest updates are installed. Skip to main content. For more information on that scenario, including using Group Policy, see Choose how to manage updates to Microsoft Apps. When installing Microsoft Apps, you can exclude specific applications. To do so, follow the steps for installing Office with the ODT, but include the ExcludeApp element in your configuration file.

For example, this configuration file installs all the Microsoft Apps for enterprise applications except Publisher:. If you've already installed Microsoft Apps, you can also use the ExcludeApp element to remove an application that you've previously installed. For example, the configuration file above removes Publisher from the previous installation of Office. You can also remove an entire language version of Microsoft Apps. To do so, follow the steps for excluding products for installing Office with the ODT, but replace the configuration file with one that uses the Remove element.

For example, this configuration file removes the Spanish language version of Microsoft Apps for enterprise:. For more information about the options for excluding or removing apps, see Configuration options for the Office Deployment Tool. If you don't want OneDrive installed with those applications, use the ExcludeApp element to remove it, as shown in the example.

For details on deploying languages, see Overview of deploying languages for Microsoft Apps. As part of your deployment, you can define application preferences for Microsoft Apps, including VBA Macro notifications, default file locations, and default file formats. To do so, you deploy Office using the standard steps in Install Microsoft Apps , but you include application preferences as part of your configuration file. To create the configuration file, we recommend you use the Office Customization Tool for Click-to-Run , a web application with a full user interface.

In this example, the configuration file installs the bit version of Microsoft Apps for enterprise in English and displays the Trust Bar for all VBA macros in Excel.

For more information on the app preferences, we recommend browsing the options in the tool itself. Note: When Office is installed, the app preferences defined in the configuration file are applied to all existing users of the device and any new users added to the device in the future. You can apply new application preferences to client computers that already have Microsoft Apps installed without changing any other deployment setting.

To do so, create a configuration file that contains application preferences and then run the ODT in customize mode. Customize mode ignores all other settings in the configuration file except application preferences. You must run the executable from the client computer on which you want to apply the app preferences and you must have local administrator permissions on that computer.

When using customize mode, the app preferences defined in the configuration file are applied to all existing users of the device and any new users added to the device in the future.

If you apply application preferences when Office apps are running, the preferences will be applied when Office is next restarted. To do so, update the configuration file and then run the ODT in packager mode. You must create App-V packages on a computer that has a clean install of the operating system. This article does not cover all the issues related to deploying App-V packages. In this example, the configuration file creates an App-V package from a bit English edition of Microsoft Apps for enterprise without Publisher:.

For your configuration file, substitute the example values with the appropriate option for your environment. For more information about the options, see Configuration options for the Office Deployment Tool ,. From a command prompt, run the ODT executable in packager mode with a reference to the configuration file you saved and to the location where you want to save the App-V package.

This is a required parameter of the start command. Using quotation marks allows you to have spaces in the path. After the application to start has been specified, all the following parameters are interpreted as arguments sent to the application.

Be sure you can properly name a file! Well, the important point it seems here is that svcutil is not available by default from command line, you can run it from the vs xommand line shortcut but if you make a batch file normally that wont help unless you run the vcvarsall.

Below is a sample. Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site the association bonus does not count. Would you like to answer one of these unanswered questions instead?

Just type the devmgmt. Device Manager starts right up!



0コメント

  • 1000 / 1000