GhostProtocol
Posts: 8
Joined: Thu Feb 05, 2015 7:57 pm

Set users group to have modify rights

I trying to give the users group modify permissions to the directory by right clicking said directory, choosing properties, and setting "Users" to modify in the permissions tab, I have also set the domain to [%USERDOMAIN] amd username to Users - however upon installation the users group does not have modify rights. I need to be able to give local users & domain users modify rights to one of the folder that are installed. any help would be fantastic! Thx!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Set users group to have modify rights

Hello,

Can you please leave the "Domain" field empty and test again the installation? This field shouldn't be set when the target user account is a regular account. For regular user accounts this field should be empty.

Let us know if this helped, otherwise please give us more details about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GhostProtocol
Posts: 8
Joined: Thu Feb 05, 2015 7:57 pm

Re: Set users group to have modify rights

I have tried with both empty and with a domain there.

Our program writes to a directory in the program files which I know is bad practice but doesn't change the fact that it does..

We have to manually set the permissions on the product directory to give the users group full rights so when a user runs our product the program can write to the product directory in the program files directory, by default UAC doesn't allow this so the users group must have rights on the directory.

I am trying to build the installer to do this manual set up for us.

Thank you!
Attachments
users-group.png
users-group.png (36.83 KiB) Viewed 6635 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Set users group to have modify rights

Hello,

In order to achieve this you should configure the "Permission" tab of your folder like this:
  • Domain:
    Username: Users
    Permissions -> Full Control: checked
Let us know if this helped, otherwise please send us the .aip (project file) to support at advancedinstaller dot com so we can investigate its settings and give us more details (maybe attach some screenshots) about the behavior you are encountering.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GhostProtocol
Posts: 8
Joined: Thu Feb 05, 2015 7:57 pm

Re: Set users group to have modify rights

How do I send you a PM? I have a .swf video showing the issue that you can play using Google or IE and the aip to look at. Never mind, I just saw the email in there, guess I was skimming :)

Thanks!
GhostProtocol
Posts: 8
Joined: Thu Feb 05, 2015 7:57 pm

Re: Set users group to have modify rights

email sent
aveen
Posts: 9
Joined: Thu Jun 11, 2015 12:53 pm

Re: Set users group to have modify rights

Please Can I know how this issue it is solved?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Set users group to have modify rights

Hello,

The permissions weren't installed because the component, containing the folder on which permissions were set, it wasn't installed during installation. The parent feature of the folder component wasn't selected for installation, therefore the permissions weren't set.

If you encounter any issues please give us some details about your scenario which could help us to isolate and investigate your case.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aveen
Posts: 9
Joined: Thu Jun 11, 2015 12:53 pm

Re: Set users group to have modify rights

Thanks Daniel.
I solved giving both permissions full control over Folder and over Files to be installed. Must be set username on users.

Hope this help someone
Bye
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Set users group to have modify rights

You're welcome.

Thank you for contributing to our forums.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”