drmp
Posts: 1
Joined: Thu Feb 01, 2018 12:46 pm

Modifying a property value during installation

Let us consider we have the following property:
<COMPONENT>
<ROW Property="SomeName" Value="Val_1"/>

How can its value be changed to Val_2 during the installation process depending on a given condition: e.g. there is a site name (visible with IIS Manager) and if that name equals "Name_1" then the value would be Val_1 otherwise it would be Val_2?

Thank you
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Modifying a property value during installation

Hello and welcome to our forums,

To achieve this you can write your own custom action which will search for the related web site and depending on the result set the property from your custom action code.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”