JHC Software
Posts: 17
Joined: Thu May 05, 2005 9:13 am

Modifying UI Dialogs

I've upgraded to version 3.5 (from an older version, can't remember exactly which version), and want to do small changes to the installation dialogs.

In the previous version I had installed, editing the Template.msi file could achieve this. In the latest version, this file has changed significantly and I can no longer find the things I want to change.

It was mentioned previously that improvements were being made to allow simpler customisation of the UI dialogs. Has this been done? And if so, how do I do it. If not, where has everything in the Template.msi file gone to... for example, the tables "Control" and "Dialog" previously contained everything I need to modify, but now these tables are empty.
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,
It was mentioned previously that improvements were being made to allow simpler customisation of the UI dialogs. Has this been done?
We are still working on this feature.
If not, where has everything in the Template.msi file gone to... for example, the tables "Control" and "Dialog" previously contained everything I need to modify, but now these tables are empty.
The UI data from "template.msi" has been moved to XML files. The file "UI.aip" from the "fragments" subdirectory contains definitions for dialogs and controls, while the localized UI strings can be found in the AIL files from the "dictionaries" subdirectory.

Therefore, if you need to change control attributes (such as width or height) you have to edit "UI.aip". However, if you need to change some UI strings, then you must edit the appropriate dictionary file.

Regards,
Denis
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
JHC Software
Posts: 17
Joined: Thu May 05, 2005 9:13 am

Many thanks.

This is much better than having to edit the template.msi file.

I didn't have to change very much because you'd already incorporated my suggestions for some tweaks to the sizes of things. Great!

Return to “Common Problems”