XML File configuration problem - 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!

jani.matyas
Posts: 2
Joined: Thu Mar 18, 2010 2:38 pm

XML File configuration problem

Hello,

I created an installer in which I create an XML file using the XML editing features provided by Advanced Installer. My issue is the following:
If I refer a Windows Installer Property in an XML attribute, it is not filled out (remains blank), although the MSI log displays that the Windows Installer Property contains the proper value. The property in question is filled with a string value in a publish event.
Now I did the following trick:
I created an (invisible) Edit control on the dialog where the Property was meant to be introduced, linked it to a Windows Installer UI Property, and referred this newly created Property by the XML attribute. Also I changed the reference to this new UI Property in the publish event. Now the XML file is filled with the correct value. It seems that the XML Configuration feature does not see all Windows Installer Properties, only the UI ones. Can you solve it in the next update? I think it is absolutely not elegant to introduce such kind of "UI garbage" in order to have Properties which can be used in XML configuration.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: XML File configuration problem

Hello,

You don't have to do that trick to assign the value. You can use a "Property set with Formatted" custom action.

Can you please send us the .AIP manifesting the issue to support at advancedinstaller dot com so we can investigate it?

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

Return to “Common Problems”