C#: Hosting Web PI GUI In Own Application

The Microsoft Web Platform Installer (WPI) is a very cool tool for installing frameworks, programs and web application. It automatically resolves installs dependencies, which makes it my top choice for deploying my own applications.

In some cased, I need to install multiple applications and update their local configuration to contain data of other applications (e.g., the web site URL of one application gets written to the web.config of another application). The installer application internally uses WPI to perform the dependency resolving and the actual installation. The installer application itself performs the cross-application configuration and installs other components not installable via WPI.

This post shows how to integrate WPI’s GUI into a custom application.Read More »

Modify Web Platform Installer Configuration with C#

Suppose you intend to call the Web Platform Installer (WPI) from C# code or from the PowerShell. Suppose you want to provide a custom feed or want to change the address of the remote db server and display WPI to the user to perform an installation. Unfortunately, you cannot supply configuration parameters to the UI version of WPI (WebPlatformInstaller.exe). The command-line version (WebPiCmd.exe) can be supplied with all necessary parameters, but does not display a nice UI to the user so he\she can conveniently configure the installed application.

This post shows how to modify the WPI preferences file using C#. This file contains the configuration of the UI version of Web Platform Installer.Read More »