sabarnett
Posts: 12
Joined: Wed Nov 23, 2011 9:53 pm

Surface theme always grey

I switched over to the Surface theme. It looks fine in the preview window but, when I run the installer, the background os always grey. Have I missed something fundamental here?

Image

This happens on all three of the surface themes.

I'm running 9.6.1.

Thanks
Steve

Edit: Just created a completely new installer and the colours work. Looks like it's not working for old projects.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Surface theme always grey

Hello Steve,

I'm glad you got this working. Also, you can take a look on our "New Surface Theme Color Contrast" thread.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sabarnett
Posts: 12
Joined: Wed Nov 23, 2011 9:53 pm

Re: Surface theme always grey

Daniel.Radu wrote:Hello Steve,
I'm glad you got this working. Also, you can take a look on our "New Surface Theme Color Contrast" thread.
Well, not exactly got it working. I now face the decision as to whether to use the surface theme or not. If I want to use it, it seems I must re-create my setups from scratch. If I get the time, I'll see if I can spot the difference between a "new" project and an "old" project to see if I can spot why old projects don't play nice with the surface theme.

Thanks
Steve
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Surface theme always grey

Hello Steve,

I'm not sure why you are encountering this behavior. Can you attach a sample project reproducing the behavior so we can investigate it? Also, in order to clearly report an issue you can take a look on our How to report a problem for a faster resolution article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sabarnett
Posts: 12
Joined: Wed Nov 23, 2011 9:53 pm

Re: Surface theme always grey

Daniel.Radu wrote:I'm not sure why you are encountering this behavior. Can you attach a sample project reproducing the behavior so we can investigate it?
No problem. I'm out of the office all day today but can get one attached later this evening. I have one with only three or four files, so it's pretty much as simple as it gets.
Daniel.Radu wrote: Also, in order to clearly report an issue you can take a look on our How to report a problem for a faster resolution article.
This started out as idle curiosity, so isn't a 'problem' that needed serious attention. I'm sure you have way more important things to do! I posted here in the expectation that someone would tell me what an idiot I was for missing the blindingly obvious setting. Reality is, it's all just look and feel and you provide so many other great themes that it's just not that important.

I should also declare, I am a total idiot when it comes to installers; they're as very small part of what I do, which is why I use Advanced Installer - I don't have to be an expert to get good looking installs.

It'll probably just turn out to be that the instalelr file I'm working with has been upgraded so many times through so many variations that it's missing some vaguely important setting. No big deal.

Steve
sabarnett
Posts: 12
Joined: Wed Nov 23, 2011 9:53 pm

Re: Surface theme always grey

Daniel.Radu wrote:I'm not sure why you are encountering this behavior. Can you attach a sample project reproducing the behavior so we can investigate it?
I've uploaded a zip file containing two setup files. The "old" one is for an old project thats been upgraded through a few versions of Advanced Installer. This one looks fine in the IDE but is grey when I run it. The other file is a similar setup that I created from scratch and works fine.

When I compared the two, I noticed that the old project was missing a lot of entries:

Code: Select all

  <COMPONENT cid="caphyon.advinst.msicomp.MsiPropsComponent">
    <ROW Property="AI_COLOR_DISABLED_TEXT" Value="1644825" MsiKey="AI_COLOR_DISABLED_TEXT"/>
    <ROW Property="AI_CONTROL_VISUAL_STYLE" Value="2960685;4276545;6776679;16176031" MsiKey="AI_CONTROL_VISUAL_STYLE"/>
    <ROW Property="AI_EXTERNALUIUNINSTALLERNAME" MultiBuildValue="DefaultBuild:aiui"/>
    <ROW Property="AI_FINDEXE_TITLE" Value="Select the installation package for [|ProductName]" ValueLocId="AI.Property.FindExeTitle"/>
    <ROW Property="AI_FrameBtnsColor" Value="metroblack" MsiKey="AI_FrameBtnsColor"/>
    <ROW Property="AI_FrameColor" Value="metroblack" MsiKey="AI_FrameColor"/>
    <ROW Property="AI_ThemeStyle" Value="default" MsiKey="AI_ThemeStyle"/>
When I copied these over, the theme started working again.

Steve
Attachments
INSTALLPROJECTS.ZIP
(11.64 KiB) Downloaded 534 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Surface theme always grey

Hello Steve,

You are encountering this behavior because you have enabled the "Keep original image sizes" option from "Themes -> Settings" tab. In order to achieve what you want you should use the "Use individual control 'stretch' settings" option.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sabarnett
Posts: 12
Joined: Wed Nov 23, 2011 9:53 pm

Re: Surface theme always grey

Daniel.Radu wrote:You are encountering this behavior because you have enabled the "Keep original image sizes" option from "Themes -> Settings" tab.
Worked perfectly, thank you. Can't remember changing that option (ever!) and I tend not to mess with options where I can't be sure what it does. However, I guess I must have at some stage.

Still problem solved.

Many thanks
Steve
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Surface theme always grey

You're welcome. Glad to help.

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

Return to “Common Problems”