Hello All,
I am re-sending this email. Does anybody know how to use Permission
element or any running example code snippets?
Or any other way to do the same?
Regards,
Pallavi.
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pallavi
Patrutkar
Sent: Wednesday, January 31, 2007 9:38 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Assigning Permissions to a particular group
whileinstallation
Hello All,
I want to give write permission to all the users under 'users' group or
any particular group, when I install my application with admin login.
I used Permission element under createfolder element, but it crashed
while installation. I do not want to add a new component for this. So, I
added CreateFolder element under already existing component.
My code is as follows -
<Directory Id="DesktopFolder" Name="Deskto~1" LongName="DesktopFolder">
<Component Id="DesktopApp.exe"
Guid="CC758DCF-DF44-46C1-91A3-2F0622BF5DB4">
<Condition><![CDATA[MAKESHORTCUT = 1]]></Condition>
<Shortcut Id="Shortcut_to_App" WorkingDirectory="TARGETDIR"
Directory="DesktopFolder" Name="APP.EXE" LongName="My Application"
Target="[#App.exe]" Hotkey="0" Icon="App.exe" IconIndex="0"
Show="normal"/>
<CreateFolder Directory="MyApp_DIR">
<Permission User="Users" GenericAll="yes" />
</CreateFolder>
</Component>
</Directory>
<Directory Id="ProgramMenuFolder" Name="Progra~1"
LongName="ProgramMenuFolder">
<Directory Id="MyApp_DIR" Name="SUBDIR~1" LongName="SUBDIRECTORY">
</Directory>
</Directory>
Can I get where I am getting wrong or any other way to do this?
Regards,
Pallavi.
-------------------------------------------------------------------------
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