Old 9th February 2011, 17:02   #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.

Page custom CustomPage
!insertmacro INSTALLOPTIONS_DISPLAY "test.ini"
!insertmacro INSTALLOPTIONS_EXTRACT_AS ..\test.ini" "test.ini"

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
FlasH_10 is offline   Reply With Quote
Old 10th February 2011, 08:18   #2
Major Dude
T.Slappy's Avatar
Join Date: Jan 2006
Location: Slovakia
Posts: 552
Send a message via ICQ to T.Slappy
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
T.Slappy is offline   Reply With Quote
Old 10th February 2011, 12:07   #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

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.

FlasH_10 is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump