Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Since the article mentioned by David seems lost, here is an example. This also creates an application in the virtual directory.</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension"&gt; &lt;Product Id="6f2b2358-YOUR-GUID-HERE-aa394e0a73a2" Name="WixProject" Language="1033" Version="1.0.0.0" Manufacturer="WixProject" UpgradeCode="225aa7b2-YOUR-GUID-HERE-110ef084dd72"&gt; &lt;Package InstallerVersion="200" Compressed="yes" /&gt; &lt;Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /&gt; &lt;!-- Reference existing site at port 8080 --&gt; &lt;iis:WebSite Id="My.Site" Description="My Site"&gt; &lt;iis:WebAddress Id="My.Web.Address" Port="8080"/&gt; &lt;/iis:WebSite&gt; &lt;Directory Id="TARGETDIR" Name="SourceDir"&gt; &lt;Directory Id="ProgramFilesFolder"&gt; &lt;Directory Id="INSTALLLOCATION" Name="WixProject"&gt; &lt;Component Id="IIS.Component" Guid="{6FAD9EC7-YOUR-GUID-HERE-C8AF5F6F707F}" KeyPath="yes"&gt; &lt;iis:WebVirtualDir Id="My.VirtualDir" Alias="foo" Directory="INSTALLLOCATION" WebSite="My.Site"&gt; &lt;iis:WebApplication Id="My.Application1" Name="Web Application 1"/&gt; &lt;/iis:WebVirtualDir&gt; &lt;/Component&gt; &lt;/Directory&gt; &lt;/Directory&gt; &lt;/Directory&gt; &lt;Feature Id="ProductFeature" Title="WixProject" Level="1"&gt; &lt;ComponentRef Id="IIS.Component" /&gt; &lt;/Feature&gt; &lt;/Product&gt; &lt;/Wix&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload