boal23
Posts: 2
Joined: Tue Mar 12, 2019 11:03 am

TXT Update at end of installation

Hi!

Ive got a configuration file in my package that have a few values that needs to be updated depending of the user input during the installation.

Ive tried the TXT Update feature and it works great if I'm using already defined properties at the start of the installation. But since Id like to write the user input into the configuration file with the help of session properties Id would like to execute the TXT update in the end of the installation. Is this possible?

Or would I have to use a custom action with e.g. an inline script?

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

Re: TXT Update at end of installation

Hello and welcome to our forums,

The text file update operation already takes place "close" to the end of the installation. With that being said, you can add the user's input to your file by using a text file update.
Or would I have to use a custom action with e.g. an inline script?
You can also use a custom action for this as well (e.g. PowerShell script, VBScript, etc.)

Please let me know if there is anything else I could help you with.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
boal23
Posts: 2
Joined: Tue Mar 12, 2019 11:03 am

Re: TXT Update at end of installation

You are of course correct. There was an issue with the property values that was the cause of my problems but it's solved now.

Thanks!

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

Re: TXT Update at end of installation

You are always welcome.

Glad I could help.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”