srujan.palakurthi
Posts: 28
Joined: Tue Jun 25, 2019 8:48 am

Dynamic new text file update creation

Hi,

i have below requirement and could you please help me to achieve this.

I have combo box to select no. of services, based on that number i have to create service config files(Text file updates) dynamically at run-time, could you please help on this.

Thanks,
Srujan.
srujan.palakurthi
Posts: 28
Joined: Tue Jun 25, 2019 8:48 am

Re: Dynamic new text file update creation

Can anyone suggest on this please
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Dynamic new text file update creation

Hello Srujan and welcome to Advanced Installer forums,

Unfortunately, I am afraid that this can not be achieved using our predefined support for a "Text File Update" operation.

However, this can be achieved through a custom action. For instance, you can have a script which modifies the content of your already existing config file based on the data from your ComboBox control.

This script should be scheduled in after the "Add resources" action group, as during this action group the files are copied on the target machine.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”