![]() |
#1 |
Junior Member
Join Date: Feb 2011
Posts: 10
|
CustomPage and Images
Hi guys,
i have create a custompage with too images (.ico). It's defined in a .ini file. I use this to show me the CustomPage. code: It works fine. The problem is, that i dont see the images on an other pc, cause it seems nsis dont compile/compress the ico file and he cant find the images. Is there any solution or did I a mistake? Thanks for help kind regards |
![]() |
![]() |
![]() |
#2 |
Major Dude
|
Probable you forgot to include those .ico files into the your installer...
You need to extract them when installation starts into temp directory and load them from that place, not from absolute path in your PC. And try to avoid those .ini files, they are deprecated. Cool looking installers with custom design: www.graphical-installer.com Create Setup Pages easily: www.install-designer.com Build installers in Visual Studio 2005-2019: www.visual-installer.com or RAD Studio 2009, 2010, XE-10.4 Sydney: www.rad-installer.com |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Feb 2011
Posts: 10
|
Big thx.
May you give me one Example? I dont know how to solve it. I only have to !include ".ico" and change the .ico path in the .ini file to a relative path? kind regards //edit: ok it works fine now. Did only this on the .onInit Function SetOutPath "$TEMP\" File "gfx\*.*" And i use relative path .\\.ico on the .ini file. thx |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|