Skip to content

lextm/iisexpress-httpplatformhandler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PowerShell Scripts to Install/Uninstall HttpPlatformHandler for IIS Express

The Open Source HttpPlatformHandler for IIS Express

LeXtudio Inc. started to ship its own version of HttpPlatformHandler, so you might use its IIS Express installers directly.

To learn more, you can start with this post.

Install

  1. Install IIS Express.

  2. Download Microsoft HttpPlatformHandler for IIS installer.

  3. Install lessmsi tool and configure it in your PATH (so that lessmsi can be called by the install script).

  4. Run the proper command to install HttpPlatformHandler to IIS Express,

    If HttpPlatformHandler for IIS has been installed on this same machine in advance, then -msiFile switch can be omitted.

    For VS 2015 and above, you must use -fileName switch to guide the script and modify the correct applicationHost.config file for your Visual Studio solution file. To learn more on how to locate the correct config file, you can read this article.

    • At command prompt
    powershell.exe -file install.ps1 -msiFile httpPlatformHandler_amd64.msi
    • In PowerShell console
    .\install.ps1 -msiFile httpPlatformHandler_amd64.msi

The configuration on IIS Express is exactly the same as IIS, and just make sure you are editing the right config files,

https://learn.microsoft.com/iis/extensions/httpplatformhandler/httpplatformhandler-configuration-reference

Uninstall

  1. Run uninstall.ps1 to uninstall HttpPlatformHandler from IIS Express.

Notes

  • The current release only supports Windows x64 machines.
  • The scripts must be run as administrator, because they need to copy/remove files to/from Program Files folder.
  • install.ps1 and uninstall.ps1 only manipulate the default IIS Express config file in current user's My Documents folder.
  • If a custom config file needs to be modified, run the PowerShell scripts with arguments (like install.ps1 -fileName custom.config).

About

PowerShell Scripts to Install/Uninstall HttpPlatformHandler for IIS Express

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published