Application pool is reseted after upgrade - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

t-man
Posts: 4
Joined: Mon Jan 25, 2010 1:40 pm

Application pool is reseted after upgrade

Hello All,

In my installer I create an application pool and a virtual directory. The conditions are "Not Installed".

The installation works fine.
But there is a problem at Upgrades.

My Upgrade options:

- Automaticaly upgrade older product versions
- User original installation path when upgrading
- install new version first and then uninstall old version

The upgrade works, but the application pool is reseted.
So if I change an option in the application pool, the upgrade resets it. (why ???)
Changes at the virtual directory will not be reseted. (As I expect)

Is it a bug or is somthing wrong with my installer?

Thanks in advance.
T-Man
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: Application pool is reseted after upgrade

Hi,

This behavior may be encountered when you use "Install new version first and then uninstall old version" option in Upgrades page.This option is not yet supported by IIS.
I suggest to use "Uninstall old version first and then install new version" option.

Best regards,
Ciprian
______________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
t-man
Posts: 4
Joined: Mon Jan 25, 2010 1:40 pm

Re: Application pool is reseted after upgrade

Hello Ciprian,

I've tried it now with "Uninstall old version first and then install new version" and the problem keeps the same. Manual changes at the application pool are reseted after an update.
Additionally there is a new malfunction with this option: Some user files that should not be removed, had been removed.

Any other idea?

Thanks in advance
T-Man
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Application pool is reseted after upgrade

Hello,

In order to further investigate please send us the following to support at advancedinstaller dot com :
- your .AIP (project)
- a short detailed step by step list description of your system changes
- a list of exact steps to reproduce the issue

Thank you,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Application pool is reseted after upgrade

Hi,

My colleague forgot to mention that IIS elements do not support preserving user data. Their settings will always be reset. However, we have on our TODO list an improvement for this which will be included in a future version.

IIS elements also do not support the "Install new version first and then uninstall old version" option, so you should use "Uninstall old version first and then install new version".

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”