I am trying to get an installer that creates an IIS virtual directory using its own app pool, running in integrated mode as a specific user.
I am trying to use the following WIX fragment: <Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='INSTALLDIR' Name='Linguine'> <Component Id="iis_VIRTUALDIRECTORY" DiskId="1" KeyPath="yes" Guid="30a2007b-8be9-4ee6-b8a6-7ea9a70c3d85"> <iis:WebVirtualDir Id='WFWebsiteVirtualDirectory' Alias='WorkflowService' Directory="dir0" WebSite="DefaultWebSite" > <iis:WebApplication Id="WFWebApplication" Name="WorkflowService" WebAppPool="WorkflowWcfAppPool" /> </iis:WebVirtualDir> <iis:WebAppPool Id="WorkflowWcfAppPool" Name="WorkflowWcfAppPool" ManagedPipelineMode="integrated" ManagedRuntimeVersion="v4.0" Identity="other" User="AppPoolUser" /> <util:User Id="AppPoolUser" Domain="[APPPOOL_USERDOMAIN]" Name="[APPPOOL_USERNAME]" Password="[APPPOOL_PASSWORD]" CreateUser="no" UpdateIfExists="no" /> </Component> </Directory> </Directory> </Directory> <iis:WebSite Id='DefaultWebSite' Description='DefaultWebSite' Directory="INSTALLDIR" > <iis:WebAddress Id="AllUnassigned_1" Port="80" /> </iis:WebSite> When I run this through candle I get the following: Microsoft (R) Windows Installer Xml Compiler version 3.5.2103.0 Copyright (C) Microsoft Corporation. All rights reserved. website.wxs C:\Users\georgeb\Desktop\website.wxs(29) : error CNDL0038 : The iis:WebAppPool/@ User attribute's value, 'AppPoolUser', cannot be specified without attribute Identity present with value 'other'. Intriguingly if I change ManagedPipelineMode to classic it works fine. I've found a work around using custom actions. However it would be neater if I didn't have to. Any suggestions as to what I am doing wrong? George George Banfill | Senior Software Developer | Gould Tech Solutions ________________________________ Link Up House, Ring Road, Lower Wortley, Leeds, UK, LS12 6AB Phone: +44 (0)113 210 7605 | Fax: +44 (0)870 748 8001 E-mail: george.banf...@gouldtechsolutions.com <mailto:george.banf...@thebigword.com> | Web: http://www.gouldtechsolutions.com <http://www.thebigword.com> ________________________________ Gould Tech Solutions Ltd. Registered Office: Link Up House, Ring Road, Lower Wortley, Leeds, UK, LS12 6AB Registered in England & Wales No. 01926324 P Please consider the environment before printing this email. This document is strictly confidential and is intended only for use by the addressee. If you are not the intended recipient, any disclosure, copying, distribution or other action taken in reliance of the information contained in this email is strictly prohibited. Any views expressed by the sender of this message are not necessarily those of thebigword Holdings Limited and its subsidiary companies. If you have received this transmission in error, please use the reply function to tell us and then permanently delete what you have received. ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users