<p>I am creating an installer for an ASP.Net website using WiX.  How do you set the ASP.Net version in IIS using WiX?</p>

First find the correct .NET version folder. Use DirectorySearch/FileSearch to perform search.
Use the above path to call aspnet_regiis.exe and set the version for the webapp from a custom action.
```
aspnet_regiis.exe -s W3SVC/1/ROOT/SampleApp1
```