Title: Setting Permissions

I need to clarify some. On further examination, I found that the permissions ARE being set to full control,

for Everyone.

 

HOWEVER, the directories are STILL being flagged as read only (that seems to be a default). How do I fix

THAT (don’t recall seeing anything on that particular subject).

 

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dane Anderson
Sent: Tuesday, October 17, 2006 2:06 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Setting Permissions

 

OK, I know that file/directory permissions are set using the <Permissions> element. However I must be using

It wrong, because it not only did NOT set the permissions I told it (or thought I was telling it) to, it cleared

ALL permissions. The Wxs File contains:

   <Directory Id="ProgramFilesFolder" Name="PFiles">

    <Directory Id="INTAVA" Name="Intava">

     <Directory Id="INSTALDIR" Name="Kiosk">

      <Component Id="SPRINTKIOSK" Guid="$(env.SPRINTKIOSKGUID)">

       <CreateFolder Directory="INTAVA">

        <Permission GenericAll="yes" User="Everyone" />

       </CreateFolder>

       <CreateFolder Directory="INSTALDIR">

        <Permission GenericAll="yes" User="Everyone" />

       </CreateFolder>

       <File Id="SprintDiagFile.ini" Name="SPRINT_1.INI" LongName="SprintDiagFile.ini" DiskId="1" Vital="yes"

         Source="C:\Intava\source\IntavaSimulator\SprintDiagFile.ini" >

        <Permission GenericAll="yes" User="Everyone" />

       </File>

       <File Id="SprintMakeDiags.cmd" Name="SPRINT_1.CMD" LongName="SprintMakeDiags.cmd" DiskId="1" Vital="yes"

         Source="C:\Intava\source\IntavaSimulator\SprintMakeDiags.cmd" >

        <Permission GenericAll="yes" User="Everyone" />

       </File>

      </Component>

     </Directory>

    </Directory>

   </Directory>

As you can see, I am trying to set the permissions on the Intava and Kiosk directories, to full control for all users.

I am also trying to set the same access to each of the files. The actual results I am getting are the directories

are read only, and NOBODY has ANY access to any of the files. Before I run the install, the Intava and Kiosk

directories may or may NOT already exist.

I’m doing something wrong, but I believe I am doing EXACTLY what the documentation says to do. So, what

AM I doing wrong?

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to