.config update via XML Update fails and Service Fails Start - Advanced Installer Community
alex90112005
Posts: 6
Joined: Fri Jan 23, 2015 8:58 pm

.config update via XML Update fails and Service Fails Start

Hello,

I am trying to use the XML File feature with a xml-based “.config” file.

1. On the Element Setting I have this: where I set the Text equal to a user-defined property; say “PROP111”
2. On the Dialogue screen, I have a custom action which changes the property “PROP111” based on the radio button the user selected.
3. The problem: When installing the service, it fails on the “Starting Services” part stating “[YourService] failed to start. Verify that you have sufficient privileges to start system services”. However, I know the issue is not the previous-mentioned because the installer was working fine prior to adding the “XML update fix”.
Also, the file which was supposed to be overridden by the user-selection was not modified.

The installer is then forced to “Cancel” and roll back.

Please help us with this issue.

Thanks.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: .config update via XML Update fails and Service Fails St

Hello Alex and welcome to Advanced Installer forums,

I'm not sure why you encountered the this behavior.
In order to have a better view about this, can you please send us the .AIP (project file) and a verbose log of the installation process to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”