Im still quite new to WiX 3.6 and using Wyrdfish code above the <component>
section is error stating I have to specificy the Directory.  I have amended
to include directory and now its complnain of ICE18 but this directorytRef
is used in other components fine.  what am I missing?

Use of code and amendments (in bold) for WiX 3.6 of extract below:

  <Fragment>
    
    <Property Id="IISGROUP" Secure="yes" Value="IIS_WPG"/>
    
    <CustomAction Id="setIisGroupToIUSRS" Property="IISGROUP"
Value="IIS_IUSRS" />
    <InstallExecuteSequence>
      <Custom Action="setIisGroupToIUSRS"
After="AppSearch">IISVERSION=*7*</Custom>
    </InstallExecuteSequence>

    
    <util:Group Id="U_IISWPGGroup" Name="[IISGROUP]"
Domain="[ComputerName]"/>

    
*    <DirectoryRef Id="INSTALLLOCATION">*      <Component
Id=&quot;C_IISUser&quot;
Guid=&quot;&lt;b>988355DA-7A35-43B6-84EC-FD1B28796A49*">
        <util:User Id="platform.website.user"
Name="[WEB_APP_POOL_IDENTITY_USERNAME]"
                     Password="[WEB_APP_POOL_IDENTITY_PWD]"
Domain="[WEB_APP_POOL_IDENTITY_DOMAIN]" UpdateIfExists="yes">
          <util:GroupRef Id="U_IISWPGGroup"/>
        </util:User>
      </Component>
*    </DirectoryRef>*  </Fragment>



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WIX-3-5-Adding-active-directory-user-to-a-local-group-tp5922131p7593769.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to