Patch doesn't show / load PNG files - Advanced Installer Community
guidogast
Posts: 51
Joined: Thu Sep 05, 2013 10:12 am

Patch doesn't show / load PNG files

Hello,

I created a fully custom design (including buttons and progressbar) for our installer, this works perfectly the main install. On our Patch windows we applied both items, but if we run the patch, we don't see the pictures. We had the same problem with our background picture, which was also a png file. However, after converting it to an jpg, it worked fine. For the buttons and progressbar, it's not possible to load a jpg, since there is a filter for PNG only on the OpenFileDialog window.

Could this be fixed in a future version of Advanced Installer or is this something that can't be fixed?

Thanks in advance!

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

Re: Patch doesn't show / load PNG files

Hi Guido,

We will investigate the problem and try to fix it in a future version of Advanced Installer. Thank you for bringing it to our attention.

Meanwhile, you can try the following workaround:
- go in the Themes page, "Images" tab, add a new image (i.e. "my_image.jpg") and set a "Property Name" for to it.
- go in the Dialogs page, select your image button, then from the "Properties" pane set the "Use Indirection" flag to "True"
- from the dialog that appears select the image you created
- build and run the patch

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
guidogast
Posts: 51
Joined: Thu Sep 05, 2013 10:12 am

Re: Patch doesn't show / load PNG files

Hello Eusebiu,

I tried your workaround, but that didn't do the trick. Is there already some information to this matter?

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

Re: Patch doesn't show / load PNG files

Hi Guido,

Indeed, it does not work with the solution specified above. I'm afraid that this is a Windows Installer limitation and this scenario cannot be achieved with patches.

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

Return to “Common Problems”