Old 25th January 2007, 00:15   #1
PepaR
Junior Member
 
Join Date: Jan 2007
Posts: 12
Custom Page

I wrote this code and need display my customa page saved in this location, but it didn't work it? Where is bug, please?
Quote:
;--------------------------------
;Pages

!insertmacro MUI_PAGE_WELCOME
Page custom volbaCADU ;Custom page
!insertmacro MUI_PAGE_LICENSE "${NSISDIR}\Docs\Modern UI\License.txt"
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES

!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES

;--------------------------------
;Languages

!insertmacro MUI_LANGUAGE "Czech"

;--------------------------------
;;Custom Pages

LangString TEXT_IO_TITLE ${LANG_ENGLISH} "Install Options Page Title"
LangString TEXT_IO_SUBTITLE ${LANG_ENGLISH} "A subtitle"

Function volbaCADU ;FunctionName defined with Page command
!insertmacro MUI_HEADER_TEXT "$(TEXT_IO_TITLE)" "$(TEXT_IO_SUBTITLE)"
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "${NSISDIR}\FAST\FAST_A.ini"
FunctionEnd
PepaR is offline   Reply With Quote
Old 25th January 2007, 04:37   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
code:
!insertmacro MUI_PAGE_WELCOME
Page custom volbaCADU ;Custom page
!insertmacro MUI_PAGE_LICENSE "${NSISDIR}\Docs\Modern UI\License.txt"
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES

!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES

;--------------------------------
;Languages

!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "Czech"


LangString TEXT_IO_TITLE ${LANG_ENGLISH} "Install Options Page Title"
LangString TEXT_IO_SUBTITLE ${LANG_ENGLISH} "A subtitle"

LangString TEXT_IO_TITLE ${LANG_CZECH} "CZECH Title"
LangString TEXT_IO_SUBTITLE ${LANG_CZECH} "CZECH subtitle"

Function volbaCADU ;FunctionName defined with Page command
!insertmacro MUI_HEADER_TEXT "$(TEXT_IO_TITLE)" "$(TEXT_IO_SUBTITLE)"
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "FAST_A.ini"
FunctionEnd

Function .onInit
;Extract InstallOptions INI files
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "${NSISDIR}\FAST\FAST_A.ini"
FunctionEnd


Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 25th January 2007, 10:51   #3
PepaR
Junior Member
 
Join Date: Jan 2007
Posts: 12
Thanks a lot, but if I correct it, when I run setup, it show me a alert: It's unable open the file for write...

Last edited by PepaR; 25th January 2007 at 11:12.
PepaR is offline   Reply With Quote
Old 25th January 2007, 15:59   #4
PepaR
Junior Member
 
Join Date: Jan 2007
Posts: 12
Now it's ok, I must use MUI_INSTALLOPTIONS_EXTRACT_AS.
Thanks all for reply

Last edited by PepaR; 25th January 2007 at 17:10.
PepaR 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