mightyschwartz
Posts: 2
Joined: Wed Jul 15, 2015 5:57 pm

AppPool Identity + File Permissions

When setting file permissions using the Files and Folders properties, if I use Domain: IIS AppPool and Username: AppPoolExample then the installation fails because the AppPoolExample user doesn't exist at the point in the installer when it attempts to set the permissions. Am I missing something?
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: AppPool Identity + File Permissions

Hello and welcome to Advanced Installer forums,

Indeed, this happens because, at install time, by default the registry permissions are set earlier than the IIS web site installation. As a workaround you can proceed like this:
1. go to "Files and Folders" page and in the "Permissions" tab of your folder enable the "Keep existing permissions" flag
2. go to "Table Editor" page and select the "InstallExecuteSequence" table
3. edit the "Sequence" field of the "AI_ConfigPermissions" action so it be scheduled after the "AI_IIsInstall" action (for instance set it to 6550)
4. rebuild and test the installation

Please note that our "Table Editor" feature is available only starting with the "Enterprise" edition of Advanced Installer.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
elou
Posts: 96
Joined: Tue Apr 14, 2015 9:12 am

Re: AppPool Identity + File Permissions

I've got the same issue, you Patch has helps.
Thx.
Regards, Éric.
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: AppPool Identity + File Permissions

You're welcome Éric.

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

Return to “Common Problems”