AWHelpSystems
Posts: 3
Joined: Thu Nov 26, 2020 2:59 pm

Using Text File Update on file installed by Merge Module

Thu Nov 26, 2020 4:03 pm

I have an installer which installs multiple merge modules. One of which installs a json configuration file. How can I use the Text File Update of the installer to update the json file? As the merge module project doesn't seem to have the Text File Update functionality.

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Using Text File Update on file installed by Merge Module

Thu Nov 26, 2020 7:15 pm

Hello and welcome to our forums,

If the .JSON file is added in the "Application Folder" of your merge module, then this file will be installed in the "Application Folder" of your main installation.
InstallInParent.png
InstallInParent.png (68.22KiB)Viewed 2206 times
MainSetup.png
MainSetup.png (12.87KiB)Viewed 2206 times

With that being said, all you need to do is to add the "Text File Update" in the "Application Folder" of your main setup.

Hope this helps!

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

AWHelpSystems
Posts: 3
Joined: Thu Nov 26, 2020 2:59 pm

Re: Using Text File Update on file installed by Merge Module

Fri Nov 27, 2020 11:08 am

Thanks for the reply, I can see it working when the json file is installed to the APPDIR. If the merge module installs to APPDIR/MergeModule how can I expose that location property in the parent installer to select it in the Component drop down selection? That way I could set the json file in the include files box and modify it (within the merge modules install location that isn't APPDIR)

AWHelpSystems
Posts: 3
Joined: Thu Nov 26, 2020 2:59 pm

Re: Using Text File Update on file installed by Merge Module

Fri Nov 27, 2020 12:44 pm

I've only just seen the "search sub-folders" option... Thanks for the help!

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Using Text File Update on file installed by Merge Module

Fri Nov 27, 2020 1:50 pm

You are always welcome!

I am glad everything works as expected now.

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

Return to “Building Installers”