I've made a fix in very recent WiX v2 build to support using NT 
AUTHORITY\NETWORK SERVICE as the "User" for an AppPool and have the correct 
thing happen under the covers.  If you get the latest WiX v2 build, you should 
see this working.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Hoover 
(VSNC)
Sent: Wednesday, February 07, 2007 11:50 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Letting user select network service or domain account for 
WebAppPool custom action

I am trying to install a web app and I want to let the user select the Identity 
that the App Pool uses.  They should be able to select between Network Service 
and a domain account that they provide.  The problem that I am running into is 
when I try to use a property in the Identity parameter of the WebAppPool tag.  
I am trying the following:

          <User Id="WEB_USER" Name="[USERID]" Password="[PASSWORD]" 
Domain="[DOMAIN]" CreateUser="no">
            <GroupRef Id="IIS" />
          </User>
          <WebAppPool Id="AppPoolID" Name="TFS AppPool" 
Identity="[WEB_IDENTITY]" User="WEB_USER" />

I get the following error when I do this:

1>vstfwebtieractions.fragment.wxs(26) : error CNDL0027: The 'Identity' 
attribute has an invalid value according to its data type.

If I replace "[WEB_IDENTITY]" with "other" or "networkService" it compiles, but 
the type of Identity is determined at compile time, not install time.  Is there 
an example WiX fragment that shows how to determine if the App Pool will run as 
Network Service or a domain account at install time instead of at compile time?

Thanks in advance for your help,
--matt hoover
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to