Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   how to add a simple custom page (http://forums.winamp.com/showthread.php?t=206605)

JedBartlett 1st February 2005 20:12

how to add a simple custom page
 
Okay, maybe I'm stupid.

I'm trying to add a simple "hello world" custom page.

I put this line in before the MUI_PAGE_DIRECTORY line:

Page custom customPage1

And I added this function:

Function customPage1 ;FunctionName defined with Page command
InstallOptions::dialog "select.ini"
FunctionEnd

select.ini is this file I found on a web site somewhere (see below).

I don't see my custom page -- what am I doing wrong?

[settings]
NumFields=5

[field 1]
Type=GroupBox
Text=Downloader information
Left=0
Top=0
Right=265
Bottom=130

[field 2]
Type=label
Text=Enter the URL to download:
Left=13
Top=27
Right=108
Bottom=39

[field 3]
Type=text
Left=13
Top=40
Right=254
Bottom=52

[field 4]
Type=label
Text=Select a folder to save the file:
Left=14
Top=69
Right=127
Bottom=78

[field 5]
Type=DirRequest
Left=14
Top=79
Right=255
Bottom=91

Afrow UK 1st February 2005 20:37

Where have you extracted the select.ini file to?
e.g.
File "/oname=$PLUGINSDIR\select.ini" "select.ini"

InstallOptions::dialog requires the full path to an ini file on the user's system, e.g. "$PLUGINSDIR\select.ini"

-Stu


All times are GMT. The time now is 05:18.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.