How to override an exist iis application pool - Advanced Installer Community
apachemaven
Posts: 10
Joined: Wed Jul 11, 2012 10:29 am

How to override an exist iis application pool

Hi:

We are using the Advanced Installer 10 to create an ASP.NET install application.

Now we found that we can not override the exist iis application pool.

For example, there is an exist application pool named "appool" which use the asp.net 2.0.

Now during the install of our product we will create an application pool named "appool" too, but this pool have to use the asp.net 4.0.

We have tried to choose the `override without prompt` ,but after the installation , we found that the `appool` is still working under asp.net 2.0

What is the problem?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to override an exist iis application pool

Hello,

I'm not sure why you encountered this behavior. Can you please tell us where is the “override without prompt” option because I cannot find it?

In order to get more details about what happens can you download the following debug DLL, replace the original one from the install folder of Advanced Installer 10.0 (e.g. C:\Program Files (x86)\Caphyon\Advanced Installer 10.0\custact\x86) on your machine and rebuild the package?

Just replace the original iis.dll from the install folder of Advanced Installer with this one, then restart the application and rebuild the package. This DLL should create a debug log (at install time) on the root of the OS partition (e.g. C:\AI_IIS.log), which can give us more details about the problem. So, can you send us the AI_IIS.log file, to support at advancedinstaller dot com, after you will build and test your installation package using the debug iis.dll?

If you have any questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
apachemaven
Posts: 10
Joined: Wed Jul 11, 2012 10:29 am

Re: How to override an exist iis application pool

Thanks, I will have a try.
apachemaven
Posts: 10
Joined: Wed Jul 11, 2012 10:29 am

Re: How to override an exist iis application pool

Hi, I try to replace the iis.dll according to the answer, however I found that I can not find the old 'iis.dll' in the folder, here are all of the file inside the "C:\Program Files\Caphyon\Advanced Installer 10.3\bin\x86":https://www.dropbox.com/s/ypebwdzudvglab8/fs.png.

And while I said “override without prompt” I mean "Prompt user to override item or rollback":
https://www.dropbox.com/s/1l342tjwcn91na5/pool.png




BTW,we are now use 9.7 instead of 10.

Because our guys found that they can not found an item which exist in 9.7 but 10.

When they try to add a custom action using 9.7 , they can choose the "Execution Properties" which can not be found in 10:

9.7:https://www.dropbox.com/s/6g4q93zw4tkjgx9/9.7_cus.png

10:https://www.dropbox.com/s/ey3lnawdrtbr2t0/10_cus.png
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to override an exist iis application pool

Hello,

You can download from here the debug DLL.
Hi, I try to replace the iis.dll according to the answer, however I found that I can not find the old 'iis.dll' in the folder, here are all of the file inside the "C:\Program Files\Caphyon\Advanced Installer 10.3\bin\x86":https://www.dropbox.com/s/ypebwdzudvglab8/fs.png.
As I said in my previous post, replace the original iis.dll from the install folder of Advanced Installer 9.7 (e.g. C:\Program Files (x86)\Caphyon\Advanced Installer 9.7\custact\x86) on your machine.

Just replace the original iis.dll from the install folder of Advanced Installer with this one, then restart the application and rebuild the package. This DLL should create a debug log (at install time) on the root of the OS partition (e.g. C:\AI_IIS.log), which can give us more details about the problem. So, can you send us the AI_IIS.log file, to support at advancedinstaller dot com, after you will build and test your installation package using the debug iis.dll?

If you have any questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”