Modifying a property value during installation

Ask a question, request an improvement or report a bug.
drmp
Posts: 1
Joined: Thu Feb 01, 2018 12:46 pm

Modifying a property value during installation

Postby drmp » Thu Feb 01, 2018 12:55 pm

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: 7417
Joined: Mon Apr 02, 2012 1:11 pm
Contact:

Re: Modifying a property value during installation

Postby Daniel » Mon Feb 05, 2018 10:34 am

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 “Installer Analytics”

Who is online

Users browsing this forum: No registered users and 1 guest