Regarding IIS configuration - 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!

SwathiSurya
Posts: 6
Joined: Mon Apr 13, 2009 11:13 am

Regarding IIS configuration

Hi,

I am trying to create websites and virtual directories during installation of the Application using Advanced Installer.

Can anyone let me know
How can i make the step of creating websites and virtual directories optional i.e. on the interest of the user.
How can i retain the websites and App pools setup upon uninstallation



Thanks in advance.
Swathi.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Regarding IIS configuration

Hi Swathi,

Installing websites and virtual directories can be conditioned using the Condition field on the IIS webpage, as can be seen in the attached image.
Preventing the IIS uninstall is however not directly supported by Advanced Installer. You could however try using Orca to edit the resulting msi. In the InstallExecuteSequence table, find the AI_IIsUninstall custom action and delete the row (or condition it as you please).

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
SwathiSurya
Posts: 6
Joined: Mon Apr 13, 2009 11:13 am

Re: Regarding IIS configuration

Hi,


I couldn't find the attachment you have mentioned.
Please do the needful.



Thanks,
Swathi.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Regarding IIS configuration

Hi Swathi,

Both virtual directories and websites have this group:
Image
In the "Install Condition" field you can set the installation condition.

Currently conditioning IIS elements uninstall is not supported. However, this improvement is on our TODO list and it will be available in a future version. Until then you can try using a false condition for the "AI_IIsUninstall" action in the .AIP file. You can find more details here:
http://www.advancedinstaller.com/forums ... f=2&t=8426

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

Return to “Common Problems”