Changeset 4dd22a0 in tol
- Timestamp:
- Jul 15, 2015, 10:46:28 AM (11 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 5be80cd
- Parents:
- 1873cc1
- Location:
- windows
- Files:
-
- 3 edited
-
NSIS/Tolbase.nsi.generate.tol (modified) (2 diffs)
-
NSIS/Tolbase.nsi.template (modified) (8 diffs)
-
build_tools/build_tol_sdk/build_tol_sdk.tol (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
windows/NSIS/Tolbase.nsi.generate.tol
r1873cc1 r4dd22a0 68 68 { 69 69 Set aux = Tokenizer(Version," "); 70 aux[1]+" "+aux[2] 70 aux[1]+" "+aux[2] // se mantiene la "v" 71 71 }; 72 72 … … 74 74 { 75 75 Set aux = Tokenizer(Version," "); 76 aux[1]76 TextSub(aux[1],2,-1) // quita la "v" 77 77 }; 78 78 -
windows/NSIS/Tolbase.nsi.template
r1873cc1 r4dd22a0 4 4 !define APP_VERSION "##APP_VERSION##" 5 5 !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}" 8 9 !define APP_PUBLISHER "Tol-Project" 9 10 !define APP_WEB_SITE "http://www.tol-project.org" … … 19 20 ; MUI Settings 20 21 !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" 23 24 24 25 ; Language Selection Dialog Settings … … 30 31 !insertmacro MUI_PAGE_WELCOME 31 32 ; License page 32 ;!insertmacro MUI_PAGE_LICENSE "..\..\..\..\ruta\ala\licencia\TuLicenciaDeSoftware.txt"33 !insertmacro MUI_PAGE_LICENSE "..\..\tol\COPYING" 33 34 ; Directory page 34 35 !insertmacro MUI_PAGE_DIRECTORY … … 54 55 ; MUI end ------ 55 56 56 Name "${APP_ NAME} ${APP_VERSION}"57 OutFile "${APP_NAMEV}- setup.exe"57 Name "${APP_DISPLAY_NAME}" 58 OutFile "${APP_NAMEV}-win32.exe" 58 59 InstallDir "$PROGRAMFILES\${APP_PUBLISHER}\${APP_NAMEV}" 59 60 InstallDirRegKey HKLM "${APP_DIR_REGKEY}" "" … … 61 62 ShowUnInstDetails show 62 63 63 Function .onInit i64 Function .onInit 64 65 !insertmacro MUI_LANGDLL_DISPLAY 65 66 FunctionEnd … … 70 71 ##CreateDirAndFiles## 71 72 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 78 74 79 Section -AdditionalIcons 80 SetOutPath $INSTDIR81 WriteI niStr "$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 84 80 SectionEnd 85 81 86 82 Section -Post 87 WriteUninstaller "$INSTDIR\ uninst.exe"83 WriteUninstaller "$INSTDIR\Uninstall.exe" 88 84 WriteRegStr HKLM "${APP_DIR_REGKEY}" "" "$INSTDIR" 89 85 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" 92 88 WriteRegStr ${APP_UNINST_ROOT_KEY} "${APP_UNINST_KEY}" "DisplayVersion" "${APP_RELEASE}" 93 89 WriteRegStr ${APP_UNINST_ROOT_KEY} "${APP_UNINST_KEY}" "URLInfoAbout" "${APP_WEB_SITE}" … … 108 104 109 105 Section 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" 112 108 113 109 ##DeleteDirAndFiles## … … 115 111 RMDir "$INSTDir" 116 112 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 117 120 DeleteRegKey ${APP_UNINST_ROOT_KEY} "${APP_UNINST_KEY}" 118 121 DeleteRegKey HKLM "${APP_DIR_REGKEY}" 122 119 123 SetAutoClose true 120 124 SectionEnd -
windows/build_tools/build_tol_sdk/build_tol_sdk.tol
r1873cc1 r4dd22a0 1 1 Text tolSourcePath = "../../../tol"; 2 Text googleSourcePath = "../../tol-contrib/google/sparsehash- 0.6/src/google";2 Text googleSourcePath = "../../tol-contrib/google/sparsehash-1.8.1/src/google"; 3 3 Text cintSourcePath = "../../tol-contrib/cint/inc"; 4 4
Note: See TracChangeset
for help on using the changeset viewer.
