ontsnapt
Posts: 6
Joined: Tue Sep 28, 2010 9:26 am

IIS_IUSRS is not a valid user

I am trying to create a msi for a webservice. In prerequisited I added some Windows Features (IIS).

First I noticed that IIsWWWRootFolder is empty when IIS is not installed. So I created a property IIsWWWRootFolder with value c:\inetpub\wwwroot.
Now I get the message "An error occured while applying security settings. IIS _IUSRS is not a valid user or group".

Is IIS installed when I use the Windows features. If so, when is it installed (before or after the main installation).

Thanks
Eric
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: IIS_IUSRS is not a valid user

Hello Eric,

The Windows Features are actually installed before the main installation is triggered. So the permissions should be set correctly.

I've observed that there is a space in the user account name just before the underscore character. Can you please make sure there is no typo into your project on "Permissions" dialog?

If this is still of no help, then 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.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ontsnapt
Posts: 6
Joined: Tue Sep 28, 2010 9:26 am

Re: IIS_IUSRS is not a valid user

Thanks for the reply. Removing the space solved the problem.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: IIS_IUSRS is not a valid user

You're always welcome.

I'm glad you got this working.

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

Return to “Common Problems”