Changeset 4dd22a0 in tol


Ignore:
Timestamp:
Jul 15, 2015, 10:46:28 AM (11 years ago)
Author:
Pedro Gea <pgea@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
5be80cd
Parents:
1873cc1
Message:

Refs #1827
Cambios en el instalador de TOL (MSVC):

  • Se corrige la versión de google/sparsehash en el sdk
  • Se modifican nombre en el instlador
  • Se añaden los nuevos iconos del instalador/desinstalador
  • Se corrige el desinstalador (no borraba accesos directos)
  • Se corrige el nombre del método .onInit (muestra opciones de lenguaje).

Se podrían revisar aún algunas cuestiones como los mensajes en español que se utilizan.

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@6788 be4846ae-f051-483a-831f-b64e7d08527f

Location:
windows
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • windows/NSIS/Tolbase.nsi.generate.tol

    r1873cc1 r4dd22a0  
    6868{
    6969  Set aux = Tokenizer(Version," ");
    70   aux[1]+" "+aux[2]
     70  aux[1]+" "+aux[2] // se mantiene la "v"
    7171};
    7272
    … …  
    7474{
    7575  Set aux = Tokenizer(Version," ");
    76   aux[1]
     76  TextSub(aux[1],2,-1) // quita la "v"
    7777};
    7878
  • windows/NSIS/Tolbase.nsi.template

    r1873cc1 r4dd22a0  
    44!define APP_VERSION "##APP_VERSION##"
    55!define APP_RELEASE "##APP_RELEASE##"
    6 !define APP_NAME "tolbase"
    7 !define APP_NAMEV "tolbase-${APP_VERSION}"
     6!define APP_NAME "TOL (MSVC)"
     7!define APP_NAMEV "tol-msvc-v${APP_VERSION}"
     8!define APP_DISPLAY_NAME "${APP_NAME} ${APP_VERSION}"
    89!define APP_PUBLISHER "Tol-Project"
    910!define APP_WEB_SITE "http://www.tol-project.org"
    … …  
    1920; MUI Settings
    2021!define MUI_ABORTWARNING
    21 !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
    22 !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
     22!define MUI_ICON "..\..\NSIS\tolbase-install.ico"
     23!define MUI_UNICON "..\..\NSIS\tolbase-uninstall.ico"
    2324
    2425; Language Selection Dialog Settings
    … …  
    3031!insertmacro MUI_PAGE_WELCOME
    3132; License page
    32 ;!insertmacro MUI_PAGE_LICENSE "..\..\..\..\ruta\ala\licencia\TuLicenciaDeSoftware.txt"
     33!insertmacro MUI_PAGE_LICENSE "..\..\tol\COPYING"
    3334; Directory page
    3435!insertmacro MUI_PAGE_DIRECTORY
    … …  
    5455; MUI end ------
    5556
    56 Name "${APP_NAME} ${APP_VERSION}"
    57 OutFile "${APP_NAMEV}-setup.exe"
     57Name "${APP_DISPLAY_NAME}"
     58OutFile "${APP_NAMEV}-win32.exe"
    5859InstallDir "$PROGRAMFILES\${APP_PUBLISHER}\${APP_NAMEV}"
    5960InstallDirRegKey HKLM "${APP_DIR_REGKEY}" ""
    … …  
    6162ShowUnInstDetails show
    6263
    63 Function .onIniti
     64Function .onInit
    6465  !insertmacro MUI_LANGDLL_DISPLAY
    6566FunctionEnd
    … …  
    7071  ##CreateDirAndFiles##
    7172
    72   CreateDirectory "$SMPROGRAMS\${APP_NAMEV}"
    73   CreateShortCut "$INSTDIR\bin\tolbase.lnk" "$INSTDIR\bin\tolbase.exe"
    74   CreateShortCut "$SMPROGRAMS\${APP_NAMEV}\Tolbase.lnk" "$INSTDIR\bin\tolbase.exe"
    75   CreateShortCut "$DESKTOP\${APP_NAMEV}.lnk" "$INSTDIR\bin\tolbase.exe"
    76  
    77 SectionEnd
     73  SetShellVarContext all
    7874
    79 Section -AdditionalIcons
    80   SetOutPath $INSTDIR
    81   WriteIniStr "$INSTDIR\${APP_NAME}.url" "InternetShortcut" "URL" "${APP_WEB_SITE}"
    82   CreateShortCut "$SMPROGRAMS\${APP_NAMEV}\Website.lnk" "$INSTDIR\${APP_NAME}.url"
    83   CreateShortCut "$SMPROGRAMS\${APP_NAMEV}\Uninstall.lnk" "$INSTDIR\uninst.exe"
     75  CreateDirectory "$SMPROGRAMS\${APP_DISPLAY_NAME}"
     76  CreateShortCut "$SMPROGRAMS\${APP_DISPLAY_NAME}\tolbase-msvc-v3.2.lnk" "$INSTDIR\bin\tolbase.exe"
     77  WriteINIStr "$SMPROGRAMS\${APP_DISPLAY_NAME}\Tol-Project Site.url" "InternetShortcut" "URL" "${APP_WEB_SITE}"
     78  CreateShortCut "$SMPROGRAMS\${APP_DISPLAY_NAME}\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
     79
    8480SectionEnd
    8581
    8682Section -Post
    87   WriteUninstaller "$INSTDIR\uninst.exe"
     83  WriteUninstaller "$INSTDIR\Uninstall.exe"
    8884  WriteRegStr HKLM "${APP_DIR_REGKEY}" "" "$INSTDIR"
    8985  WriteRegStr ${APP_UNINST_ROOT_KEY} "${APP_UNINST_KEY}" "DisplayName" "$(^Name)"
    90   WriteRegStr ${APP_UNINST_ROOT_KEY} "${APP_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
    91   WriteRegStr ${APP_UNINST_ROOT_KEY} "${APP_UNINST_KEY}" "DisplayIcon" "$INSTDIR\bin\tol.exe"
     86  WriteRegStr ${APP_UNINST_ROOT_KEY} "${APP_UNINST_KEY}" "UninstallString" "$INSTDIR\Uninstall.exe"
     87  WriteRegStr ${APP_UNINST_ROOT_KEY} "${APP_UNINST_KEY}" "DisplayIcon" "$INSTDIR\lib\toltk\images\tolbase-msvc.ico"
    9288  WriteRegStr ${APP_UNINST_ROOT_KEY} "${APP_UNINST_KEY}" "DisplayVersion" "${APP_RELEASE}"
    9389  WriteRegStr ${APP_UNINST_ROOT_KEY} "${APP_UNINST_KEY}" "URLInfoAbout" "${APP_WEB_SITE}"
    … …  
    108104
    109105Section Uninstall
    110   Delete "$INSTDIR\${APP_NAME}.url"
    111   Delete "$INSTDIR\uninst.exe"
     106  Delete "$INSTDIR\Uninstall.exe"
     107  Delete "$INSTDIR\bin\stdlib\tol_release_check.tol"
    112108
    113109  ##DeleteDirAndFiles##
    … …  
    115111  RMDir "$INSTDir"
    116112
     113  SetShellVarContext all
     114
     115  Delete "$SMPROGRAMS\${APP_DISPLAY_NAME}\Uninstall.lnk"
     116  Delete "$SMPROGRAMS\${APP_DISPLAY_NAME}\tolbase-msvc-v3.2.lnk"
     117  Delete "$SMPROGRAMS\${APP_DISPLAY_NAME}\Tol-Project Site.url"
     118  RMDir "$SMPROGRAMS\${APP_DISPLAY_NAME}"
     119
    117120  DeleteRegKey ${APP_UNINST_ROOT_KEY} "${APP_UNINST_KEY}"
    118121  DeleteRegKey HKLM "${APP_DIR_REGKEY}"
     122
    119123  SetAutoClose true
    120124SectionEnd
  • windows/build_tools/build_tol_sdk/build_tol_sdk.tol

    r1873cc1 r4dd22a0  
    11Text tolSourcePath = "../../../tol";
    2 Text googleSourcePath = "../../tol-contrib/google/sparsehash-0.6/src/google";
     2Text googleSourcePath = "../../tol-contrib/google/sparsehash-1.8.1/src/google";
    33Text cintSourcePath = "../../tol-contrib/cint/inc";
    44
Note: See TracChangeset for help on using the changeset viewer.