We have and ASP.Net application that is installed via Installshield 2010 Professional. The application needs to be installed in a Classic .NET application pool.
We do this as show below:
LaunchAppAndWait("","C:\\Windows\\System32\\inetsrv\\appcmd set apppool /apppool.name: " + '"'+ "Classic .NET AppPool" +'"' + " /enable32bitapponwin64:true",WAIT);
On Windows 2008 (x64) wit UAC (User Account Control) enabled and logged in as a 'semi' administrator the call crashes and the installer rolls back.
Logged in as a 'real' administrator or with UAC turned off, the application installs fine.
When looking at the appcmd command in a command window, the cause of the crash is revealed.
"Cannot read configuration file due to insufficient permissions"
How can we overcome this issue since disabling UAC or logging in as a real admin will not be an option for larger IT organizations.