Himanshu
Posts: 9
Joined: Thu Jul 28, 2016 2:24 pm

Update File using wizard dialogue inputs

I would like to add below node into xml file for number of URL input replaced in below config.

<WorkerConfiguration name="CME">
<LoggerConfiguration level="Info" useParentHandlers="false">
<FileHandlerConfiguration pattern="ogs/CMESTP_Worker_%g.log" limit="30000000" count="10" />
</LoggerConfiguration>
<CMESTPPollerConfiguration URL="https://serviquery" UserName="API_CMESTP_R" Password="emb" SenderCompID="API_CR" RetryCount="5" LogoffRetryCount="2" SocketTimeout="180000" InitialSleepInterval="50" PollingSleepInterval="5000">
<HTTPClientLoggerConfiguration level="Info" useParentHandlers="false">
<FileHandlerConfiguration pattern="logs/CMESTP_HTTPClient_%g.log" limit="30000000" count="10" />
</HTTPClientLoggerConfiguration>
</CMESTPPollerConfiguration>
</WorkerConfiguration>
Attachments
Test.aip
(17.68 KiB) Downloaded 340 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Update File using wizard dialogue inputs

Hello and welcome to our forums,

To achieve what you need you can simply use our XML updates support. Just import your XML file in our "Files and Folders" page and edit the imported "URL" attribute of your "CMESTPPollerConfiguration" element to be set to the [URL_PROP] formatted reference.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Himanshu
Posts: 9
Joined: Thu Jul 28, 2016 2:24 pm

Re: Update File using wizard dialogue inputs

Thanks for your Response Daniel.


My Query is:

1. 1st Dialogue, User will specify number of CMESTPPollerConfiguration added into XML file.
2. 2nd dialogue,
- User will pass properties(e.g, URL) to be added with CMESTPPollerConfiguration tag in XML file.
- On clicking next, decrement number in first dialogue, add tag in xml file, Refresh current dialogue till number reaches 0.

Please help with above.

Thanks
Himanshu
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Update File using wizard dialogue inputs

Hello Himanshu,

I apologize for my delayed reply.

Unfortunately, we do not have support to update the XML file during dialogs stage multiple times in a row during installation. To achieve what you want you will have to write your own custom action.

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

Return to “Common Problems”