Old 13th March 2005, 03:55   #1
nohbody9
Junior Member
 
Join Date: Mar 2005
Posts: 1
doesn't work

I can't even get it to display the custom page. any suggestions?
code:
name "blah"
outfile "blah.exe"
installdir "$TEMP"

section ""
detailprint "blah"
sectionend

page custom blah blahh
page directory
page instfiles

function .oninit
initpluginsdir
file /oname=$TEMP\blah.ini blah.ini
functionend


function blah
push $R9
installoptions::dialog blah.ini
pop $R9
functionend


function blahh
push $R9
readinistr $R9 "$TEMP\blah.ini" "blah "text"
writeregstr HKCU "software\blah" "blah" "$R9"
pop $R9
functionend

nohbody9 is offline   Reply With Quote
Old 13th March 2005, 05:44   #2
arfinator853
Member
 
Join Date: Feb 2005
Posts: 67
Send a message via ICQ to arfinator853 Send a message via AIM to arfinator853 Send a message via Yahoo to arfinator853
try:

The custom page function:
code:
Function pagetitle

!insertmacro MUI_INSTALLOPTIONS_DISPLAY "page.ini"

FunctionEnd



the OnInit Function:
code:
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "page.ini"
arfinator853 is offline   Reply With Quote
Old 13th March 2005, 16:00   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
arfinator853, he is not using the mui

try using the full path to the .ini in the blah function

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
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