So, is there a way to change the permissions of folders created implicitly using the directory element?
Thanks, John > It is a syntax issue. > > Take a look at the Wix.chm. That will show the things that Permission can > apply to. In your case, I think you want to apply the Permission to a > CreateFolder element. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of John Johnson > Sent: Wednesday, May 23, 2007 10:41 AM > To: wix-users@ > Subject: Re: [WiX-users] using permission element within a directory > element > > > I think this is a syntax issue on my part. Should I be using > directoryref? Can anyone provide a code snippet? > > Thanks, > John > >> How do I add a permission element within a directory element? The >> following code generates a compile error. Basically, I want to change >> the permissions of the "product" directory that gets created on >> install > >> <Directory Id='CommonAppDataFolder' Name='CFiles'> >> <Directory Id='Company' Name='Comp' LongName='Company'> >> <Directory Id='Product' Name='Prod' LongName='Product'> >> <Permission User="Users" Extended="yes" >> GenericRead="yes GenericWrite="yes" /> >> </Directory> >> </Directory> >> </Directory> > > >> Thanks, >> John > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users