CommonAppDataFolder is a Directory @Id not a @Name, you do not need to
specify a @Name for it as it is a well known identifier. This is the magic
you are missing.

Your example probably creates a folder called c:\CommonAppDataFolder\etc..

Also User="NETWORK SERVICE" will not work, look back at my example. There is
a well known identifier NetworkService, you must use this as it is a
localized account name.

Also you don't need ChangePermission="yes" as you have @GenericAll which
includes it.

Dave

-----Original Message-----
From: CoolBreeze [mailto:coolbreeze...@googlemail.com] 
Sent: 15 June 2011 17:59
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Help with giving permissions to folder

Ok, I'm posting my code and to make it a little easier to follow I pulled
the MachineKey permissions section from the separate fragment file and
included it in my Product.wxs. Also I'm doing the installation on Windows
2003 Server, I don't think that should matter much.

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>
    <Product Id="*"
           Name="!(loc.ProductName)"
           Language="!(loc.LANG)"
           Version="1.0.4.0"
           Manufacturer="!(loc.CompanyName)"
           UpgradeCode="0A311192-C7A7-4BAA-865E-145F6AAA7CE4">
        <Package InstallerVersion="301"
             Compressed="yes"
             Manufacturer="!(loc.CompanyName)"
             Description="!(loc.Description)"
             Keywords="!(loc.Keywords)"
             Comments="!(loc.CompanyName)" />

    <Upgrade Id="0A311192-C7A7-4BAA-865E-145F6AAA7CE4">
      <UpgradeVersion
        Property="OLD_VERSION_FOUND"
        Minimum="1.0.1.0"
        Maximum="1.0.4.0"
        IncludeMinimum="yes"
        IncludeMaximum="no"
        OnlyDetect="no"
        IgnoreRemoveFailure="no"
        MigrateFeatures="yes"
        Language="1033" />
    </Upgrade>

    <?include WebSites.wxi ?> <!-- Include the WebSites external Include
File  -->
    <?include ConditionChecks.wxi ?> <!-- Include the ConditionChecks
external Include File  -->

    <!-- Reference custom UI Section -->
    <Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" />
    <Property Id="WixShellExecTarget" Value="https://testvpc/WebSite/"; />
    <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch the
web site" />

    <!-- Reference custom UI Section -->
    <UIRef Id="WelcomeDlg_UI" />

    <!-- CustomAction SQL (Test the database connection) -->
    <Binary Id="CustomActions"
SourceFile="$(sys.SOURCEFILEDIR)CustomActions.CA.dll" />
    <CustomAction Id="CA_testSqlServerConnection" BinaryKey="CustomActions"
DllEntry="TestSqlServerConnection" Execute="immediate" Return="check" />
    <CustomAction Id="CA_testSiteDBConnection" BinaryKey="CustomActions"
DllEntry="TestSiteDBConnection" Execute="immediate" Return="check" />
    <CustomAction Id="CA_UpdateWebAppMapping" Directory="INSTALLLOCATION"
Return="asyncNoWait"
                  ExeCommand='[ASPNETREGIIS] -norestart -s
"W3SVC/[WEBSITE_ID]/ROOT/[VD]"' />
    <CustomAction Id="CA_EncryptConnString" Directory="INSTALLLOCATION"
Return="check"
                  ExeCommand='[ASPNETREGIIS] -pe "connectionStrings" -app
"/[VD]"' />
    <CustomAction Id="CA_AclPermissions" Directory="INSTALLLOCATION"
Return="check"
                  ExeCommand='[ASPNETREGIIS] -pa
"NetFrameworkConfigurationKey" "NT Authority\Network Service"' />
    <CustomAction Id="CA_ShowTime" BinaryKey="CustomActions"
DllEntry="ShowTime" Execute="deferred" Return="check" />
    <CustomAction Id="CA_LaunchBrowser" BinaryKey="WixCA"
DllEntry="WixShellExec" Impersonate="yes" />

    <!-- Media Section -->
    <Media Id="1" Cabinet="WebSitemedia.cab" EmbedCab="yes" />

        <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="dirA098CAD6196749B6ADB5FB9C837B5B82"
Name="CommonAppDataFolder">
        <Directory Id="dir6A68E13632B544EDA8F393F83B23F439"
Name="Microsoft">
          <Directory Id="dir03FB174C3B8F4214AF6A130B8EAA7BA1" Name="Crypto">
            <Directory Id="dirE956646E44EE4A23B07BD0A84D969F55" Name="RSA">
              <Directory Id="dir9210B4F4F4A24357A3954AFC771C9E28"
Name="MachineKeys">
                <Component Id="cmp7D58650A922B4A1889559894FF25C4F2"
Guid="352963FCB3794D8E9B9BE725929B5C47">
                  <CreateFolder>
                    <util:PermissionEx User="NETWORK SERVICE"
GenericAll="yes" ChangePermission="yes" />
                  </CreateFolder>
                </Component>
              </Directory>
            </Directory>
          </Directory>
        </Directory>
      </Directory>

            <Directory Id="WebSiteAppsFolder">
                <Directory Id="INSTALLLOCATION" Name="!(loc.ProductName)">
        </Directory>
            </Directory>
        </Directory>

    <!-- SQL Scripts -->
    <!-- Removed to save space -->

        <Feature Id="ProductFeature" Title="!(loc.ProductName) Setup"
Description="!(loc.Description)" Level="1">
      <ComponentGroupRef Id="CMP_WebsiteFiles" />
      <ComponentRef Id="CMP_VirtualDirectory"/>
      <ComponentRef Id='EnableASPNET2Extension'/>
      <ComponentGroupRef Id="Product.Generated" />
      <ComponentGroupRef Id="GacFiles"/>
      <ComponentRef Id="PersistWebSiteValues" />
      <ComponentRef Id="CMP_DatabaseScripts"/>
      <ComponentGroupRef Id="CMP_LogFolder"/>
      <ComponentRef Id="cmp7D58650A922B4A1889559894FF25C4F2"/>
    </Feature>

    <UI>
      <Publish Dialog="ExitDialog" Control="Finish" Order="1"
Event="DoAction" Value="CA_LaunchBrowser">LAUNCHAPPONEXIT = 1 and NOT
Installed</Publish>
    </UI>

    <!-- Install UI Sequence - allows us to schedule custom action -->
    <InstallUISequence>
      <Custom Action="CA_GetIISWebSites" After="CostFinalize"
              Overridable="yes">NOT Installed</Custom>
    </InstallUISequence>

    <InstallExecuteSequence>
      <Custom Action="CA_ShowTime" After="InstallInitialize">NOT
Installed</Custom>
      <Custom Action="CA_UpdateWebAppMapping"
After="InstallFinalize">ASPNETREGIIS AND NOT Installed</Custom>
      <Custom Action="CA_EncryptConnString"
After="InstallFinalize">ASPNETREGIIS AND NOT Installed</Custom>
      <Custom Action="CA_AclPermissions"
After="InstallFinalize">ASPNETREGIIS AND NOT Installed</Custom>
      <InstallExecute Before="RemoveExistingProducts" />
      <RemoveExistingProducts Before="InstallFinalize" />
    </InstallExecuteSequence>
  </Product>
</Wix>

On Wed, Jun 15, 2011 at 12:20 PM, David Watson <dwat...@sdl.com> wrote:

> You must be doing something to break it then. You could post your code if
> are
> still having problems.
>
> Here follows the entire working test wix for your reference.
>
> I am on W7 though so the CommonAppDataFolder resolves to c:\ProgramData but
> i'm pretty sure on xp it will resolve to C:\Documents and Settings\All
> Users\ApplicationData\
>
> CommonAppDataFolder
> http://msdn.microsoft.com/en-us/library/aa367992(VS.85).aspx
>
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
>     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>
>  <Product Id="1e241834-0ec2-47a3-9527-62bbc80ab903" Name="SetupProject4"
> Language="1033" Version="1.0.0.0" Manufacturer="SetupProject4"
> UpgradeCode="1969b73f-c7c6-4166-ae62-8744d8cae95a">
>    <Package InstallerVersion="200" Compressed="yes"
> InstallScope="perMachine" />
>
>    <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
>
>    <Directory Id="TARGETDIR" Name="SourceDir">
>
>       <Directory Id="CommonAppDataFolder">
>        <Directory Id="Microsoft" Name="Microsoft">
>          <Directory Id="Crypto" Name="Crypto">
>            <Directory Id="RSA" Name="RSA">
>              <Directory Id="MachineKeys" Name="MachineKeys">
>                <Component Id="MachineKeysFolderPermissions"
> Guid="352963FCB3794D8E9B9BE725929B5C47">
>                  <CreateFolder>
>                    <util:PermissionEx User="NetworkService"
> GenericAll="yes"
> />
>                  </CreateFolder>
>                </Component>
>              </Directory>
>            </Directory>
>          </Directory>
>        </Directory>
>      </Directory>
>
>
>       <Directory Id="ProgramFilesFolder">
>        <Directory Id="INSTALLLOCATION" Name="SetupProject4">
>          <!-- TODO: Remove the comments around this Component element and
> the ComponentRef below in order to add resources to this installer. -->
>          <!-- <Component Id="ProductComponent"
> Guid="2dc44d85-80a9-4bec-a197-a57a58b2c443"> -->
>          <!-- TODO: Insert files, registry keys, and other resources here.
> -->
>          <!-- </Component> -->
>        </Directory>
>      </Directory>
>    </Directory>
>
>    <Feature Id="ProductFeature" Title="SetupProject4" Level="1">
>      <!-- TODO: Remove the comments around this ComponentRef element and
> the
> Component above in order to add resources to this installer. -->
>      <!-- <ComponentRef Id="ProductComponent" /> -->
>
>      <!-- Note: The following ComponentGroupRef is required to pull in
> generated authoring from project references. -->
>      <ComponentRef Id="MachineKeysFolderPermissions" />
>    </Feature>
>  </Product>
> </Wix>
>
>
> -----Original Message-----
> From: CoolBreeze [mailto:coolbreeze...@googlemail.com]
> Sent: 15 June 2011 17:00
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Help with giving permissions to folder
>
> True this does create the folder at the root of C:\ and adds the Network
> Service user with the proper permissions. What I'm am trying to do though
> is
> add the "Network Service"  user with the permissions specified to the
> EXISTING MachineKeys folder located at:
>
> C:\Documents and Settings\All Users\Application
> Data\Microsoft\Crypto\RSA\MachineKeys.
>
> I'm not trying to create a new folder just add the user to the existing
> folder along with permissions.
>
>
> On Wed, Jun 15, 2011 at 11:34 AM, David Watson <dwat...@sdl.com> wrote:
>
> > The following works, I just tried it.
> >
> > <Directory Id="CommonAppDataFolder">
> >        <Directory Id="Microsoft" Name="Microsoft">
> >          <Directory Id="Crypto" Name="Crypto">
> >            <Directory Id="RSA" Name="RSA">
> >              <Directory Id="MachineKeys" Name="MachineKeys">
> >                 <Component Id="MachineKeysFolderPermissions"
> > Guid="352963FCB3794D8E9B9BE725929B5C47">
> >                  <CreateFolder>
> >                     <util:PermissionEx User="NetworkService"
> > GenericAll="yes"
> > />
> >                  </CreateFolder>
> >                </Component>
> >              </Directory>
> >            </Directory>
> >          </Directory>
> >        </Directory>
> >      </Directory>
> >
> >
> >
> > -----Original Message-----
> > From: CoolBreeze [mailto:coolbreeze...@googlemail.com]
> > Sent: 15 June 2011 15:49
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Help with giving permissions to folder
> >
> > I already made that change. I ran the installer with logging turned on
> and
> > saw where it executed my two CustomActions and the installation completed
> > fine. It's just that "Network Service" never gets added to the
> MachineKeys
> > folder nor are any permissions set in the folder.
> >
> > MSI (s) (58:A4) [10:34:24:193]: Doing action: CA_AclPermissions
> > Action 10:34:24: CA_AclPermissions.
> > Action start 10:34:24: CA_AclPermissions.
> > Action ended 10:34:24: CA_AclPermissions. Return value 1.
> > MSI (s) (58:A4) [10:34:24:383]: Doing action: CA_EncryptConnString
> > Action 10:34:24: CA_EncryptConnString.
> > Action start 10:34:24: CA_EncryptConnString.
> > Action ended 10:34:27: CA_EncryptConnString. Return value 1.
> >
> > On Wed, Jun 15, 2011 at 10:04 AM, David Watson <dwat...@sdl.com> wrote:
> >
> > > As Pete says, you are using the wrong directory ID use
> > CommonAppDataFolder
> > > in
> > > place of AppDataFolder in your Directory.
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: CoolBreeze [mailto:coolbreeze...@googlemail.com]
> > > Sent: 15 June 2011 14:46
> > > To: General discussion for Windows Installer XML toolset.
> > > Subject: Re: [WiX-users] Help with giving permissions to folder
> > >
> > > Thanks Peter. As I've explained previously though each time I run the
> > > installer the installation files are installed into one location, then
> > > before the installer ends I need to have "Network Service" added to the
> > > MachineKeys folder. After the installer completes and I navigate to the
> > > following folder to verify that "Network Service" has been added with
> the
> > > permissions specified it is not there.
> > >
> > > C:\Documents and Settings\All Users\Application
> > > Data\Microsoft\Crypto\RSA\MachineKeys
> > >
> > > I thought Wix was able to perform a task such as this. Am I incorrect?
> > This
> > > one piece has me stuck and I'm not sure how to resolve it.
> > >
> > > On Wed, Jun 15, 2011 at 5:09 AM, Peter Shirtcliffe
> > > <pshirtcli...@sdl.com>wrote:
> > >
> > > > http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx
> > > > AppDataFolder is for the current user.
> > > > CommonAppDataFolder is for all users.
> > > >
> > > > -----Original Message-----
> > > > From: CoolBreeze [mailto:coolbreeze...@googlemail.com]
> > > > Sent: 14 June 2011 18:22
> > > > To: General discussion for Windows Installer XML toolset.
> > > > Subject: Re: [WiX-users] Help with giving permissions to folder
> > > >
> > > > The reason I'm using a fragment is to try to keep things organized.
> The
> > > > installer is installing files in one location, but as part of the
> > > > installation process I need to modify the ACL of the MachineKeys
> > folder,
> > > > which as you know will be in a completely different location from my
> > > > installation files.
> > > >
> > > > >From what I read "AppDataFolder" should provide the complete path to
> > the
> > > > "Application Data" folder, which should be "C:\Documents and
> > Settings\All
> > > > Users\Application Data" as this is being installed on a Windows 2003
> > > > server.
> > > >
> > > >
> > > > This doesn't seem to be working, because when I navigate to the above
> > > path
> > > > and continue to Microsoft\Crypto\RSA\MachineKeys, "Network Service"
> has
> > > not
> > > > been added to the MachineKeys folder along with the permissions I
> > > > specified.
> > > >
> > > > On Tue, Jun 14, 2011 at 12:00 PM, David Watson <dwat...@sdl.com>
> > wrote:
> > > >
> > > > > Either take it out of the fragment or use a DirectoryRef.
> > > > >
> > > > > <Fragment>
> > > > >   <DirectoryRef Id="TARGETDIR">
> > > > >       <Directory Id="AppDataFolder">
> > > > >        <Directory Id="dir6A68E13632B544EDA8F393F83B23F439"
> > > > > Name="Microsoft">
> > > > >          <Directory Id="dir03FB174C3B8F4214AF6A130B8EAA7BA1"
> > > > Name="Crypto">
> > > > >            <Directory Id="dirE956646E44EE4A23B07BD0A84D969F55"
> > > > Name="RSA">
> > > > >              <Directory Id="dir9210B4F4F4A24357A3954AFC771C9E28"
> > > > > Name="MachineKeys">
> > > > >                <Component Id="MachineKeysFolderPermissions"
> > > > > Guid="352963FCB3794D8E9B9BE725929B5C47">
> > > > >                  <CreateFolder>
> > > > >                    <util:PermissionEx User="NETWORK SERVICE"
> > > > > GenericAll="yes" ChangePermission="yes"  />
> > > > >                  </CreateFolder>
> > > > >                </Component>
> > > > >              </Directory>
> > > > >            </Directory>
> > > > >         </Directory>
> > > > >        </Directory>
> > > > >      </Directory>
> > > > >     </DirectoryRef>
> > > > > </Fragment>
> > > > >
> > > > > I usually leave my directory structure in the main wxs and wrap the
> > > > > component
> > > > > in a directoryRef in the fragment.
> > > > >
> > > > > It all depends on why you are using a fragment really.
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: CoolBreeze [mailto:coolbreeze...@googlemail.com]
> > > > > Sent: 14 June 2011 16:16
> > > > > To: General discussion for Windows Installer XML toolset.
> > > > > Subject: Re: [WiX-users] Help with giving permissions to folder
> > > > >
> > > > > I knew there was something I was probably missing. I've added the
> > > > > componentRef, but the build fails with the following error:
> > > > >
> > > > > The primary key 'TARGETDIR' is duplicated in table 'Directory'.
> >  Please
> > > > > remove one of the entries or rename a part of the primary key to
> > avoid
> > > > the
> > > > > collision.
> > > > >
> > > > > It is true that I already have a TARGETDIR for the install within
> my
> > > > > Product.wxs, but if I don't add a TARGETDIR and SourceDir to the
> > > Fragment
> > > > > that contains the folder I want to set the ACL on, it fails to
> build.
> > > > >
> > > > > How can I get this to work? I've tried to vary the values for
> > TARGETDIR
> > > > and
> > > > > name, but I always receive an error stating that the root directory
> > is
> > > > not
> > > > > valid or that the TARGETDIR directory has an illegal DefaultDir
> > value.
> > > > >
> > > > > In my Fragment file, if I don't include TARGETDIR and
> > Name="SourceDir"
> > > I
> > > > > get
> > > > > an error stating that "AppDataFolder" is not a valid root
> directory.
> > > > >
> > > > >
> > > > > On Tue, Jun 14, 2011 at 9:52 AM, David Watson <dwat...@sdl.com>
> > wrote:
> > > > >
> > > > > > If you reference anything in a fragment then the entire fragment
> > will
> > > > be
> > > > > > included in your installer.
> > > > > >
> > > > > > So if you add a componentRef in your feature this fragment will
> be
> > > > > > included.
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: CoolBreeze [mailto:coolbreeze...@googlemail.com]
> > > > > > Sent: 14 June 2011 14:20
> > > > > > To: General discussion for Windows Installer XML toolset.
> > > > > > Subject: Re: [WiX-users] Help with giving permissions to folder
> > > > > >
> > > > > > Thanks for you help. I understand now. Can you tell what I might
> > have
> > > > > > missed
> > > > > > to cause the ACL not to be set on the MachineKeys folder? Have I
> > > missed
> > > > > > something in how I've configured this? I've added the following
> > code
> > > to
> > > > a
> > > > > > separate Fragment file and my understanding is that this file
> will
> > be
> > > > > > pulled
> > > > > > into the installer. I have not referenced the file anywhere.
> > > > > >
> > > > > > The full path to the MachineKeys folder is:
> > > > > > C:\Documents and Settings\All Users\Application
> > > > > > Data\Microsoft\Crypto\RSA\MachineKeys
> > > > > >
> > > > > > <Fragment>
> > > > > >    <Directory Id="TARGETDIR" Name="SourceDir">
> > > > > >      <Directory Id="AppDataFolder">
> > > > > >        <Directory Id="dir6A68E13632B544EDA8F393F83B23F439"
> > > > > > Name="Microsoft">
> > > > > >          <Directory Id="dir03FB174C3B8F4214AF6A130B8EAA7BA1"
> > > > > Name="Crypto">
> > > > > >            <Directory Id="dirE956646E44EE4A23B07BD0A84D969F55"
> > > > > Name="RSA">
> > > > > >              <Directory Id="dir9210B4F4F4A24357A3954AFC771C9E28"
> > > > > > Name="MachineKeys">
> > > > > >                <Component Id="MachineKeysFolderPermissions"
> > > > > > Guid="352963FCB3794D8E9B9BE725929B5C47">
> > > > > >                  <CreateFolder>
> > > > > >                    <util:PermissionEx User="NETWORK SERVICE"
> > > > > > GenericAll="yes" ChangePermission="yes"  />
> > > > > >                  </CreateFolder>
> > > > > >                </Component>
> > > > > >              </Directory>
> > > > > >            </Directory>
> > > > > >          </Directory>
> > > > > >        </Directory>
> > > > > >      </Directory>
> > > > > >    </Directory>
> > > > > >  </Fragment>
> > > > > >
> > > > > > Thanks again for your help.
> > > > > >
> > > > > >
> > > > > > On Tue, Jun 14, 2011 at 7:43 AM, David Watson <dwat...@sdl.com>
> > > wrote:
> > > > > >
> > > > > > > No it will not overwrite it or cause it to be removed on
> > uninstall.
> > > > > > >
> > > > > > > The code example is to set permissions on the windows\temp
> folder
> > > > which
> > > > > > > pre-exists and the permission is added to the ACL of the
> folder.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: CoolBreeze [mailto:coolbreeze...@googlemail.com]
> > > > > > > Sent: 14 June 2011 11:15
> > > > > > > To: General discussion for Windows Installer XML toolset.
> > > > > > > Subject: Re: [WiX-users] Help with giving permissions to folder
> > > > > > >
> > > > > > > I do not want to recreate or overwrite the MachineKeys folder
> > that
> > > > > > already
> > > > > > > exists. Will adding <CreateFolder /> as you suggest below
> > overwrite
> > > > the
> > > > > > > existing folder? If so, how can I avoid that, but still add the
> > > > > > permission
> > > > > > > I
> > > > > > > need to the folder?
> > > > > > >
> > > > > > > On Tue, Jun 14, 2011 at 5:23 AM, David Watson <dwat...@sdl.com
> >
> > > > wrote:
> > > > > > >
> > > > > > > > The relevant parent of util:permissionex is createfolder.
> > > > > > > >
> > > > > > > > Put a component in your directory tree that has a
> CreateFolder
> > > with
> > > > a
> > > > > > > > permissionsEx nexted in it.
> > > > > > > >
> > > > > > > > An example...
> > > > > > > >
> > > > > > > > <Directory Id="windowstemp" Name="temp">
> > > > > > > >        <Component Id="windowstempPerm" Guid="*">
> > > > > > > >          <RegistryValue Id="windowstempfolderpermissions"
> > > > > Type="string"
> > > > > > > > Action="write" Value="1" Root="HKLM"
> Key="$(var.RegistryPath)"
> > > > > > > > Name="windowstempfolderpermissions" KeyPath="yes"/>
> > > > > > > >          <CreateFolder>
> > > > > > > >            <util:PermissionEx GenericAll="yes"
> > > > > User="$(var.GroupName)"
> > > > > > > > Domain="[ComputerName]" />
> > > > > > > >          </CreateFolder>
> > > > > > > >        </Component>
> > > > > > > >      </Directory>
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: CoolBreeze [mailto:coolbreeze...@googlemail.com]
> > > > > > > > Sent: 13 June 2011 17:28
> > > > > > > > To: General discussion for Windows Installer XML toolset.
> > > > > > > > Subject: [WiX-users] Help with giving permissions to folder
> > > > > > > >
> > > > > > > > My installer needs to encrypt the ConnectionStrings section
> of
> > > the
> > > > > > > > web.config file for our web application. This part I have
> > working
> > > > > with
> > > > > > no
> > > > > > > > problems, but as part of the process I need to provide the
> > > Network
> > > > > > > Service
> > > > > > > > with full control access to the following folder:
> > > > > > > >
> > > > > > > > *C:\Documents and Settings\All Users\Application
> > > > > > > > Data\Microsoft\Crypto\RSA\MachineKeys*
> > > > > > > >
> > > > > > > > I have not been able to figure out how to configure this with
> > in
> > > my
> > > > > > > > installer.
> > > > > > > >
> > > > > > > > I've tried adding the following to my Product.wxs, but it
> gives
> > a
> > > > > build
> > > > > > > > error of: "The Directory element contains an unexpected child
> > > > element
> > > > > > > > 'util:PermissionEx'.". And xmlns:util has been added to the
> > > > beginning
> > > > > > of
> > > > > > > my
> > > > > > > > Product.wxs.
> > > > > > > >
> > > > > > > > <Directory Id="TARGETDIR" Name="SourceDir">
> > > > > > > >     <Directory Id="WebSiteAppsFolder">
> > > > > > > >         <Directory Id="INSTALLLOCATION"
> > > Name="!(loc.ProductName)">
> > > > > > > >        </Directory>
> > > > > > > >        <Directory Id="AppDataFolder">
> > > > > > > >          <Directory Id="Microsoft">
> > > > > > > >            <Directory Id="Crypto">
> > > > > > > >              <Directory Id="RSA">
> > > > > > > >                <Directory Id="MachineKeys">
> > > > > > > >                  <util:PermissionEx User="NETWORK SERVICE"
> > > > > > > GenericAll="yes"
> > > > > > > > ChangePermission="yes"  />
> > > > > > > >                </Directory>
> > > > > > > >              </Directory>
> > > > > > > >            </Directory>
> > > > > > > >          </Directory>
> > > > > > > >      </Directory>
> > > > > > > >   </Directory>
> > > > > > > > </Directory>
> > > > > > > >
> > > > > > > > How can this be done?
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
-----------------------------------------------------------------------------
> > > > > > > > -
> > > > > > > > EditLive Enterprise is the world's most technically advanced
> > > > content
> > > > > > > > authoring tool. Experience the power of Track Changes, Inline
> > > Image
> > > > > > > > Editing and ensure content is compliant with Accessibility
> > > > Checking.
> > > > > > > > http://p.sf.net/sfu/ephox-dev2dev
> > > > > > > > _______________________________________________
> > > > > > > > WiX-users mailing list
> > > > > > > > WiX-users@lists.sourceforge.net
> > > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > > > > > > SDL PLC confidential, all rights reserved.
> > > > > > > > If you are not the intended recipient of this mail SDL
> requests
> > > and
> > > > > > > > requires that you delete it without acting upon or copying
> any
> > of
> > > > its
> > > > > > > > contents, and we further request that you advise us.
> > > > > > > > SDL PLC is a public limited company registered in England and
> > > > Wales.
> > > > > > > >  Registered number: 02675207.
> > > > > > > > Registered address: Globe House, Clivemont Road, Maidenhead,
> > > > > Berkshire
> > > > > > > SL6
> > > > > > > > 7DY, UK.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
-----------------------------------------------------------------------------
> > > > > > > -
> > > > > > > > EditLive Enterprise is the world's most technically advanced
> > > > content
> > > > > > > > authoring tool. Experience the power of Track Changes, Inline
> > > Image
> > > > > > > > Editing and ensure content is compliant with Accessibility
> > > > Checking.
> > > > > > > > http://p.sf.net/sfu/ephox-dev2dev
> > > > > > > > _______________________________________________
> > > > > > > > WiX-users mailing list
> > > > > > > > WiX-users@lists.sourceforge.net
> > > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
-----------------------------------------------------------------------------
> > > > > > > -
> > > > > > > EditLive Enterprise is the world's most technically advanced
> > > content
> > > > > > > authoring tool. Experience the power of Track Changes, Inline
> > Image
> > > > > > > Editing and ensure content is compliant with Accessibility
> > > Checking.
> > > > > > > http://p.sf.net/sfu/ephox-dev2dev
> > > > > > > _______________________________________________
> > > > > > > WiX-users mailing list
> > > > > > > WiX-users@lists.sourceforge.net
> > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
-----------------------------------------------------------------------------
> > > > > > -
> > > > > > > EditLive Enterprise is the world's most technically advanced
> > > content
> > > > > > > authoring tool. Experience the power of Track Changes, Inline
> > Image
> > > > > > > Editing and ensure content is compliant with Accessibility
> > > Checking.
> > > > > > > http://p.sf.net/sfu/ephox-dev2dev
> > > > > > > _______________________________________________
> > > > > > > WiX-users mailing list
> > > > > > > WiX-users@lists.sourceforge.net
> > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
-----------------------------------------------------------------------------
> > > > > > -
> > > > > > EditLive Enterprise is the world's most technically advanced
> > content
> > > > > > authoring tool. Experience the power of Track Changes, Inline
> Image
> > > > > > Editing and ensure content is compliant with Accessibility
> > Checking.
> > > > > > http://p.sf.net/sfu/ephox-dev2dev
> > > > > > _______________________________________________
> > > > > > WiX-users mailing list
> > > > > > WiX-users@lists.sourceforge.net
> > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
-----------------------------------------------------------------------------
> > > > > -
> > > > > > EditLive Enterprise is the world's most technically advanced
> > content
> > > > > > authoring tool. Experience the power of Track Changes, Inline
> Image
> > > > > > Editing and ensure content is compliant with Accessibility
> > Checking.
> > > > > > http://p.sf.net/sfu/ephox-dev2dev
> > > > > > _______________________________________________
> > > > > > WiX-users mailing list
> > > > > > WiX-users@lists.sourceforge.net
> > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
-----------------------------------------------------------------------------
> > > > > -
> > > > > EditLive Enterprise is the world's most technically advanced
> content
> > > > > authoring tool. Experience the power of Track Changes, Inline Image
> > > > > Editing and ensure content is compliant with Accessibility
> Checking.
> > > > > http://p.sf.net/sfu/ephox-dev2dev
> > > > > _______________________________________________
> > > > > WiX-users mailing list
> > > > > WiX-users@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
-----------------------------------------------------------------------------
> > > > -
> > > > > EditLive Enterprise is the world's most technically advanced
> content
> > > > > authoring tool. Experience the power of Track Changes, Inline Image
> > > > > Editing and ensure content is compliant with Accessibility
> Checking.
> > > > > http://p.sf.net/sfu/ephox-dev2dev
> > > > > _______________________________________________
> > > > > WiX-users mailing list
> > > > > WiX-users@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
-----------------------------------------------------------------------------
> > > > -
> > > > EditLive Enterprise is the world's most technically advanced content
> > > > authoring tool. Experience the power of Track Changes, Inline Image
> > > > Editing and ensure content is compliant with Accessibility Checking.
> > > > http://p.sf.net/sfu/ephox-dev2dev
> > > > _______________________________________________
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
-----------------------------------------------------------------------------
> > > -
> > > > EditLive Enterprise is the world's most technically advanced content
> > > > authoring tool. Experience the power of Track Changes, Inline Image
> > > > Editing and ensure content is compliant with Accessibility Checking.
> > > > http://p.sf.net/sfu/ephox-dev2dev
> > > > _______________________________________________
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > >
> > >
> > >
> >
> >
>
>
-----------------------------------------------------------------------------
> > > -
> > > EditLive Enterprise is the world's most technically advanced content
> > > authoring tool. Experience the power of Track Changes, Inline Image
> > > Editing and ensure content is compliant with Accessibility Checking.
> > > http://p.sf.net/sfu/ephox-dev2dev
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > >
> >
> >
>
>
-----------------------------------------------------------------------------
> > -
> > > EditLive Enterprise is the world's most technically advanced content
> > > authoring tool. Experience the power of Track Changes, Inline Image
> > > Editing and ensure content is compliant with Accessibility Checking.
> > > http://p.sf.net/sfu/ephox-dev2dev
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> >
>
>
-----------------------------------------------------------------------------
> > -
> > EditLive Enterprise is the world's most technically advanced content
> > authoring tool. Experience the power of Track Changes, Inline Image
> > Editing and ensure content is compliant with Accessibility Checking.
> > http://p.sf.net/sfu/ephox-dev2dev
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
>
>
-----------------------------------------------------------------------------
> -
> > EditLive Enterprise is the world's most technically advanced content
> > authoring tool. Experience the power of Track Changes, Inline Image
> > Editing and ensure content is compliant with Accessibility Checking.
> > http://p.sf.net/sfu/ephox-dev2dev
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
-----------------------------------------------------------------------------
> -
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
-----------------------------------------------------------------------------
-
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-----------------------------------------------------------------------------
-
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to