Kevin Dente wrote:
> 
> I accomplished this by spawing the aspnet_regiis tool to switch the
> framework version of the site. This involves a couple of steps:
> 
> Find the path to the tool:
> 
>     <Property Id="FRAMEWORKBASEPATH">
>         <RegistrySearch Id="FindFrameworkDir" Root="HKLM"
> Key="SOFTWARE\Microsoft\.NETFramework" Name="InstallRoot" Type="raw" />
>     </Property>
> 
>     <Property Id="ASPNETREGPATH">
>         <DirectorySearch Id="FindAspRegExe" Path="[FRAMEWORKBASEPATH]"
> Depth="1">
>             <FileSearch Id="FindAspNetReg" LongName="aspnet_regiis.exe"
> MinVersion=" 2.0.50727"/>
>         </DirectorySearch>
>     </Property>
> 
> Then build the command line in a property:
> 
> <CustomAction Id="ConfigWebSiteAspNetAssign"
> Property="CONFIGWEBSITEASPNET"
> Value="&quot;[ASPNETREGPATH]&quot; -s W3SVC/1/ROOT/[VDIRALIAS]" />
> 
> Define the action that runs the command line:
> 
> <CustomAction Id="CONFIGWEBSITEASPNET" BinaryKey="wixca"
> DllEntry="CAQuietExec" Execute="deferred" Return="check"/>
> 
> Then schedule those actions into the InstallExecuteSequence.
> 

How can I do that in wix 3? I don't know anything about Custom Actions...
can you help me?

thanks in advance
Jose

-- 
View this message in context: 
http://www.nabble.com/Setting-IIS-ASP.NET-version-tf1645225.html#a10190875
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to