Conditional XML file updates - 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!

waspy
Posts: 64
Joined: Fri Oct 03, 2008 10:58 am

Conditional XML file updates

Hello Guys,

Could you advice on how to update XML file inside installation package only if certain variable has been set (in a custom dialog for example)?

Thank you,
Alex
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Conditional XML file updates

Hello Alex,

Please refer to this link. In order to modify the content of you XML file using a property, you can use Public Properties when editing your XML elements.

Also you can set a default value to your property which the user can modify at runtime with a control inside your custom dialog.

This way when the property gets changed in the dialog, it will be dynamically changed in the XML as well.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”