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.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to