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!

bjk68
Posts: 55
Joined: Tue Dec 01, 2009 12:45 pm

Store name and version number of used template in AI project

When working with an AI project, based on a template, we would like to know which template was used and which version of this template was used. This information could possibly be displayed at a new Project Options tab.

When we save a project as template, we would like not only to enter it's folder and filename, but also it's version number (which we can define ourselves).

We enhance our AI templates from time to time, and keep a changelog of the template changes. But implementing these changes in older AI projects is difficult, because we don't know on which template, and which version of this template these projects are built. Our only option now is to rebuild these AI projects from scratch based on our newest template.

An alternative would be that you define a GUID for every new template, and add this GUID as Template ID to every new project that is based on this template. This Template ID GUID could possibly be displayed at the Project IDs tab of the Project Options. We can create a list of Template IDs and corresponding Template name and version ourselves.

We save our templates on a central share, so please reconsider my earlier suggestion for the File menubutton pulldownlist: "New from template...", opening a file browser window, enabling the developer to create a new AI project based on a central template file, that is not (yet) present in his own local list of templates.

Best regards,

Bart
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Store name and version number of used template in AI project

Hi,

A simple solution to this is to create a property in the Install Parameters page, for example TEMPLATE_VERSION, and simply change its value every time you update your template.

This property will be present in all projects created from the corespondent template and will have the value that you are interested in.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bjk68
Posts: 55
Joined: Tue Dec 01, 2009 12:45 pm

Re: Store name and version number of used template in AI project

A perfect solution! Much simpler than what I was looking for. :D

Thanks.

Return to “Feature Requests”