Skip to content
⌘ NSIS Forum Archive

doesn't work

3 posts

nohbody9#

doesn't work

I can't even get it to display the custom page. any suggestions?
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
arfinator853#
try:

The custom page function:
Function pagetitle

!insertmacro MUI_INSTALLOPTIONS_DISPLAY "page.ini"

FunctionEnd
the OnInit Function:
  !insertmacro MUI_INSTALLOPTIONS_EXTRACT "page.ini"
Anders#
arfinator853, he is not using the mui

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