Scrollable Edit: source file - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

clint
Posts: 139
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Scrollable Edit: source file

Is there a method for a scrollable edit box to use a file from the installation source?

Instead of embedding a text readme file into the msi, I have it stored along side of the rest of the installation files.

I would like to show this file in a scrollable edit box on a dialog.

Then the file can be changed at the last minute without having to recompile the package (hqts would like to have this instead of me having to send new large updates of the package each time), and when the setup runs, the scrollable edit gets it's contents out of the installation source.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Scrollable Edit: source file

Hi,

You cannot change the contents of the file and then display it without rebuilding the package.

When you build the package, a copy of the file is being saved into it. If you change the file afterwards the MSI will not update its content, it will display the old one. Therefore a build is imperative after every change made to the file. This is a Windows Installer limitation.

To display a scrollable edit use the Dialog Editor from the dialogs page. Just create a New Dialog and add a Scrollable edit box using the Toolbox. The file that will be displayed ca be set from the File Path column, in the Properties table.

Please note that a Scrollable edit can display only .RTF files.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”