Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconstitute installer flags #8945

Merged
merged 2 commits into from
Oct 10, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions aspnetcore/host-and-deploy/iis/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,13 @@ Enable the **IIS Management Console** and **World Wide Web Services**.
1. Run the installer on the server.

**Important!** If the Hosting Bundle is installed before IIS, the bundle installation must be repaired. Run the Hosting Bundle installer again after installing IIS.

To prevent the installer from installing x86 packages on an x64 OS, run the installer from an administrator command prompt with the switch `OPT_NO_X86=1`.

Run the installer from an administrator command prompt with one or more switches to control the behavior of the installer:

* `OPT_NO_ANCM=1` – Skip installing the ASP.NET Core Module.
* `OPT_NO_RUNTIME=1` – Skip installing the .NET Core runtime.
* `OPT_NO_SHAREDFX=1` – Skip installing the ASP.NET Shared Framework (ASP.NET runtime).
* `OPT_NO_X86=1` – Skip installing x86 runtimes. Use this switch when you know that you won't be hosting 32-bit apps. If there's any chance that you will host both 32-bit and 64-bit apps in the future, don't use this switch and install both runtimes.

1. Restart the system or execute **net stop was /y** followed by **net start w3svc** from a command prompt. Restarting IIS picks up a change to the system PATH, which is an environment variable, made by the installer.

Expand Down