Folder Share Permissions - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jtroyan
Posts: 20
Joined: Mon Oct 19, 2009 9:41 pm

Folder Share Permissions

When trying to pull up help on Share permissions, the only dialog I can get is the file permissions page, with the various options. With folder shares I am only presented with 4 choices, Generic_Read, Generic_Write, Generic_Execute, Generic_ALL. If I choose all four, the share gets Full control. If I choose everything, BUT Generic_All, I only get Read set on the share permission. How do I get the share to have Change rights set? I have tried several combinations of the 4, with no success.

Thanks,

james
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Folder Share Permissions

Hi James,

This behavior is caused by a limitation in the folder sharing feature. Thank you for bringing this to our attention. An improvement will be included in a future version of Advanced Installer (most likely 7.4). Until then you can try this workaround:
- open the .aip file with a text editor
- find the "caphyon.advinst.msicomp.ShareFoldersComponent" component
- for your folder set the value in the "Permissions" attribute to 1245631
- save the changes and rebuild the project

For example, if the original value of the "Permissions" attribute is:

Code: Select all

Everyone/-536870912
you can modify it to:

Code: Select all

Everyone/1245631
Please note that modifying the share permissions using the GUI will reset this value.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jtroyan
Posts: 20
Joined: Mon Oct 19, 2009 9:41 pm

Re: Folder Share Permissions

Thanks, I'll have a go with that. :)

Return to “Common Problems”