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!

jderosa
Posts: 19
Joined: Wed Sep 28, 2016 8:27 pm

Custom Image

I bet this has been asked, but when I try to search for Custom Image the search says that is to common a question.

I am trying to put a custom png image on a couple of my dialogs. They are on the host system where I'm building the installer, but are not required to be installed.
When I work with the installer project, the images show up fine, but when I run the installer on another machine they are gone.
I assume I need to embed the image, and then refer to it in the image control, but can't seem to find out how to do this.

Thanks
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom Image

Hi,
I bet this has been asked, but when I try to search for Custom Image the search says that is to common a question.
This is a problem from the phpBB forums platform, the one we use for our forums too. However, we do not recommend using this search, instead please use the "Google Custom Search" from the website header, upper-right side.
I am trying to put a custom png image on a couple of my dialogs. They are on the host system where I'm building the installer, but are not required to be installed.
When I work with the installer project, the images show up fine, but when I run the installer on another machine they are gone.
I assume I need to embed the image, and then refer to it in the image control, but can't seem to find out how to do this.
I'm not sure why you encounter this problem. Can you please try to isolate the behavior in a buildable sample (.aip + its referenced files) and send it to us alongside a test case that we can follow to test and replicate the issue on our side?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jderosa
Posts: 19
Joined: Wed Sep 28, 2016 8:27 pm

Re: Custom Image

I found this via google

http://www.advancedinstaller.com/forums ... hp?t=23765

So I tried messing with the image format.
PNG with transparency filled in shows as grey box.
BMP shows fine in all 3 environments.
I had our graphics department prepare images with a white background instead of transparent, and those work in png or bmp format.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom Image

Hi,

The Windows Installer version in Windows 8 and Windows 10 is higher then the Windows Installer version from Windows 7. In Windows 7 PNG images with transparency are not supported by Windows Installer, but it seems that those images are supported starting with Windows 8, however the transparency is lost.

So, the workaround for this is to use BMP images or enable the "Enhanced User Interface" feature from the "Themes" page, "Settings" tab. Furthermore, this feature is required by the theme that you use. Please read more details in the "Why are my dialogs and controls not displayed correctly" FAQ.

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

Return to “Building Installers”