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!

MichaelD
Posts: 43
Joined: Tue Jan 12, 2016 10:32 am

Set Permissions on Win2008 fails

Hi

I'm using version 12.6.1 of Advanced Installer which shows a bug on settting permissions.
I'm adding the NetworkService user with full permissions to a setup folder with the permissions tab. This works on Win10 but not on Win2008 R2.
Executing the Icacls command manually on Win2008 does work, so it shouldn't be a problem with the user.

Kind regards,
Michael
mguenth83
Posts: 38
Joined: Wed Dec 31, 2014 11:02 am

Re: Set Permissions on Win2008 fails

If you use "Keep Exisiting Permission" use must Change in the TableEditor under InstallExecuteSequence the "AI_ConfigPermissions" to 6550
MichaelD
Posts: 43
Joined: Tue Jan 12, 2016 10:32 am

Re: Set Permissions on Win2008 fails

Hi

Thanks for the hint, I used 5840 because I need the permission before the StartServices action.
This should work out of the box because services often use different user accounts which need permissions added.
So changing permission after starting services is the wrong default behaviour.

Kind regards,
Michael
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Set Permissions on Win2008 fails

Hello Michael,

I'm not so sure why this happens. Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them

If you cannot share with us your project file, then you can try to isolate the behavior in a buildable sample (.aip + its referenced files) which we can build and test on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MichaelD
Posts: 43
Joined: Tue Jan 12, 2016 10:32 am

Re: Set Permissions on Win2008 fails

Hi Daniel,

I think this can be reproduced easily.
1. Create an Enterprise Project
2. Edit the permissions on the Application folder and add some user. Enable Keep existing permissions and Apply to all subfolders.
3. Switch to the Table Editor => InstallExecuteSequence and look for AI_ConfigPermissions
4. This was added with Sequence 5851 but should have < 5850, so permissions are fixed before service starts.

So its just the default behaviour of advanced installer that could be improved.

Kind regards
Michael
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Set Permissions on Win2008 fails

Hello Michael,

Thank you for your suggestion. We added this improvement in our TODO list and hopefully it will be available in a future version of Advanced Installer. We will notify you when this will be out.

Until then, as a workaround, you can manually edit the related action sequence as you already did.

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

Return to “Common Problems”