Bank user defined property - 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!

phil_martin
Posts: 2
Joined: Thu Feb 28, 2013 1:23 am

Bank user defined property

Hello,

I am evlauating Advanced Installer, and I have one tiny problem left.

The specific example I have is I would like to set the output MSI filename to this:

Code: Select all

MyShinyProduct[|ProductBranchSuffix]-[|ProductVersion]
Where ProductBranchSuffix is a user defined property, and ProductVersion in the inbuilt installer property.

In the case of a normal release, I would like ProductBranchSuffix to be blank, and at other times it will have a value. For example, it would result in:
  • MyShinyProduct-2.3.0.msi
  • MyShinyProduct-dev-2.3.0.msi
The UI does't support blank values, and if I edit the xml file to have a blank value, the AIP won't load any more.

Is there a work around for this? Or a special value like <blank> ?
phil_martin
Posts: 2
Joined: Thu Feb 28, 2013 1:23 am

Re: Bank user defined property

One possible work around I have right now is to not use a ProductBranchSuffix property, but instead have the build system modify the Product name to include the branch.

So it is not a show stopper, and a minor query.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Bank user defined property

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I'm afraid you cannot define a property with a null value in this scenario. However, as a workaround you can make a copy (just copy and paste the above build in "Media" page) of the current build which will not use the related property in the MSI filename.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”