Page 1 of 1

Registering ASP.Net application to run as 32-bit app in IIS7

Posted: Thu Oct 22, 2009 3:09 pm
by rthacker
I am evaluating InstallAware for my company. The latest release says it fully supports 64-bit OS and IIS 7. I have been able to create an installation for a ASP.Net Web application that does install. However, the application pool it uses is not set to run as a 32-bit application. Since the installation is set as 32-bit, I assumed that would be automatic.

Further, I can not see a way to set this in the IDE. I have VBScript which can do it, but I am wondering what I am missing in the IDE, or how I can use the VBScript effectively.

Thanks.

Posted: Thu Oct 22, 2009 4:36 pm
by CandiceJones
Hi Regan,

Try using the Set 64 Bit Mode command.

If that doesn't help, run your VBScript using the Run Program command, on I believe what should be wscript.exe.

Posted: Thu Oct 22, 2009 5:56 pm
by rthacker
SET 64 Bit Mode did not work. Calling my own script did.

However, I would have thought this would be something already included in InstallAware. That is code to configure the Application Pools. If it is not already in consideration, please add that as a request.

Thank you for your help.

Posted: Thu Oct 22, 2009 6:08 pm
by CandiceJones
The Create Virtual Folder command let's you configure Application Pools.

Re: Registering ASP.Net application to run as 32-bit app in

Posted: Wed Apr 07, 2010 8:10 am
by ominous
You can set 32-bit mode on an Application Pool using the following Run Program command within your install script

Run Program: $WINDIR$\system32\inetsrv\appcmd.exe
Command Line Parameters: set apppool $TITLE$ /enable32BitAppOnWin64:true /processModel.identityType:LocalSystem

This example assumes that your Application Pool is named the same as the Title within your installation routine.
I also have the Hide Program Window and Wait for Program to Finish checkboxes checked.