marcoburi
Posts: 13
Joined: Wed Sep 21, 2011 8:37 pm

How to send version notes via a custom action

We export all our version notes to a text file. We include the version note text file in the project.
We also include an executable responsaible for showgin version notes.

After the user selects the app directory, I launch an executable with a few parameters such as Product version.

I would like to also pass the text file content as a parametrer to the executable responsible for showing version notes.

I need to do this before the installation begins because the user can still cancel the updates if the upgrade notes involve too many adjustements.

Thanks in advance
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How to send version notes via a custom action

Hello,

Usually, the ReadmeDlg dialog should handle this functionality on each release. It displays the ReadMe text for the user.

With Professional project types, in the bottom pane you can select a Rich Text Format file that contains your readme text.
In Enterprise or above project types you can select the Rich Text Format file that contains the version's readme text in the "RTF File" field of the Properties pane. This field is available when the "Scrollable" text control is selected on the dialog.

You could also localize the ReadMe text.

Otherwise, you can get the text file from within your .EXE instead of passing it as a parameter from the installer. Since you need this custom action dependency before the installation itself, you can add it as a temporary file.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”