|
Developers' side bar Selected categories Edit Links |
Devel /
WindowsInstallerPagesCategories: Development, Windows installer << | Page list | >>About the "pages" in the Windows installer. The "pages" are what is shown in a sequence during the installation process. This page also lists the 'sections' The purpose of this page is initially a part of documenting the structure of U's and J's codes. Later on we could use this wiki page to decide/select/determine a new structure for the installer pages. Table of contents (hide) 1. MiscC searched for page statements using something like cd LyXWinInstaller; grep -ir --include="*.ns?" '\(^[ ]*page\)\|MUI_PAGE\|MUI_UNPAGE' . After that it was manual inspection. 2. Pages in U-small
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "${PRODUCT_LICENSE_FILE}"
!insertmacro MUI_PAGE_DIRECTORY
Page custom SelectMenuLanguage SelectMenuLanguage_LeaveFunction
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_STARTMENU ${PRODUCT_NAME} $StartmenuFolder
Page custom LatexFolder LatexFolder_LeaveFunction
Page custom MissingProgramsPage MissingProgramsPage_LeaveFunction
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_COMPONENTS
!insertmacro MUI_UNPAGE_INSTFILES
3. Sections in U-small
Section "!${PRODUCT_NAME}" SecCore
Section "$(SecAllUsersTitle)" SecAllUsers
Section "$(SecFileAssocTitle)" SecFileAssoc
Section "$(SecDesktopTitle)" SecDesktop
Section "un.LyX" un.SecUnProgramFiles Section "un.$(UnLyXPreferencesTitle)" un.SecUnPreferences Section "un.Aspell" un.SecUnAspell Section "un.MiKTeX" un.SecUnMiKTeX Section "un.JabRef" un.SecUnJabRef Section "-Installation actions" SecInstallation 4. Pages in U-bundle
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "${PRODUCT_LICENSE_FILE}"
!insertmacro MUI_PAGE_DIRECTORY
Page custom SelectMenuLanguage SelectMenuLanguage_LeaveFunction
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_STARTMENU ${PRODUCT_NAME} $StartmenuFolder
Page custom MissingProgramsPage MissingProgramsPage_LeaveFunction
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_COMPONENTS
!insertmacro MUI_UNPAGE_INSTFILES
5. Sections in U-bundleSection "-Installation actions" SecInstallation Section "un.LyX" un.SecUnProgramFiles Section "un.$(UnLyXPreferencesTitle)" un.SecUnPreferences Section "un.Aspell" un.SecUnAspell Section "un.MiKTeX" un.SecUnMiKTeX Section "un.JabRef" un.SecUnJabRef
Section "!${PRODUCT_NAME}" SecCore
Section "$(SecAllUsersTitle)" SecAllUsers
Section "$(SecFileAssocTitle)" SecFileAssoc
Section "$(SecDesktopTitle)" SecDesktop
Section /o "$(SecInstGSviewTitle)" SecInstGSview
Section /o "$(SecInstJabRefTitle)" SecInstJabRef
6. Pages in J-small and J-bundle?Are the pages really the same?
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "${FILES_LICENSE}"
Page custom PageUser PageUserValidate
Page custom PageReinstall PageReinstallValidate
Page custom PageExternalLaTeX PageExternalLaTeXValidate
Page custom PageExternalImageMagick PageExternalImageMagickValidate
Page custom PageExternalGhostscript PageExternalGhostscriptValidate
Page custom PageViewer PageViewerValidate
Page custom PageLanguage PageLanguageValidate
!define MUI_PAGE_HEADER_TEXT $(TEXT_DICT_TITLE)
!define MUI_PAGE_HEADER_SUBTEXT $(TEXT_DICT_SUBTITLE)
!insertmacro MUI_PAGE_COMPONENTS ;For spell checker dictionaries
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!define MUI_PAGE_CUSTOMFUNCTION_PRE CheckDesktopShortcut
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_COMPONENTS
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH
!insertmacro MUI_PAGE_INSTFILES 7. Sections in JSection "un.Program Files" un.SecProgramFiles Section "un.User Preferences and Custom Files" un.SecUserFiles Section -LaTeX ExternalLaTeX Section -ImageMagick ExternalImageMagick Section -Ghostscript ExternalGhostscript Section -Core SecCore Section -FileAssociations Section -InstallData Section -LaTeX Section -Configure
Section /o "${LANGNAME}"
Section -AspellDicts
Section -Viewer ExternalViewer Section "View PDF file" Section -Prepare Section -Launch Section -Debug Category: Development, Windows installer |