Prev Previous Post   Next Post Next
Old 8th August 2008, 06:58   #1
and84
Junior Member
 
Join Date: Apr 2008
Posts: 12
Mistake in a script... I can not understand where...

Hi all!
Has written a script with custom page...
Here a part of a script...
PHP Code:
.... 
Page license 
Page custom CustomFun 
"" "" 
!insertmacro MUI_PAGE_INSTFILES 

ReserveFile 
"${NSISDIR}\Plugins\InstallOptions.dll" 
ReserveFile "page.ini" 

!insertmacro MUI_LANGUAGE "Russian" 

Section "-Install" 
... 
SectionEnd 

Function .oninit 
         InitPluginsDir 
         File 
/oname=$PLUGINSDIR\page.ini "page.ini" 
Functionend 

Function CustomFun 
         
!insertmacro MUI_HEADER_TEXT "TEXT1" "TEXT2" 
         
!insertmacro INSTALLOPTIONS_INITDIALOG "page.ini" 
         
!insertmacro INSTALLOPTIONS_SHOW 
FunctionEnd 
The section of installation is carried out two times. I can not understand why.
Probably I was mistaken in macros.

Help please.
Thanks!
and84 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