Groups and Folder 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!

rossom
Posts: 21
Joined: Fri Aug 01, 2008 10:05 pm

Groups and Folder Permissions

Perhaps I don't know how to arrange the order in which things are executed, but basically I want to make a package that creates a couple Groups and then creates folders and assigns 1 of those groups to each folder. When I try to accomplish this the installer errors out saying that the Group doesn't exist. So basically the folders seem to be created first. Currently I am Chaining MSIs to get around this, but when I do this the second msi dialog shows up behind the first which is annoying and easy to miss.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Groups and Folder Permissions

Hi,
When I try to accomplish this the installer errors out saying that the Group doesn't exist. So basically the folders seem to be created first.
This is the normal behavior, I'm afraid you cannot create a group and use it to assign permissions from the same setup package.

The chained package is an option, another method would be the use of a global prereguisite. i.e. You add the package which creates the groups as global prerequisite in Prerequisites page
in the main package, the one which creates folders and assigns the permissions.

Adding a prerequisite to the package will result in having an EXE setup file as output. Also, please make sure you set the prerequisite as global, and not feature-based, from Options tab.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”