Is Themes' CompanyLogo Modifiable At Build Time? - Advanced Installer Community
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Is Themes' CompanyLogo Modifiable At Build Time?

Is there a way on the AdvancedInstaller.com command line to point to a picture for CompanyLogo?

We want to be able to choose which picture to use during build time.

Can I do something like "AdvancedInstaller.com /CompanyLogo="C:\some folder\some.jpg"
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Is Themes' CompanyLogo Modifiable At Build Time?

Hi Scott,

I'm afraid that we do not have support for this. The dialog and banner images can be changed at build-time using the "/SetBitmap" command, but only for the themes that use the "DialogBitmap" and "BannerBitmap" properties for those images (i.e. "Classic" theme).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Is Themes' CompanyLogo Modifiable At Build Time?

Eusebiu,

Is Classic the only theme that uses DialogBitmap?

A search on "DialogBitmap" in Help files did not return an answer.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Is Themes' CompanyLogo Modifiable At Build Time?

Hi Scott,

Only the "Classic" and "Spring" themes use the "DialogBitmap" property. This name is displayed when you choose a theme in the "Themes" page under the "Customizable Images" section.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Is Themes' CompanyLogo Modifiable At Build Time?

Thanks Eusebiu for a quick response.

I'm thinking one way I can accomplish want I need to do is at build time swap out the jpg file contents that my CompanyLogo are pointing to. e.g. my CompanyLogo points to:

<ROW Name="Cicero_Discovery_Server_Logo.jpg" SourcePath="..\Images\AI Company Logos\Cicero_Discovery_Server_Logo.jpg"/>

Before I build our install I can replace the Cicero_Discovery_Server_Logo.jpg file with either Image1 or Image2. As long as the file name remains the same that should work, right?
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Is Themes' CompanyLogo Modifiable At Build Time?

You're welcome Scott.

Yes, the approach you mentioned should work without problems. If you want to automate the process, you can do the swap through a script which can be executed as a pre-build event in the "Builds" (Media) page.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”