The virtual directory doesn't care about what version ASP.NET you are running, since it's not actually responsible for running any processes. It's only the Application Pool that runs processes and thus cares about whether you are .NET v2 or .NET v4 etc.. or even if you are 64-bit vs 32-bit.
When you use WiX to create an application pool (which you should be doing if you are creating any Web Application... unless there's a good reason not to create a dedicated App Pool for your application), then WiX will let you choose which .NET Framework to target. I believe this is just a version number entry (ie "2.0" or "4.0") All information can be found here: http://wixtoolset.org/documentation/manual/v3/xsd/iis/webapppool.html In regards to the 1603 error that you are seeing. What kind of install are you performing 'per-user' or 'per-machine'? And what privileges does the installing user have? Are you running with UAC or without? What directory are you trying to create the WebApplication in? What are your user permissions for this directory? To get a verbose(ish) log run the following (substituting in the appropriate path to your msi). This will generate a LogFile.txt which will contain the verbose install log. Msiexec /L*v LogFile.txt /I [PATH TO MSI] Regards, Bevan Weiss SAGE Automation ============================================================================ ===== >Date: Fri, 14 Feb 2014 16:17:45 +0530 >From: Kiran Somisetty <mr.svski...@gmail.com> > >Is there a way to provide the ASP.NET version while creating Web virtual directory in wix installer. I have created a installer that creates a web virtual directory, but I see the ASP.NET version is >pointed to 2.0. I want to set it to 4.0, rather than manually changing it. ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users