buzz71
Posts: 25
Joined: Tue Nov 02, 2010 11:03 am

W2003 IIS User account permission setting

Hi

I am creating an installer to deliver software onto a W2003 machine and need to set permissions for the IUSR_MACHINENAME on certain files.

I have done this up to now by using IUSR_[ComputerName] as the username.

However I have discovered target W2003 machines where the computername has been changed from that of the original so my setting of permission IUSR_COMPUTERNAME fails as it should be IUSR_COMPUTERNAMEOLD. This is because the machine retained the IUSR_COMPUTERNAMEOLD user when its machine name was changed.

Is there a way of detecting the IUSR_ username on a W2003 machine? And if so how can I apply it through Advanced Installer?

Many thanks in advance.

Best Regards,

Buz
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: W2003 IIS User account permission setting

Hi Buz,

Unfortunately, there is no predefined support for this functionality in Advanced Installer. Usually if the user changes the computer name, he should also change the IIS settings and related user accounts.

The only solution would be to implement this detection from within your own custom action.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”