Re: [WiX-users] Help with giving permissions to folder

2011-06-16 Thread CoolBreeze
gt; 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 pulle

Re: [WiX-users] Help with giving permissions to folder

2011-06-16 Thread David Watson
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 fragm

Re: [WiX-users] Help with giving permissions to folder

2011-06-15 Thread CoolBreeze
> > > > > > > > > Guid="352963FCB3794D8E9B9BE725929B5C47"> > > GenericAll="yes" > /> > > > > > > > > > > > > > > > > > > > > > > > > >

Re: [WiX-users] Help with giving permissions to folder

2011-06-15 Thread David Watson
-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 a

Re: [WiX-users] Help with giving permissions to folder

2011-06-15 Thread CoolBreeze
> > > > > > > -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

Re: [WiX-users] Help with giving permissions to folder

2011-06-15 Thread David Watson
[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

Re: [WiX-users] Help with giving permissions to folder

2011-06-15 Thread Michael Tissington
This is what I do Along with SIDLookup merge module so that the all the well know SIDs language natural -- EditLive Enterprise is the world's most technically advanced content authoring too

Re: [WiX-users] Help with giving permissions to folder

2011-06-15 Thread CoolBreeze
y. > > > > -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. A

Re: [WiX-users] Help with giving permissions to folder

2011-06-15 Thread David Watson
: 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 fo

Re: [WiX-users] Help with giving permissions to folder

2011-06-15 Thread CoolBreeze
ge- > 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 or

Re: [WiX-users] Help with giving permissions to folder

2011-06-15 Thread Peter Shirtcliffe
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

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread CoolBreeze
p 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

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread David Watson
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'.

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread CoolBreeze
ded. > > > -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 n

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread David Watson
: 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

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread CoolBreeze
or 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 as you suggest below overwrite the > existing folder? If so, how can I avoid t

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread David Watson
: 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 as you suggest below overwrite the existing folder? If so, how

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread 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. Th

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread David Watson
[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

[WiX-users] Help with giving permissions to folder

2011-06-13 Thread CoolBreeze
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 U