I have been banging my head against this all day... I'm trying to get
aspnet_regiis.exe to run and set the ASPNET version to 2.0 for my
virtual directory. 

 

Here is my custom action...

<CustomAction Id="SetAspNet" Return="asyncWait"
Directory="[FRAMEWORKBASEPATH]v2.0.50727" Execute="commit"
ExeCommand="aspnet_regiis.exe -s W3SVC/1/ROOT/MYWebsite -norestart" />

 

Where FRAMEWORKBASEPATH is the path to Framework under Microsoft.NET in
the WINDOWS folder. 

 

I have also tried

 

<CustomAction Id="VIA3AdminAspNet" Return="asyncWait"
Property="[ASPNETREGPATH]" Execute="commit" ExeCommand="-s
W3SVC/1/ROOT/MyWebsite -norestart" />

 

Where ASPNETREGPATH is the entire path plus aspnet_regiis.exe 

 

I have also tried changing the Execute to "immediate" and sequencing the
custom action after installfinalize.

 

Every time I run I get a 1631 return from my custom actions. 

 

The command line works just fine when run from a cmd prompt. What am I
missing here?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to