The Product.wxs is the WIX Source File which we will modify shortly to define our package components. After you add it the solution looks like thisįig 4: The web site and the set up project together in one solution Now add the new WIX project to our solution. (Please use WIX documentation for basic understanding on Directory, Component and Feature elements in WIX source files) We need to install the WIX 3.0 version from to add the WIX plug-in to the Visual Studio. This location we will be the source for our installer package to pick up the required files while building the installer package.įig 2: Web Deployment Project property pagesįig 3: Files in Web Deployment project output folderĪuthoring Installer for our Sample Web Site: Leave the default value which is set to project output folder. Right click on Web Deployment project and open the Property pages to set up the output location for our compiled web site files. We will build the installer package to deploy this web site on to the target server.įig 1: Sample web site and its Web Deployment project Let’s create a simple website and add a Web Deployment Project to the Web Site. Rollback all the changes in case of failure.Remove everything that is created (Web Site, Physical Directories) on Un Install and leaves the target server in clean state with just few button clicks. Provide the features like Install, Un-Install, Repair and change to the site.Create/Modify the web site, Application Pool and configures it in IIS.NET Framework etc.) before applying any changes Check for all the Pre Requisites (OS Version, IIS version, and.We can automate this whole process by building a simple Windows Installer Package using WIX in the Visual Studio itself while working on the development of your site. Though this method is simple, it involves lot of manual effort in verifying the Pre Requisites, Creating/Modifying or Configuring the Web sites in IIS. Automating Web Deployment using Windows Installer XML (WIX) ĭeployment of web sites is usually done by copying the compiled ASP.NET web site files into the target virtual directory by using Copy Web Site or Publish web site features in Visual Studio and by manually creating and configuring the Web Site in IIS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |