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!

Antarctica
Posts: 110
Joined: Tue Jul 08, 2014 9:24 am

Check whether URL Rewrite Plugin installed, conditional XML

I want to make a URL Rewrite that can only be made using IIS URL Rewrite Plugin.
URL Rewrite Plugin writes its config into the Web.config.
If I deploy a Web.config with URL Rewrite rules in it onto IIS without URL Rewrite Plugin, the site is not accessible because "the Web.config contains errors".

Can I find out, using AI builtin tools, whether IIS has URL Rewrite plugin installed or not?

Can AI conditionally write an XML subtree into an XML file?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Check whether URL Rewrite Plugin installed, conditional

Hello,
Can I find out, using AI builtin tools, whether IIS has URL Rewrite plugin installed or not?
Yes, if you know what system changes are definitory for the presence of plugin on the target machine then you can easily add a search from the Search page.
If you don't know, you can easily find out, for example you can do a registry export before and after installing the plugin and see what values are added.
Can AI conditionally write an XML subtree into an XML file?
Yes, you can use the search name to a add a component condition for the XML update. The XML update can be added from the Files and Folders page as explained in How do I import and edit an XML file? article.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”