├── .gitignore ├── .npmignore ├── demo ├── README.md ├── build │ ├── app │ │ ├── TakeColor.exe │ │ └── icon.ico │ ├── build.json │ ├── design │ │ ├── addots.psd │ │ ├── bg.png │ │ ├── bg1.png │ │ ├── bg2.png │ │ ├── bg_blue.png │ │ ├── bg_green.png │ │ ├── bg_purple.png │ │ ├── bg_white.png │ │ ├── browserBtn.png │ │ ├── cancelBtn.png │ │ ├── checkBox.png │ │ ├── closebtn.png │ │ ├── confirmUninstallBtn.png │ │ ├── continueBtn.png │ │ ├── inputBorder.png │ │ ├── instalDir.psd │ │ ├── install-index.psd │ │ ├── install1.psd │ │ ├── install2.psd │ │ ├── install3.psd │ │ ├── installBtn.png │ │ ├── installBtn.psd │ │ ├── minimizeBtn.png │ │ ├── msgbox.png │ │ ├── msgbox.psd │ │ ├── msgboxBtn.psd │ │ ├── msgboxbg.bmp │ │ ├── msgboxbg.psd │ │ ├── progress.png │ │ ├── progressBg.png │ │ ├── readme.md │ │ ├── shadow.psd │ │ └── startAppBtn.png │ └── inno-resource │ │ ├── bg.png │ │ ├── bg_blue.png │ │ ├── bg_green.png │ │ ├── bg_purple.png │ │ ├── browserBtn.png │ │ ├── cancelBtn.png │ │ ├── checkBox.png │ │ ├── closeBtn.png │ │ ├── confirmUninstallBtn.png │ │ ├── continueBtn.png │ │ ├── dots.png │ │ ├── inputBorder.png │ │ ├── installBtn.png │ │ ├── installer.ico │ │ ├── minimizeBtn.png │ │ ├── msgbox.png │ │ ├── msgboxbg.bmp │ │ ├── progress.png │ │ ├── progressBg.png │ │ ├── shadow.png │ │ ├── startAppBtn.png │ │ └── uninstall.ico ├── install.js └── package.json ├── package.json ├── readme.md ├── screenshot.png ├── src ├── Inno_Setup_5 │ ├── Compil32.exe │ ├── Default.isl │ ├── Extensions │ │ ├── CodeFont │ │ │ ├── CourierNewEx.fon │ │ │ ├── Megatops ProCoder 1.0.fon │ │ │ └── Raize.fon │ │ ├── Converter │ │ │ ├── Converter.exe │ │ │ ├── Converter.ini │ │ │ └── 汉化说明.txt │ │ ├── Graphics │ │ │ ├── Header │ │ │ │ ├── InternetModernSmall01.bmp │ │ │ │ ├── InternetModernSmall02.bmp │ │ │ │ ├── MicrosoftModernSmall01.bmp │ │ │ │ ├── OtherModernSmall01.bmp │ │ │ │ ├── SakuraSmall.bmp │ │ │ │ ├── SakuraSmall2.bmp │ │ │ │ ├── SetupModernSmall01.bmp │ │ │ │ ├── SetupModernSmall02.bmp │ │ │ │ ├── SetupModernSmall10.bmp │ │ │ │ ├── SetupModernSmall11.bmp │ │ │ │ ├── SetupModernSmall12.bmp │ │ │ │ ├── SetupModernSmall13.bmp │ │ │ │ ├── SetupModernSmall14.bmp │ │ │ │ ├── SetupModernSmall15.bmp │ │ │ │ ├── SetupModernSmall16.bmp │ │ │ │ ├── SetupModernSmall17.bmp │ │ │ │ ├── SetupModernSmall18.bmp │ │ │ │ ├── SetupModernSmall19.bmp │ │ │ │ ├── SetupModernSmall20.bmp │ │ │ │ ├── SetupModernSmall21.bmp │ │ │ │ ├── SetupModernSmall22.bmp │ │ │ │ ├── SetupModernSmall23.bmp │ │ │ │ ├── SetupModernSmall24.bmp │ │ │ │ ├── SetupModernSmall26.bmp │ │ │ │ ├── SetupModernSmall27.bmp │ │ │ │ └── UninstallModernSmall01.bmp │ │ │ ├── Icons │ │ │ │ ├── ISSkin.ico │ │ │ │ └── IViewer.ico │ │ │ ├── Nsis_Header │ │ │ │ ├── nsis-r.bmp │ │ │ │ ├── nsis.bmp │ │ │ │ ├── orange-nsis.bmp │ │ │ │ ├── orange-r-nsis.bmp │ │ │ │ ├── orange-r.bmp │ │ │ │ ├── orange-uninstall-nsis.bmp │ │ │ │ ├── orange-uninstall-r-nsis.bmp │ │ │ │ ├── orange-uninstall-r.bmp │ │ │ │ ├── orange-uninstall.bmp │ │ │ │ ├── orange.bmp │ │ │ │ └── win.bmp │ │ │ ├── Nsis_Icons │ │ │ │ ├── arrow-install.ico │ │ │ │ ├── arrow-uninstall.ico │ │ │ │ ├── arrow2-install.ico │ │ │ │ ├── arrow2-uninstall.ico │ │ │ │ ├── box-install.ico │ │ │ │ ├── box-uninstall.ico │ │ │ │ ├── classic-install.ico │ │ │ │ ├── classic-uninstall.ico │ │ │ │ ├── llama-blue.ico │ │ │ │ ├── llama-grey.ico │ │ │ │ ├── modern-install-blue-full.ico │ │ │ │ ├── modern-install-blue.ico │ │ │ │ ├── modern-install-colorful.ico │ │ │ │ ├── modern-install-full.ico │ │ │ │ ├── modern-install.ico │ │ │ │ ├── modern-uninstall-blue-full.ico │ │ │ │ ├── modern-uninstall-blue.ico │ │ │ │ ├── modern-uninstall-colorful.ico │ │ │ │ ├── modern-uninstall-full.ico │ │ │ │ ├── modern-uninstall.ico │ │ │ │ ├── nsis1-install.ico │ │ │ │ ├── nsis1-uninstall.ico │ │ │ │ ├── orange-install-nsis.ico │ │ │ │ ├── orange-install.ico │ │ │ │ ├── orange-uninstall-nsis.ico │ │ │ │ ├── orange-uninstall.ico │ │ │ │ ├── pixel-install.ico │ │ │ │ ├── pixel-uninstall.ico │ │ │ │ ├── win-install.ico │ │ │ │ └── win-uninstall.ico │ │ │ ├── Nsis_MUIOrangeVistaTheme │ │ │ │ ├── header-l-un.bmp │ │ │ │ ├── header-l.bmp │ │ │ │ ├── header-r-un.bmp │ │ │ │ ├── header-r.bmp │ │ │ │ ├── installer-nopng.ico │ │ │ │ ├── installer.ico │ │ │ │ ├── uninstaller-nopng.ico │ │ │ │ ├── uninstaller.ico │ │ │ │ ├── wizard-un.bmp │ │ │ │ └── wizard.bmp │ │ │ ├── Nsis_MUIOrangeVistaTheme_CD │ │ │ │ ├── header-l-un.bmp │ │ │ │ ├── header-l.bmp │ │ │ │ ├── header-r-un.bmp │ │ │ │ ├── header-r.bmp │ │ │ │ ├── installer-nopng.ico │ │ │ │ ├── installer.ico │ │ │ │ ├── uninstaller-nopng.ico │ │ │ │ ├── uninstaller.ico │ │ │ │ ├── wizard-un.bmp │ │ │ │ └── wizard.bmp │ │ │ ├── Nsis_Wizard │ │ │ │ ├── arrow.bmp │ │ │ │ ├── llama.bmp │ │ │ │ ├── nsis.bmp │ │ │ │ ├── nullsoft.bmp │ │ │ │ ├── orange-nsis.bmp │ │ │ │ ├── orange-uninstall-nsis.bmp │ │ │ │ ├── orange-uninstall.bmp │ │ │ │ ├── orange.bmp │ │ │ │ └── win.bmp │ │ │ ├── Other │ │ │ │ └── Blank.bmp │ │ │ └── Wizard │ │ │ │ ├── InternetModern01.bmp │ │ │ │ ├── InternetModern02.bmp │ │ │ │ ├── MicrosoftModern01.bmp │ │ │ │ ├── Office2007.bmp │ │ │ │ ├── Office2007Gray.bmp │ │ │ │ ├── SakuraWizard.bmp │ │ │ │ ├── SetupModern11.bmp │ │ │ │ ├── SetupModern12.bmp │ │ │ │ ├── SetupModern13.bmp │ │ │ │ ├── SetupModern14.bmp │ │ │ │ ├── SetupModern15.bmp │ │ │ │ ├── SetupModern16.bmp │ │ │ │ ├── SetupModern17.bmp │ │ │ │ ├── SetupModern18.bmp │ │ │ │ ├── SetupModern19.bmp │ │ │ │ ├── SetupModern20.bmp │ │ │ │ ├── SetupModern21.bmp │ │ │ │ ├── SetupModern22.bmp │ │ │ │ ├── SetupModern23.bmp │ │ │ │ ├── SetupModern24.bmp │ │ │ │ ├── SetupModern25.bmp │ │ │ │ ├── SetupModern26.bmp │ │ │ │ ├── SetupModern27.bmp │ │ │ │ └── UninstallModern01.bmp │ │ ├── ISSkin │ │ │ ├── ISSkinEx_License.txt │ │ │ ├── ISSkinViewer.exe │ │ │ ├── ISSkinViewer.iss │ │ │ ├── SkinBuilder.exe │ │ │ └── Styles │ │ │ │ ├── Codejock.cjstyles │ │ │ │ ├── ISSkinEx.cjstyles │ │ │ │ ├── Office2007.cjstyles │ │ │ │ ├── Sakura.cjstyles │ │ │ │ └── Vista.cjstyles │ │ ├── InnoLogView │ │ │ ├── AuIsUtil.dll │ │ │ ├── AuIsUtil.dsp │ │ │ ├── AuIsUtil.dsw │ │ │ ├── AuIsUtil.sln │ │ │ ├── AuIsUtil.vcproj │ │ │ ├── FaIsUtil.cpp │ │ │ ├── FaIsUtil.def │ │ │ ├── Hotkey.h │ │ │ ├── InnoLogView.exe │ │ │ ├── InnoUninsTst.vbp │ │ │ ├── InnoUninsTst.vbw │ │ │ ├── InnoUninsTstFrm.frm │ │ │ ├── InnoUninsTstFrm.frx │ │ │ ├── InnoUninstallLog.cpp │ │ │ ├── InnoUninstallLog.h │ │ │ ├── Module1.bas │ │ │ ├── RegistryUtility.cpp │ │ │ ├── RegistryUtility.h │ │ │ ├── SCGrid.ocx │ │ │ ├── SoftwareUninstallEntry.cpp │ │ │ ├── SoftwareUninstallEntry.h │ │ │ ├── V_Bl20_HlpLib.h │ │ │ ├── crc32.c │ │ │ ├── hotkey.cpp │ │ │ ├── zconf.h │ │ │ └── zlib.h │ │ ├── ItDownload │ │ │ ├── ITDHelp.chm │ │ │ ├── Languages │ │ │ │ ├── itd_cn.ini │ │ │ │ ├── itd_en.ini │ │ │ │ ├── itd_fr.ini │ │ │ │ ├── itd_nl.ini │ │ │ │ └── itd_ptbr.ini │ │ │ ├── Source │ │ │ │ ├── ProcedureToMethod.pas │ │ │ │ ├── downloadengine.pas │ │ │ │ ├── finalcatch.pas │ │ │ │ ├── formatting.pas │ │ │ │ ├── itdengine.pas │ │ │ │ ├── itdownload.dpr │ │ │ │ ├── itdownload.dproj │ │ │ │ ├── itdstrings.pas │ │ │ │ └── liteui.pas │ │ │ └── license.txt │ │ ├── UninsHs │ │ │ ├── Readme.txt │ │ │ ├── UninsHs.exe │ │ │ └── 说明.txt │ │ └── Unpack │ │ │ ├── Disasm.exe │ │ │ ├── DisasmGUI.exe │ │ │ ├── ISUnp.exe │ │ │ ├── Languages │ │ │ ├── 1028.dll │ │ │ ├── 1028.lng │ │ │ ├── 1033.dll │ │ │ ├── 1033.lng │ │ │ ├── 1049.dll │ │ │ ├── 1049.lng │ │ │ ├── 2052.dll │ │ │ └── 2052.lng │ │ │ └── innounp.exe │ ├── ISCC.exe │ ├── ISCmplr.dll │ ├── ISCrypt.dll │ ├── ISLanguages │ │ ├── ChineseSimp.lng │ │ ├── Russian.lng │ │ └── TranslationSample.lng │ ├── ISPP.dll │ ├── ISPPBuiltins.iss │ ├── Include │ │ ├── AnimateWindow.ish │ │ ├── ExecAndWait.Ish │ │ ├── ISPP │ │ │ └── InstFiles.Ish │ │ ├── ISSkin.ish │ │ ├── ISTask.Ish │ │ ├── ISWin7.Ish │ │ ├── ISXDL.Ish │ │ ├── InnoCallBack.Ish │ │ ├── Isgsg.Ish │ │ ├── IssProc │ │ │ ├── IssProc.Ish │ │ │ └── IssProcLanguage.ini │ │ ├── MUIs │ │ │ ├── AllMove.Ish │ │ │ ├── Mui_Nsis.Ish │ │ │ └── Mui_Nsis_Adv.Ish │ │ ├── Macros.Ish │ │ ├── PreDefines.ish │ │ ├── Restools │ │ │ ├── CallNsis.Ish │ │ │ ├── CallbackCtrl.Ish │ │ │ ├── DescCtrl.Ish │ │ │ ├── GifCtrl.Ish │ │ │ ├── MsgCtrl.Ish │ │ │ ├── TrayIconCtrl.Ish │ │ │ └── WebCtrl.Ish │ │ ├── SHFileOperation.ish │ │ ├── STS.Ish │ │ ├── Sherlock │ │ │ ├── ItDownload.Ish │ │ │ └── ItTray.Ish │ │ ├── SkyGz │ │ │ ├── FlashLib.ish │ │ │ ├── GifLib.ish │ │ │ └── WaterLib.ish │ │ ├── System.Ish │ │ └── botva2 │ │ │ ├── Botva2_Visual.Ish │ │ │ ├── ProgressBar.ish │ │ │ ├── TrackBar.ish │ │ │ └── botva2.ish │ ├── Languages │ │ ├── BrazilianPortuguese.isl │ │ ├── Catalan.isl │ │ ├── ChineseSimp.isl │ │ ├── ChineseTrad.isl │ │ ├── Czech.isl │ │ ├── Danish.isl │ │ ├── Dutch.isl │ │ ├── English.isl │ │ ├── Finnish.isl │ │ ├── French.isl │ │ ├── German.isl │ │ ├── Greek.isl │ │ ├── Hebrew.isl │ │ ├── Hungarian.isl │ │ ├── Italian.isl │ │ ├── Japanese.isl │ │ ├── Norwegian.isl │ │ ├── Polish.isl │ │ ├── Portuguese.isl │ │ ├── Russian.isl │ │ ├── SerbianCyrillic.isl │ │ ├── SerbianLatin.isl │ │ ├── Slovenian.isl │ │ ├── Spanish.isl │ │ └── Ukrainian.isl │ ├── Plugins │ │ ├── CallNsis.dll │ │ ├── CallbackCtrl.dll │ │ ├── CpuDesc.dll │ │ ├── DescCtrl.dll │ │ ├── FireCtrl.dll │ │ ├── FlashLib.dll │ │ ├── GifCtrl.dll │ │ ├── GifLib.dll │ │ ├── ISFlash.dll │ │ ├── ISSkin.dll │ │ ├── ISSkinU.dll │ │ ├── ISTask.dll │ │ ├── ISWin7.dll │ │ ├── ISXDL.dll │ │ ├── InnoCallBack.dll │ │ ├── Isgsg.dll │ │ ├── IssProc.dll │ │ ├── ItDownload.dll │ │ ├── ItTray.dll │ │ ├── Nsis │ │ │ ├── AdvSplash.dll │ │ │ └── newadvsplash.dll │ │ ├── TimeCtrl.dll │ │ ├── TrayIconCtrl.dll │ │ ├── UpdateIcon.dll │ │ ├── WaterCtrl.dll │ │ ├── WaterLib.dll │ │ ├── WebCtrl.dll │ │ ├── botva2.dll │ │ ├── is7z.dll │ │ └── winmsgctrl.dll │ ├── Setup.e32 │ ├── SetupLdr.e32 │ ├── Support Classes.txt │ ├── Templates.dat │ ├── UninsFiles │ │ ├── IssProc.dll │ │ ├── IssProcLanguage.ini │ │ ├── What's new.txt │ │ ├── unins000.dat │ │ └── unins000.exe │ ├── WizModernImage-IS.bmp │ ├── WizModernImage.bmp │ ├── WizModernSmallImage-IS.bmp │ ├── WizModernSmallImage.bmp │ ├── isbunzip.dll │ ├── isbzip.dll │ ├── isfaq.htm │ ├── islzma.dll │ ├── islzma32.exe │ ├── islzma64.exe │ ├── isunzlib.dll │ ├── iszlib.dll │ ├── license.txt │ └── whatsnew.htm ├── index.js ├── index.ts └── template │ ├── build.iss │ ├── build.json │ ├── design │ ├── addots.psd │ ├── bg.png │ ├── bg1.png │ ├── bg2.png │ ├── bg_blue.png │ ├── bg_green.png │ ├── bg_purple.png │ ├── bg_white.png │ ├── browserBtn.png │ ├── cancelBtn.png │ ├── checkBox.png │ ├── closebtn.png │ ├── confirmUninstallBtn.png │ ├── continueBtn.png │ ├── inputBorder.png │ ├── instalDir.psd │ ├── install1.psd │ ├── install2.psd │ ├── install3.psd │ ├── installBtn.png │ ├── installBtn.psd │ ├── minimizeBtn.png │ ├── msgbox.png │ ├── msgbox.psd │ ├── msgboxBtn.psd │ ├── msgboxbg.bmp │ ├── msgboxbg.psd │ ├── progress.png │ ├── progressBg.png │ ├── shadow.psd │ └── startAppBtn.png │ ├── includes │ ├── adBar.iss │ ├── common.iss │ ├── config.iss │ ├── const.iss │ ├── installDetail.iss │ ├── installFinish.iss │ ├── installProgressBar.iss │ ├── killTask.iss │ ├── msgbox.iss │ ├── resetMainWindow.iss │ └── uninstallBeforeInstall.iss │ ├── package │ ├── inno-resource │ │ ├── bg.png │ │ ├── browserBtn.png │ │ ├── cancelBtn.png │ │ ├── checkBox.png │ │ ├── closeBtn.png │ │ ├── confirmUninstallBtn.png │ │ ├── continueBtn.png │ │ ├── dots.png │ │ ├── inputBorder.png │ │ ├── installBtn.png │ │ ├── installer.ico │ │ ├── minimizeBtn.png │ │ ├── msgbox.png │ │ ├── msgboxbg.bmp │ │ ├── progress.png │ │ ├── progressBg.png │ │ ├── shadow.png │ │ ├── startAppBtn.png │ │ └── uninstall.ico │ └── plugin │ │ ├── InnoCallback.dll │ │ ├── botva2.dll │ │ ├── dll.iss │ │ ├── fairy.dll │ │ ├── istask.dll │ │ └── psvince.dll │ └── psd设计稿-design.zip └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log -------------------------------------------------------------------------------- /demo/README.md: -------------------------------------------------------------------------------- 1 | # inno-seed 2 | -------------------------------------------------------------------------------- /demo/build/app/TakeColor.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/app/TakeColor.exe -------------------------------------------------------------------------------- /demo/build/app/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/app/icon.ico -------------------------------------------------------------------------------- /demo/build/build.json: -------------------------------------------------------------------------------- 1 | { 2 | "buildScript": "", 3 | "installDetail": { 4 | "createShortcut": true, 5 | "startupOnFinish": true, 6 | "startupOnBootstrap": true, 7 | "agreeLicense": true, 8 | "installPath": "", 9 | "checkUninstallBeforeInstall":false, 10 | "requireUninstallBeforeInstall":true, 11 | "defaultInstallDir": "", 12 | "installerOutputDir": "C:/Users/lw/Desktop" 13 | }, 14 | "app": { 15 | "id": "node-inno", 16 | "name": "node-inno", 17 | "version": "1.0.0", 18 | "publisher": "1inus", 19 | "url": "", 20 | "comments": "workplus windows installer", 21 | "exe": "build/app/TakeColor.exe", 22 | "package": "build/app/*", 23 | "windowTitle":"makerbook setup" 24 | }, 25 | "registry": [ 26 | { 27 | "root": "HKCR", 28 | "subkey": "workplusProtocol\\DefaultIcon", 29 | "type": "string", 30 | "name": "URL Qiaoker Protocol", 31 | "value": "{app}\\TakeColor.exe", 32 | "flags": "CreateValueIfDoesntExist" 33 | } 34 | ], 35 | "ui": { 36 | "encoding": "gbk", 37 | "fontName": "Microsoft YaHei", 38 | "clientWidth": 600, 39 | "clientHeight": 400, 40 | "checkboxSize":16, 41 | "uninstallMsgbox": { 42 | "text": "检测到已经安装 Makerbook,安装前需要卸载", 43 | "color":"000000", 44 | "fontSize":16, 45 | "width":500, 46 | "height":340, 47 | 48 | "textTop":130, 49 | "textLeft":46, 50 | "textWidth":398, 51 | "textHeight":80, 52 | 53 | "btnOkTop":246, 54 | "btnOkLeft":102, 55 | "btnOkWidth":104, 56 | "btnOkHeight":38, 57 | 58 | "btnCancelTop":246, 59 | "btnCancelLeft":294, 60 | "btnCancelWidth":104, 61 | "btnCancelHeight":38 62 | }, 63 | "checkTaskMsgbox": { 64 | "text": "检测到 MakerBook 正在运行,安装前需要关闭软件", 65 | "color":"000000", 66 | "fontSize":16, 67 | "width":500, 68 | "height":340, 69 | 70 | "textTop":130, 71 | "textLeft":46, 72 | "textWidth":398, 73 | "textHeight":80, 74 | 75 | "btnOkTop":246, 76 | "btnOkLeft":102, 77 | "btnOkWidth":104, 78 | "btnOkHeight":38, 79 | 80 | "btnCancelTop":246, 81 | "btnCancelLeft":294, 82 | "btnCancelWidth":104, 83 | "btnCancelHeight":38 84 | }, 85 | "htmlAdBar": { 86 | "top": 0, 87 | "left": 0, 88 | "width": 800, 89 | "height": 350, 90 | "show": false 91 | }, 92 | "simpleAdBar": { 93 | "images": [ 94 | "bg_blue.png", 95 | "bg_green.png", 96 | "bg_purple.png" 97 | ], 98 | "interval": 6000, 99 | "top": 0, 100 | "left": 0, 101 | "width": 600, 102 | "height": 250, 103 | "timeInterval": 10, 104 | "show": true 105 | }, 106 | "licenseText": { 107 | "text": "许可协议", 108 | "top": 482, 109 | "left": 172, 110 | "color": "FF8833", 111 | "show": false 112 | }, 113 | "licenseCheckbox": { 114 | "text": "已经阅读", 115 | "top": 478, 116 | "left": 91, 117 | "checked": true, 118 | "show": true, 119 | "color": "000000" 120 | }, 121 | "createShortcutCheckbox": { 122 | "text": "创建桌面快捷方式", 123 | "top": 371, 124 | "left": 291, 125 | "checked": true, 126 | "show": true, 127 | "color": "000000" 128 | }, 129 | "startupOnFinishCheckbox": { 130 | "text": "立即运行程序", 131 | "top": 371, 132 | "left": 158, 133 | "checked": true, 134 | "show": true, 135 | "color": "000000" 136 | }, 137 | "startupOnBootstrapCheckbox": { 138 | "text": "开机启动", 139 | "top": 371, 140 | "left": 59, 141 | "checked": false, 142 | "show": true, 143 | "color": "000000" 144 | }, 145 | "installDirInput": { 146 | "top": 320, 147 | "left": 60, 148 | "height": 36, 149 | "width": 400, 150 | "color": "000000", 151 | "show": true, 152 | "fontSize":10, 153 | "enabled":false 154 | }, 155 | "installDirBrowserButton": { 156 | "top": 320, 157 | "left": 459, 158 | "height": 36, 159 | "width": 80, 160 | "show": true 161 | }, 162 | "cancleInstallMsgbox": { 163 | "text": "确定取消安装吗?", 164 | "show": true 165 | }, 166 | "progressBar": { 167 | "top": 338, 168 | "left": 41, 169 | "width": 518, 170 | "height": 17, 171 | "show": true 172 | }, 173 | "progressText": { 174 | "top": 290, 175 | "left": 0, 176 | "width": 600, 177 | "height": 28, 178 | "color": "E78E0E", 179 | "show": true 180 | }, 181 | "installButton": { 182 | "top": 263, 183 | "left": 218, 184 | "width": 164, 185 | "height": 44, 186 | "show": true 187 | }, 188 | "finishText": { 189 | "text": "安装完毕", 190 | "top":280, 191 | "left": 0, 192 | "width": 600, 193 | "height": 26, 194 | "color": "E78E0E", 195 | "show": true 196 | }, 197 | 198 | "finishButton": { 199 | "top": 324, 200 | "left": 218, 201 | "width": 164, 202 | "height": 44, 203 | "show": true 204 | }, 205 | "minimizeButton": { 206 | "top": 9, 207 | "left": 551, 208 | "width": 16, 209 | "height": 16, 210 | "show": true 211 | }, 212 | "closeButton": { 213 | "top": 9, 214 | "left": 575, 215 | "width": 16, 216 | "height": 16, 217 | "show": true 218 | } 219 | } 220 | } -------------------------------------------------------------------------------- /demo/build/design/addots.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/addots.psd -------------------------------------------------------------------------------- /demo/build/design/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/bg.png -------------------------------------------------------------------------------- /demo/build/design/bg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/bg1.png -------------------------------------------------------------------------------- /demo/build/design/bg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/bg2.png -------------------------------------------------------------------------------- /demo/build/design/bg_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/bg_blue.png -------------------------------------------------------------------------------- /demo/build/design/bg_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/bg_green.png -------------------------------------------------------------------------------- /demo/build/design/bg_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/bg_purple.png -------------------------------------------------------------------------------- /demo/build/design/bg_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/bg_white.png -------------------------------------------------------------------------------- /demo/build/design/browserBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/browserBtn.png -------------------------------------------------------------------------------- /demo/build/design/cancelBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/cancelBtn.png -------------------------------------------------------------------------------- /demo/build/design/checkBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/checkBox.png -------------------------------------------------------------------------------- /demo/build/design/closebtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/closebtn.png -------------------------------------------------------------------------------- /demo/build/design/confirmUninstallBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/confirmUninstallBtn.png -------------------------------------------------------------------------------- /demo/build/design/continueBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/continueBtn.png -------------------------------------------------------------------------------- /demo/build/design/inputBorder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/inputBorder.png -------------------------------------------------------------------------------- /demo/build/design/instalDir.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/instalDir.psd -------------------------------------------------------------------------------- /demo/build/design/install-index.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/install-index.psd -------------------------------------------------------------------------------- /demo/build/design/install1.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/install1.psd -------------------------------------------------------------------------------- /demo/build/design/install2.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/install2.psd -------------------------------------------------------------------------------- /demo/build/design/install3.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/install3.psd -------------------------------------------------------------------------------- /demo/build/design/installBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/installBtn.png -------------------------------------------------------------------------------- /demo/build/design/installBtn.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/installBtn.psd -------------------------------------------------------------------------------- /demo/build/design/minimizeBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/minimizeBtn.png -------------------------------------------------------------------------------- /demo/build/design/msgbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/msgbox.png -------------------------------------------------------------------------------- /demo/build/design/msgbox.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/msgbox.psd -------------------------------------------------------------------------------- /demo/build/design/msgboxBtn.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/msgboxBtn.psd -------------------------------------------------------------------------------- /demo/build/design/msgboxbg.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/msgboxbg.bmp -------------------------------------------------------------------------------- /demo/build/design/msgboxbg.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/msgboxbg.psd -------------------------------------------------------------------------------- /demo/build/design/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/progress.png -------------------------------------------------------------------------------- /demo/build/design/progressBg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/progressBg.png -------------------------------------------------------------------------------- /demo/build/design/readme.md: -------------------------------------------------------------------------------- 1 | some design templates -------------------------------------------------------------------------------- /demo/build/design/shadow.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/shadow.psd -------------------------------------------------------------------------------- /demo/build/design/startAppBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/design/startAppBtn.png -------------------------------------------------------------------------------- /demo/build/inno-resource/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/bg.png -------------------------------------------------------------------------------- /demo/build/inno-resource/bg_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/bg_blue.png -------------------------------------------------------------------------------- /demo/build/inno-resource/bg_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/bg_green.png -------------------------------------------------------------------------------- /demo/build/inno-resource/bg_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/bg_purple.png -------------------------------------------------------------------------------- /demo/build/inno-resource/browserBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/browserBtn.png -------------------------------------------------------------------------------- /demo/build/inno-resource/cancelBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/cancelBtn.png -------------------------------------------------------------------------------- /demo/build/inno-resource/checkBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/checkBox.png -------------------------------------------------------------------------------- /demo/build/inno-resource/closeBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/closeBtn.png -------------------------------------------------------------------------------- /demo/build/inno-resource/confirmUninstallBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/confirmUninstallBtn.png -------------------------------------------------------------------------------- /demo/build/inno-resource/continueBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/continueBtn.png -------------------------------------------------------------------------------- /demo/build/inno-resource/dots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/dots.png -------------------------------------------------------------------------------- /demo/build/inno-resource/inputBorder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/inputBorder.png -------------------------------------------------------------------------------- /demo/build/inno-resource/installBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/installBtn.png -------------------------------------------------------------------------------- /demo/build/inno-resource/installer.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/installer.ico -------------------------------------------------------------------------------- /demo/build/inno-resource/minimizeBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/minimizeBtn.png -------------------------------------------------------------------------------- /demo/build/inno-resource/msgbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/msgbox.png -------------------------------------------------------------------------------- /demo/build/inno-resource/msgboxbg.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/msgboxbg.bmp -------------------------------------------------------------------------------- /demo/build/inno-resource/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/progress.png -------------------------------------------------------------------------------- /demo/build/inno-resource/progressBg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/progressBg.png -------------------------------------------------------------------------------- /demo/build/inno-resource/shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/shadow.png -------------------------------------------------------------------------------- /demo/build/inno-resource/startAppBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/startAppBtn.png -------------------------------------------------------------------------------- /demo/build/inno-resource/uninstall.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/demo/build/inno-resource/uninstall.ico -------------------------------------------------------------------------------- /demo/install.js: -------------------------------------------------------------------------------- 1 | let { NodeInno } = require("../"); 2 | 3 | NodeInno.build(); -------------------------------------------------------------------------------- /demo/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "workplus", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "node-inno-build": "build", 10 | "author": "lw", 11 | "license": "ISC" 12 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-inno", 3 | "version": "1.0.7", 4 | "description": "", 5 | "main": "src/index.js", 6 | "dependencies": { 7 | "art-template": "^4.12.2", 8 | "extend": "^3.0.1", 9 | "fs-extra": "^5.0.0", 10 | "iconv-lite": "^0.4.19" 11 | }, 12 | "keywords": [ 13 | "inno", 14 | "exe", 15 | "electron", 16 | "nwjs", 17 | "packager", 18 | "builder" 19 | ], 20 | "devDependencies": { 21 | "@types/node": "^8.0.51" 22 | }, 23 | "scripts": { 24 | "test": "echo \"Error: no test specified\" && exit 1" 25 | }, 26 | "repository": { 27 | "type": "git", 28 | "url": "git+https://github.com/1inus/node-inno.git" 29 | }, 30 | "author": "", 31 | "license": "ISC", 32 | "bugs": { 33 | "url": "https://github.com/1inus/node-inno/issues" 34 | }, 35 | "homepage": "https://github.com/1inus/node-inno#readme" 36 | } 37 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | 一个基于innosetup的 nodejs自动化打包工具,通过json配置,可灵活定制安装界面和安装流程,为nwjs、electron或者其他应用进行exe的打包。 2 | 3 | # screenshot 4 | ![screenshot](https://raw.githubusercontent.com/1inus/node-inno/master/screenshot.png) 5 | 6 | # npm 7 | 8 | [npm](https://www.npmjs.com/package/node-inno) 9 | 10 | ```shell 11 | npm install node-inno 12 | ``` 13 | 14 | # how to use 15 | 16 | ## create build directory 17 | 18 | Create the build directory in the root directory. 19 | 20 | ``` js 21 | |-xxx 22 | |-build 23 | |-inno-resource //non-essential. pictures of the installation package 24 | | |-bg.png 25 | | |-... 26 | | 27 | |-build.json 28 | 29 | ``` 30 | 31 | ## config build.json 32 | 33 | ```json 34 | { 35 | "installDetail": { 36 | "createShortcut": true, 37 | "startupOnFinish": true, 38 | "startupOnBootstrap": true, 39 | "agreeLicense": true, 40 | "installPath": "", 41 | "checkUninstallBeforeInstall":true, 42 | "requireUninstallBeforeInstall":false, 43 | "defaultInstallDir": "C:\\Program Files (x86)\\node-inno", 44 | "installerOutputDir": "C:/Users/cnlia/Desktop" 45 | }, 46 | "app": { 47 | "id": "TakeColor 1.0.0", 48 | "name": "TakeColor", 49 | "version": "", 50 | "publisher": "maker", 51 | "mainPage": "", 52 | "comments": "myapp_installer", 53 | "exe": "build/app/TakeColor.exe", 54 | "package": "build/app/*" 55 | }, 56 | "registry": [{ 57 | "root": "HKCR", 58 | "subkey": "test\\DefaultIcon", 59 | "type": "string", 60 | "name": "URL Qiaoker Protocol", 61 | "value": "{app}\\test.exe", 62 | "flags": "CreateValueIfDoesntExist" 63 | }], 64 | "ui": { 65 | "encoding": "gbk", 66 | "fontName": "Microsoft YaHei", 67 | "clientWidth": 800, 68 | "clientHeight": 500, 69 | "checkboxSize":16, 70 | "uninstallMsgbox": { 71 | "text": "检测到已经安装xxxxx,安装前是否卸载HTML DOM confirm()", 72 | "color":"000000", 73 | "fontSize":16, 74 | "width":520, 75 | "height":430, 76 | 77 | "textTop":249, 78 | "textLeft":65, 79 | "textWidth":400, 80 | "textHeight":60, 81 | 82 | "btnOkTop":318, 83 | "btnOkLeft":275, 84 | "btnOkWidth":160, 85 | "btnOkHeight":60, 86 | 87 | "btnCancelTop":318, 88 | "btnCancelLeft":85, 89 | "btnCancelWidth":160, 90 | "btnCancelHeight":60 91 | }, 92 | "checkTaskMsgbox": { 93 | "text": "检测到xxx正在运行,是否结束任务", 94 | "color":"000000", 95 | "fontSize":16, 96 | "width":520, 97 | "height":430, 98 | 99 | "textTop":249, 100 | "textLeft":65, 101 | "textWidth":400, 102 | "textHeight":60, 103 | 104 | "btnOkTop":318, 105 | "btnOkLeft":275, 106 | "btnOkWidth":160, 107 | "btnOkHeight":60, 108 | 109 | "btnCancelTop":318, 110 | "btnCancelLeft":85, 111 | "btnCancelWidth":160, 112 | "btnCancelHeight":60 113 | }, 114 | "htmlAdBar": { 115 | "top": 0, 116 | "left": 0, 117 | "width": 800, 118 | "height": 350, 119 | "show": false 120 | }, 121 | "simpleAdBar": { 122 | "images": [], 123 | "interval": 5000, 124 | "top": 0, 125 | "left": 0, 126 | "width": 800, 127 | "height": 350, 128 | "timeInterval": 3000, 129 | "show": true 130 | }, 131 | "licenseText": { 132 | "text": "许可协议", 133 | "top": 482, 134 | "left": 172, 135 | "color": "FF8833", 136 | "show": true 137 | }, 138 | "licenseCheckbox": { 139 | "text": "已经阅读", 140 | "top": 478, 141 | "left": 91, 142 | "checked": true, 143 | "show": true, 144 | "color": "000000" 145 | }, 146 | "createShortcutCheckbox": { 147 | "text": "创建桌面快捷方式", 148 | "top": 478, 149 | "left": 465, 150 | "checked": true, 151 | "show": true, 152 | "color": "000000" 153 | }, 154 | "startupOnFinishCheckbox": { 155 | "text": "立即运行程序", 156 | "top": 478, 157 | "left": 352, 158 | "checked": true, 159 | "show": true, 160 | "color": "000000" 161 | }, 162 | "startupOnBootstrapCheckbox": { 163 | "text": "开机启动", 164 | "top": 478, 165 | "left": 253, 166 | "checked": true, 167 | "show": true, 168 | "color": "000000" 169 | }, 170 | "installDirInput": { 171 | "top": 429, 172 | "left": 154, 173 | "height": 35, 174 | "width": 400, 175 | "color": "000000", 176 | "show": true, 177 | "fontSize":14, 178 | "enabled":false 179 | }, 180 | "installDirBrowserButton": { 181 | "top": 429, 182 | "left": 553, 183 | "height": 35, 184 | "width": 80, 185 | "show": true 186 | }, 187 | "cancleInstallMsgbox": { 188 | "text": "确定取消安装吗?", 189 | "show": true 190 | }, 191 | "progressBar": { 192 | "top": 435, 193 | "left": 50, 194 | "width": 700, 195 | "height": 20, 196 | "show": true 197 | }, 198 | "progressText": { 199 | "top": 390, 200 | "left": 0, 201 | "width": 800, 202 | "height": 30, 203 | "color": "E78E0E", 204 | "show": true 205 | }, 206 | "installButton": { 207 | "top": 365, 208 | "left": 274, 209 | "width": 230, 210 | "height": 50, 211 | "show": true 212 | }, 213 | "finishText": { 214 | "text": "安装完毕", 215 | "top": 385, 216 | "left": 0, 217 | "width": 800, 218 | "height": 30, 219 | "color": "20ad11", 220 | "show": true 221 | }, 222 | "finishButton": { 223 | "top": 428, 224 | "left": 275, 225 | "width": 250, 226 | "height": 50, 227 | "show": true 228 | }, 229 | "minimizeButton": { 230 | "top": 4, 231 | "left": 755, 232 | "width": 16, 233 | "height": 16, 234 | "show": true 235 | }, 236 | "closeButton": { 237 | "top": 4, 238 | "left": 779, 239 | "width": 16, 240 | "height": 16, 241 | "show": true 242 | } 243 | } 244 | } 245 | ``` 246 | 247 | ## build 248 | 249 | ```javascript 250 | let { NodeInno } = require("node-inno"); 251 | NodeInno.build(config, (code)=>{ 252 | 253 | }); 254 | ``` 255 | 256 | For more details, please refer to the demo under the source directory. -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/screenshot.png -------------------------------------------------------------------------------- /src/Inno_Setup_5/Compil32.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Compil32.exe -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/CodeFont/CourierNewEx.fon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/CodeFont/CourierNewEx.fon -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/CodeFont/Megatops ProCoder 1.0.fon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/CodeFont/Megatops ProCoder 1.0.fon -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/CodeFont/Raize.fon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/CodeFont/Raize.fon -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Converter/Converter.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Converter/Converter.exe -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Converter/Converter.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Converter/Converter.ini -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Converter/汉化说明.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Converter/汉化说明.txt -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/InternetModernSmall01.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/InternetModernSmall01.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/InternetModernSmall02.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/InternetModernSmall02.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/MicrosoftModernSmall01.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/MicrosoftModernSmall01.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/OtherModernSmall01.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/OtherModernSmall01.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SakuraSmall.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SakuraSmall.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SakuraSmall2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SakuraSmall2.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall01.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall01.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall02.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall02.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall10.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall10.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall11.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall11.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall12.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall12.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall13.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall13.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall14.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall14.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall15.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall15.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall16.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall17.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall17.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall18.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall18.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall19.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall19.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall20.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall20.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall21.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall21.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall22.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall22.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall23.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall23.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall24.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall26.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall26.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall27.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/SetupModernSmall27.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Header/UninstallModernSmall01.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Header/UninstallModernSmall01.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Icons/ISSkin.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Icons/ISSkin.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Icons/IViewer.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Icons/IViewer.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/nsis-r.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/nsis-r.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/nsis.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/nsis.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange-nsis.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange-nsis.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange-r-nsis.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange-r-nsis.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange-r.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange-r.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange-uninstall-nsis.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange-uninstall-nsis.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange-uninstall-r-nsis.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange-uninstall-r-nsis.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange-uninstall-r.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange-uninstall-r.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange-uninstall.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange-uninstall.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/orange.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/win.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Header/win.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/arrow-install.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/arrow-install.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/arrow-uninstall.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/arrow-uninstall.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/arrow2-install.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/arrow2-install.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/arrow2-uninstall.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/arrow2-uninstall.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/box-install.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/box-install.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/box-uninstall.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/box-uninstall.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/classic-install.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/classic-install.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/classic-uninstall.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/classic-uninstall.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/llama-blue.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/llama-blue.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/llama-grey.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/llama-grey.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-install-blue-full.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-install-blue-full.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-install-blue.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-install-blue.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-install-colorful.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-install-colorful.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-install-full.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-install-full.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-install.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-install.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-uninstall-blue-full.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-uninstall-blue-full.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-uninstall-blue.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-uninstall-blue.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-uninstall-colorful.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-uninstall-colorful.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-uninstall-full.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-uninstall-full.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-uninstall.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/modern-uninstall.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/nsis1-install.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/nsis1-install.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/nsis1-uninstall.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/nsis1-uninstall.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/orange-install-nsis.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/orange-install-nsis.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/orange-install.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/orange-install.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/orange-uninstall-nsis.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/orange-uninstall-nsis.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/orange-uninstall.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/orange-uninstall.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/pixel-install.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/pixel-install.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/pixel-uninstall.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/pixel-uninstall.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/win-install.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/win-install.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/win-uninstall.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Icons/win-uninstall.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/header-l-un.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/header-l-un.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/header-l.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/header-l.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/header-r-un.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/header-r-un.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/header-r.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/header-r.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/installer-nopng.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/installer-nopng.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/installer.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/installer.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/uninstaller-nopng.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/uninstaller-nopng.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/uninstaller.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/uninstaller.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/wizard-un.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/wizard-un.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/wizard.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme/wizard.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/header-l-un.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/header-l-un.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/header-l.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/header-l.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/header-r-un.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/header-r-un.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/header-r.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/header-r.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/installer-nopng.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/installer-nopng.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/installer.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/installer.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/uninstaller-nopng.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/uninstaller-nopng.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/uninstaller.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/uninstaller.ico -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/wizard-un.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/wizard-un.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/wizard.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_MUIOrangeVistaTheme_CD/wizard.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/arrow.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/arrow.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/llama.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/llama.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/nsis.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/nsis.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/nullsoft.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/nullsoft.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/orange-nsis.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/orange-nsis.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/orange-uninstall-nsis.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/orange-uninstall-nsis.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/orange-uninstall.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/orange-uninstall.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/orange.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/orange.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/win.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Nsis_Wizard/win.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Other/Blank.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Other/Blank.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/InternetModern01.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/InternetModern01.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/InternetModern02.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/InternetModern02.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/MicrosoftModern01.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/MicrosoftModern01.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/Office2007.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/Office2007.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/Office2007Gray.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/Office2007Gray.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SakuraWizard.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SakuraWizard.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern11.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern11.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern12.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern12.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern13.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern13.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern14.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern14.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern15.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern15.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern16.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern17.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern17.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern18.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern18.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern19.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern19.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern20.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern20.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern21.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern21.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern22.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern22.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern23.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern23.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern24.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern25.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern25.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern26.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern26.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern27.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/SetupModern27.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Graphics/Wizard/UninstallModern01.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Graphics/Wizard/UninstallModern01.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ISSkin/ISSkinEx_License.txt: -------------------------------------------------------------------------------- 1 | ISSkinEx 3.0.0.1 for InnoSetup & NSIS 2 | modified by RESTOOLS 3 | 4 | http://restools.hanzify.org 5 | 2010.6.27 -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ISSkin/ISSkinViewer.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/ISSkin/ISSkinViewer.exe -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ISSkin/SkinBuilder.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/ISSkin/SkinBuilder.exe -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ISSkin/Styles/Codejock.cjstyles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/ISSkin/Styles/Codejock.cjstyles -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ISSkin/Styles/ISSkinEx.cjstyles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/ISSkin/Styles/ISSkinEx.cjstyles -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ISSkin/Styles/Office2007.cjstyles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/ISSkin/Styles/Office2007.cjstyles -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ISSkin/Styles/Sakura.cjstyles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/ISSkin/Styles/Sakura.cjstyles -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ISSkin/Styles/Vista.cjstyles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/ISSkin/Styles/Vista.cjstyles -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/AuIsUtil.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/InnoLogView/AuIsUtil.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/AuIsUtil.dsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/InnoLogView/AuIsUtil.dsp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/AuIsUtil.dsw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/InnoLogView/AuIsUtil.dsw -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/AuIsUtil.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 10.00 3 | # Visual Studio 2008 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AuIsUtil", "AuIsUtil.vcproj", "{EB49D8FA-1042-4151-9A2E-34FC2891B846}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Any CPU = Debug|Any CPU 9 | Debug|Mixed Platforms = Debug|Mixed Platforms 10 | Debug|Win32 = Debug|Win32 11 | Release|Any CPU = Release|Any CPU 12 | Release|Mixed Platforms = Release|Mixed Platforms 13 | Release|Win32 = Release|Win32 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {EB49D8FA-1042-4151-9A2E-34FC2891B846}.Debug|Any CPU.ActiveCfg = Debug|Win32 17 | {EB49D8FA-1042-4151-9A2E-34FC2891B846}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 18 | {EB49D8FA-1042-4151-9A2E-34FC2891B846}.Debug|Mixed Platforms.Build.0 = Debug|Win32 19 | {EB49D8FA-1042-4151-9A2E-34FC2891B846}.Debug|Win32.ActiveCfg = Debug|Win32 20 | {EB49D8FA-1042-4151-9A2E-34FC2891B846}.Debug|Win32.Build.0 = Debug|Win32 21 | {EB49D8FA-1042-4151-9A2E-34FC2891B846}.Release|Any CPU.ActiveCfg = Release|Win32 22 | {EB49D8FA-1042-4151-9A2E-34FC2891B846}.Release|Mixed Platforms.ActiveCfg = Release|Win32 23 | {EB49D8FA-1042-4151-9A2E-34FC2891B846}.Release|Mixed Platforms.Build.0 = Release|Win32 24 | {EB49D8FA-1042-4151-9A2E-34FC2891B846}.Release|Win32.ActiveCfg = Release|Win32 25 | {EB49D8FA-1042-4151-9A2E-34FC2891B846}.Release|Win32.Build.0 = Release|Win32 26 | EndGlobalSection 27 | GlobalSection(SolutionProperties) = preSolution 28 | HideSolutionNode = FALSE 29 | EndGlobalSection 30 | EndGlobal 31 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/FaIsUtil.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/InnoLogView/FaIsUtil.cpp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/FaIsUtil.def: -------------------------------------------------------------------------------- 1 | LIBRARY AuIsUtil 2 | 3 | EXPORTS 4 | 5 | FaOutputDebugString @16 6 | RecursiveCopyIntoSubdir @17 7 | FindFileRecursive @18 8 | InnoUninstallLog_Read @20 9 | InnoUninstallLog_CreateTextLog @21 10 | InnoUninstallLog_FindFirstRecord @22 11 | InnoUninstallLog_FindNextRecord @23 12 | InnoUninstallLog_FindGetExtraData @24 13 | InnoUninstallLog_PerformUninstall @25 14 | InnoUninstallLog_Cleanup @26 15 | InnoUninstallLog_FindGetString @80 16 | InnoUninstallLog_FindGetEntryType @81 17 | InnoUninstallLog_FindGetParamCount @82 18 | InnoUninstallLog_GetLogHeader @83 19 | InnoUninstallLog_FindGetExtraDataFlags @84 20 | 21 | Shortcut_BuildList @28 22 | Shortcut_DestroyList @29 23 | Shortcut_GetListCount @30 24 | Shortcut_GetProperty @31 25 | Shortcut_Select @32 26 | Shortcut_GetSelCount @33 27 | Shortcut_ModifyItem @34 28 | Shortcut_IsItemSelected @35 29 | 30 | UninstallList_Build @36 31 | UninstallList_Destroy @37 32 | UninstallList_SelectByIndex @38 33 | UninstallList_Select @39 34 | UninstallList_GetSelCount @40 35 | UninstallList_GetCount @41 36 | UninstallList_RestoreEntrys @42 37 | UninstallList_MoveEntrys @43 38 | UninstallList_GetItemProperty @44 39 | UninstallList_GetItemName @45 40 | UninstallList_IsItemSelected @46 41 | UninstallList_DeleteEntrys @47 42 | 43 | 44 | CheckUserCredentials @53 45 | 46 | RegNode_Open @54 47 | RegNode_Close @55 48 | RegNode_GetSubkeyCount @56 49 | RegNode_GetMaxSubkeyLen @57 50 | RegNode_GetMaxValueNameLen @58 51 | RegNode_GetValueCount @59 52 | RegNode_GetSubkeyName @60 53 | RegNode_GetValueName @61 54 | 55 | Shortcut_Delete @78 56 | 57 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/Hotkey.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/InnoLogView/Hotkey.h -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/InnoLogView.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/InnoLogView/InnoLogView.exe -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/InnoUninsTst.vbp: -------------------------------------------------------------------------------- 1 | Type=Exe 2 | Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\WINDOWS\system32\stdole2.tlb#OLE Automation 3 | Object={BDE7D104-7E95-11D4-B68F-D74C9D5E7B57}#4.1#0; SCGrid.ocx 4 | Form=InnoUninsTstFrm.frm 5 | Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; comdlg32.ocx 6 | Module=Module1; Module1.bas 7 | IconForm="InnoUninsTstFrm" 8 | Startup="InnoUninsTstFrm" 9 | ExeName32="InnoLogView.exe" 10 | Command32="" 11 | Name="InnoUninsTst" 12 | HelpContextID="0" 13 | CompatibleMode="0" 14 | MajorVer=1 15 | MinorVer=0 16 | RevisionVer=0 17 | AutoIncrementVer=0 18 | ServerSupportFiles=0 19 | VersionCompanyName="AUDIODATA" 20 | CompilationType=0 21 | OptimizationType=0 22 | FavorPentiumPro(tm)=0 23 | CodeViewDebugInfo=0 24 | NoAliasing=0 25 | BoundsCheck=0 26 | OverflowCheck=0 27 | FlPointCheck=0 28 | FDIVCheck=0 29 | UnroundedFP=0 30 | StartMode=0 31 | Unattended=0 32 | Retained=0 33 | ThreadPerObject=0 34 | MaxNumberOfThreads=1 35 | 36 | [MS Transaction Server] 37 | AutoRefresh=1 38 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/InnoUninsTst.vbw: -------------------------------------------------------------------------------- 1 | InnoUninsTstFrm = -4, 64, 868, 681, Z, 27, 27, 899, 784, C 2 | Module1 = 243, 243, 1115, 860, 3 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/InnoUninsTstFrm.frx: -------------------------------------------------------------------------------- 1 | Text1 -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/InnoUninstallLog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/InnoLogView/InnoUninstallLog.cpp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/InnoUninstallLog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/InnoLogView/InnoUninstallLog.h -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/Module1.bas: -------------------------------------------------------------------------------- 1 | Attribute VB_Name = "Module1" 2 | Option Explicit 3 | 4 | ' Store WndProcs 5 | Private Declare Function GetProp Lib "user32.dll" Alias "GetPropA" ( _ 6 | ByVal hWnd As Long, _ 7 | ByVal lpString As String) As Long 8 | 9 | Private Declare Function SetProp Lib "user32.dll" Alias "SetPropA" ( _ 10 | ByVal hWnd As Long, _ 11 | ByVal lpString As String, _ 12 | ByVal hData As Long) As Long 13 | 14 | Private Declare Function RemoveProp Lib "user32.dll" Alias "RemovePropA" ( _ 15 | ByVal hWnd As Long, _ 16 | ByVal lpString As String) As Long 17 | 18 | ' Hooking 19 | Private Declare Function CallWindowProc Lib "user32.dll" Alias "CallWindowProcA" ( _ 20 | ByVal lpPrevWndFunc As Long, _ 21 | ByVal hWnd As Long, _ 22 | ByVal Msg As Long, _ 23 | ByVal wParam As Long, _ 24 | ByVal lParam As Long) As Long 25 | 26 | Private Declare Function SetWindowLong Lib "user32.dll" Alias "SetWindowLongA" ( _ 27 | ByVal hWnd As Long, _ 28 | ByVal nIndex As Long, _ 29 | ByVal dwNewLong As Long) As Long 30 | 31 | Private Declare Function SendMessage Lib "user32.dll" Alias "SendMessageA" ( _ 32 | ByVal hWnd As Long, _ 33 | ByVal Msg As Long, _ 34 | wParam As Any, _ 35 | lParam As Any) As Long 36 | 37 | ' Position Checking 38 | Private Declare Function GetWindowRect Lib "user32" ( _ 39 | ByVal hWnd As Long, _ 40 | lpRect As RECT) As Long 41 | 42 | Private Declare Function GetParent Lib "user32" ( _ 43 | ByVal hWnd As Long) As Long 44 | 45 | Private Const GWL_WNDPROC = -4 46 | Private Const WM_MOUSEWHEEL = &H20A 47 | Private Const CB_GETDROPPEDSTATE = &H157 48 | 49 | Private Type RECT 50 | Left As Long 51 | Top As Long 52 | Right As Long 53 | Bottom As Long 54 | End Type 55 | 56 | ' Check Messages 57 | ' ================================================ 58 | Private Function WindowProc(ByVal Lwnd As Long, ByVal Lmsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long 59 | Dim MouseKeys As Long 60 | Dim Rotation As Long 61 | Dim Xpos As Long 62 | Dim Ypos As Long 63 | Dim fFrm As Form 64 | 65 | ' Debug.Print "WindowProc MSG " & Hex(Lmsg) 66 | 67 | Select Case Lmsg 68 | 69 | Case WM_MOUSEWHEEL 70 | 71 | ' Debug.Print "WM_MOUSEWHEEL" 72 | 73 | MouseKeys = wParam And 65535 74 | Rotation = wParam / 65536 75 | Xpos = lParam And 65535 76 | Ypos = lParam / 65536 77 | 78 | Set fFrm = GetForm(Lwnd) 79 | If fFrm Is Nothing Then 80 | ' it's not a form 81 | If Not IsOver(Lwnd, Xpos, Ypos) And IsOver(GetParent(Lwnd), Xpos, Ypos) Then 82 | ' it's not over the control and is over the form, 83 | ' so fire mousewheel on form (if it's not a dropped down combo) 84 | If SendMessage(Lwnd, CB_GETDROPPEDSTATE, 0&, 0&) <> 1 Then 85 | GetForm(GetParent(Lwnd)).MouseWheel MouseKeys, Rotation, Xpos, Ypos 86 | Exit Function ' Discard scroll message to control 87 | End If 88 | End If 89 | Else 90 | ' it's a form so fire mousewheel 91 | If IsOver(fFrm.hWnd, Xpos, Ypos) Then fFrm.MouseWheel MouseKeys, Rotation, Xpos, Ypos 92 | End If 93 | End Select 94 | 95 | WindowProc = CallWindowProc(GetProp(Lwnd, "PrevWndProc"), Lwnd, Lmsg, wParam, lParam) 96 | End Function 97 | 98 | ' Hook / UnHook 99 | ' ================================================ 100 | Public Sub WheelHook(ByVal hWnd As Long) 101 | On Error Resume Next 102 | SetProp hWnd, "PrevWndProc", SetWindowLong(hWnd, GWL_WNDPROC, AddressOf WindowProc) 103 | End Sub 104 | 105 | Public Sub WheelUnHook(ByVal hWnd As Long) 106 | On Error Resume Next 107 | SetWindowLong hWnd, GWL_WNDPROC, GetProp(hWnd, "PrevWndProc") 108 | RemoveProp hWnd, "PrevWndProc" 109 | End Sub 110 | 111 | ' Window Checks 112 | ' ================================================ 113 | Public Function IsOver(ByVal hWnd As Long, ByVal lX As Long, ByVal lY As Long) As Boolean 114 | Dim rectCtl As RECT 115 | GetWindowRect hWnd, rectCtl 116 | With rectCtl 117 | IsOver = (lX >= .Left And lX <= .Right And lY >= .Top And lY <= .Bottom) 118 | End With 119 | End Function 120 | 121 | Private Function GetForm(ByVal hWnd As Long) As Form 122 | For Each GetForm In Forms 123 | If GetForm.hWnd = hWnd Then Exit Function 124 | Next GetForm 125 | Set GetForm = Nothing 126 | End Function 127 | 128 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/RegistryUtility.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/InnoLogView/RegistryUtility.cpp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/RegistryUtility.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/InnoLogView/RegistryUtility.h -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/SCGrid.ocx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/InnoLogView/SCGrid.ocx -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/SoftwareUninstallEntry.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/InnoLogView/SoftwareUninstallEntry.cpp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/SoftwareUninstallEntry.h: -------------------------------------------------------------------------------- 1 | #ifndef ____INC___SETUP___FAISEXT__SOFTWAREUNINSTALLENTRY_H___INC____ 2 | #define ____INC___SETUP___FAISEXT__SOFTWAREUNINSTALLENTRY_H___INC____ 3 | 4 | #include "V_Bl20_Hlplib.h" 5 | 6 | 7 | class C_UninstallListEntry 8 | { 9 | private: 10 | BOOL m_bSelected; // Flag: Entry is selected 11 | char* m_EntryName; 12 | 13 | void InitMembers(void) 14 | { 15 | m_bSelected = FALSE; 16 | m_EntryName = NULL; 17 | }; 18 | public: 19 | C_UninstallListEntry(){InitMembers();}; 20 | C_UninstallListEntry(char* name){InitMembers();m_EntryName=new char[strlen(name)+1]; 21 | strcpy(m_EntryName,name);}; 22 | 23 | ~C_UninstallListEntry(){if(m_EntryName) delete m_EntryName; InitMembers();}; 24 | 25 | BOOLEAN IsSelected(void){return m_bSelected;}; 26 | char* GetEntryName(void){return m_EntryName;}; 27 | 28 | void Select(BOOLEAN val){m_bSelected = val;}; 29 | 30 | // void SetMovedFlag(BOOL fl){m_Moved = fl;}; 31 | // BOOLEAN IsMoved(void){return m_Moved;}; 32 | 33 | }; 34 | 35 | typedef vector UNINSTALL_VECTOR; 36 | 37 | 38 | class C_SoftwareUninstallList 39 | { 40 | private: 41 | UNINSTALL_VECTOR UninstallList; 42 | char* PropertyBuffer; 43 | BOOLEAN ListBuild; 44 | 45 | public: 46 | C_SoftwareUninstallList(){PropertyBuffer = NULL; ListBuild=FALSE;}; 47 | ~C_SoftwareUninstallList(){if(PropertyBuffer) delete PropertyBuffer; PropertyBuffer=NULL;}; 48 | 49 | DWORD BuildList(void); 50 | DWORD DestroyList(void); 51 | DWORD Select(char* commandline,char* args); 52 | DWORD SelectByIndex(long index,BOOLEAN sel); 53 | 54 | DWORD DeleteEntrys(long index); 55 | 56 | DWORD MoveEntrys(char* RegDestPath,long entry); 57 | DWORD RestoreEntrys(char* RegSrcPath,BOOLEAN DeleteSrc); 58 | 59 | char* GetItemProperty(char* PropertyName,long index); 60 | char* GetItemName(long index); 61 | BOOLEAN IsItemSelected(long index); 62 | 63 | 64 | DWORD GetSelCount(void); 65 | DWORD GetListCount(void){return UninstallList.size();}; 66 | 67 | }; 68 | 69 | 70 | 71 | #endif // ____INC___SETUP___FAISEXT__SOFTWAREUNINSTALLENTRY_H___INC____ 72 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/V_Bl20_HlpLib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/InnoLogView/V_Bl20_HlpLib.h -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/InnoLogView/hotkey.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/InnoLogView/hotkey.cpp -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ItDownload/ITDHelp.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/ItDownload/ITDHelp.chm -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ItDownload/Languages/itd_cn.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/ItDownload/Languages/itd_cn.ini -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ItDownload/Languages/itd_en.ini: -------------------------------------------------------------------------------- 1 | [Author] 2 | Contributors=Nicholas Sherlock (http://www.sherlocksoftware.org/) 3 | 4 | [Strings] 5 | 100=Getting file information... 6 | 101=Starting download... 7 | 102=Downloading... 8 | 103=Download complete! 9 | 104=Download failed. 10 | 105=Downloading (%s)... 11 | 12 | 200=Downloading additional files 13 | 201=Please wait while setup downloads additional files... 14 | 15 | 250=Sorry, the files could not be downloaded. Check your connection and click 'Retry' to try downloading the files again, or click 'Next' to continue installing anyway. 16 | 251=Sorry, the files could not be downloaded. Check your connection and click 'Retry' to try downloading the files again, or click 'Cancel' to terminate setup. 17 | 18 | 300=File: 19 | 301=Speed: 20 | 302=Status: 21 | 303=Elapsed time: 22 | 304=Remaining time: 23 | 305=Current file: 24 | 306=Total progress: 25 | 26 | 400=Unknown 27 | 28 | 450=second 29 | 451=seconds 30 | 452=minute 31 | 453=minutes 32 | 454=hour 33 | 455=hours 34 | 456=day 35 | 457=days 36 | 458=%1 %2/s 37 | 459=%1 %2 of %3 %4 38 | 460=%1 %2 of unknown 39 | 461=No 40 | 41 | 470=B 42 | 471=KB 43 | 472=MB 44 | 473=GB 45 | 46 | 500=Details 47 | 501=Hide 48 | 502=Retry 49 | 50 | 600=Update setup 51 | 601=Checking for updates... 52 | 602=Checking for updates... 53 | 603=There is a newer installer available. The new version is %2, the current version is %1. Would you like to download it? 54 | 604=This installer is up to date. 55 | 605=Would you like setup to check if a newer version of this program is available? (Requires an internet connection) 56 | 606=I was unable to check for an update, I will continue with the installation of the current version, %1. 57 | 607=The new installer has been downloaded. It will now be launched. 58 | 608=The new installer has been downloaded to "%1". It will now be launched. 59 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ItDownload/Languages/itd_fr.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/ItDownload/Languages/itd_fr.ini -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ItDownload/Languages/itd_nl.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/ItDownload/Languages/itd_nl.ini -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ItDownload/Languages/itd_ptbr.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/ItDownload/Languages/itd_ptbr.ini -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ItDownload/Source/ProcedureToMethod.pas: -------------------------------------------------------------------------------- 1 | unit ProcedureToMethod; 2 | 3 | interface 4 | 5 | uses windows; 6 | 7 | {Create stubs that present a Delphi method as if it were a Delphi 8 | non-object procedure} 9 | 10 | procedure DisposeStub(Stub: Pointer); 11 | function CreateStub(ObjectPtr: Pointer; MethodPtr: Pointer): Pointer; 12 | 13 | implementation 14 | 15 | const 16 | AsmPopEDX = $5A; 17 | AsmPushImmediate = $68; 18 | AsmPushEDX = $52; 19 | AsmRet = $C3; 20 | 21 | type 22 | TStub = packed record 23 | PopEDX: Byte; 24 | 25 | Push: Byte; 26 | SelfPointer: Pointer; 27 | 28 | PushEDX: Byte; {Stack is now object reference, return address} 29 | 30 | Push2: byte; 31 | MethodPointer: Pointer; 32 | 33 | Ret: byte; 34 | end; 35 | 36 | {Stack before our stub is called: 37 | ReturnAddress:pointer; 38 | 39 | As the stub calls the provided method: 40 | 41 | ObjectPtr:pointer; 42 | ReturnAddress:pointer; 43 | 44 | After the method finishes executing, control will return to the caller of the stub 45 | } 46 | 47 | function CreateStub(ObjectPtr: Pointer; MethodPtr: Pointer): Pointer; 48 | var 49 | Stub: ^TStub; 50 | begin 51 | // Allocate memory for the stub 52 | Stub := VirtualAlloc(nil, SizeOf(TStub), MEM_COMMIT, 53 | PAGE_EXECUTE_READWRITE); 54 | 55 | // Pop the return address off the stack 56 | Stub^.PopEDX := AsmPopEDX; 57 | 58 | // Push the object pointer on the stack 59 | Stub^.Push := AsmPushImmediate; 60 | Stub^.SelfPointer := ObjectPtr; 61 | 62 | // Push the return address back on the stack 63 | Stub^.PushEDX := AsmPushEDX; 64 | 65 | // Now call the method that the caller provided 66 | Stub^.Push2 := AsmPushImmediate; 67 | Stub^.MethodPointer := MethodPtr; 68 | stub^.Ret := AsmRet; //Absolute jump, easier to calculate! (Though slow) 69 | 70 | // Return a pointer to the stub 71 | Result := Stub; 72 | end; //CreateStub, Nicholas Sherlock 73 | 74 | procedure DisposeStub(Stub: Pointer); 75 | begin 76 | VirtualFree(Stub, SizeOf(TStub), MEM_DECOMMIT); 77 | end; 78 | 79 | end. 80 | 81 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ItDownload/Source/finalcatch.pas: -------------------------------------------------------------------------------- 1 | unit finalcatch; 2 | 3 | interface 4 | 5 | type TOnFinal = procedure; 6 | var onFinal: TOnFinal; 7 | 8 | implementation 9 | 10 | initialization 11 | finalization 12 | if assigned(onfinal) then 13 | onfinal; 14 | end. 15 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ItDownload/Source/formatting.pas: -------------------------------------------------------------------------------- 1 | unit formatting; 2 | 3 | 4 | { Formatting.pas - Utility routines for text formatting. 5 | 6 | By Nicholas Sherlock - http://www.sherlocksoftware.org } 7 | 8 | 9 | interface 10 | 11 | uses windows, sysutils, itdstrings; 12 | 13 | function shorttimetostr(time: tdatetime; strings: TITDStrings): string; 14 | function filesizetostr(size: longword; strings: TITDStrings): string; 15 | function fileratetostr(bps: longword; strings: TITDStrings): string; 16 | function fileprogresstostr(size, total: longword; totunknown: Boolean; strings: TITDStrings): string; 17 | 18 | implementation 19 | 20 | {Takes 'Here is my string %1 (%2)',['hey!','22'] and gives: 21 | Here is my string hey! (22)} 22 | 23 | function strictformat(const format: string; vals: array of string): string; 24 | var t1: integer; 25 | begin 26 | result := format; 27 | for t1 := high(vals) downto 0 do {Downwards, so that %22 isn't matched by %2 !} 28 | result := stringreplace(result, '%' + inttostr(t1 + 1), vals[t1], [rfReplaceall]); 29 | end; 30 | 31 | function filesizetostr(size: longword; strings: TITDStrings): string; 32 | begin 33 | if size < 1024 then 34 | result := format('%d ' + strings[IS_Byte], [size]) else 35 | if size < 1024 * 1024 then 36 | result := format('%d ' + strings[IS_Kilobyte], [size div 1024]) else 37 | if size < 1024 * 1024 * 1024 then 38 | result := format('%f ' + strings[is_megabyte], [size / (1024 * 1024)]) else 39 | result := format('%f ' + strings[is_gigabyte], [size / (1024 * 1024 * 1024)]); 40 | end; 41 | 42 | procedure getvalandrate(bps: LongWord; out rateval: string; out theunit: string; strings: TITDStrings); 43 | begin 44 | if bps < 1024 then begin 45 | rateval := inttostr(bps); 46 | theunit := strings[IS_Byte]; 47 | end else 48 | if bps < 1024 * 1024 then begin 49 | rateval := inttostr(bps div 1024); 50 | theunit := strings[IS_Kilobyte]; 51 | end else 52 | if bps < 1024 * 1024 * 1024 then begin 53 | rateval := format('%f', [bps / (1024 * 1024)]); 54 | theunit := strings[IS_Megabyte]; 55 | end else begin 56 | rateval := format('%f', [bps / (1024 * 1024 * 1024)]); 57 | theunit := strings[IS_Gigabyte]; 58 | end; 59 | end; 60 | 61 | function fileprogresstostr(size, total: longword; totunknown: Boolean; strings: TITDStrings): string; 62 | var r1, u1, r2, u2: string; 63 | begin 64 | getvalandrate(size, r1, u1, strings); 65 | 66 | if not totunknown then 67 | getvalandrate(total, r2, u2, strings); 68 | 69 | if totunknown then 70 | result := strictformat(strings[IS_ProgressUnknownFormat], [r1, u1]) else 71 | result := strictformat(strings[IS_ProgressFormat], [r1, u1, r2, u2]); 72 | end; 73 | 74 | function fileratetostr(bps: longword; strings: TITDStrings): string; 75 | var rateval, unt: string; 76 | begin 77 | getvalandrate(bps, rateval, unt, strings); 78 | 79 | result := strictformat(strings[IS_Speedformat], [rateval, unt]); 80 | end; 81 | 82 | function shorttimetostr(time: tdatetime; strings: TITDStrings): string; 83 | var l: cardinal; 84 | seconds, minutes, hours, days: integer; 85 | 86 | function postfix(i: integer; const singular, plural: string): string; 87 | begin 88 | result := inttostr(i); 89 | if i = 1 then 90 | result := result + ' ' + singular else 91 | result := result + ' ' + plural; 92 | end; 93 | begin 94 | 95 | try 96 | {Likely to overflow if we are calc'ing time remaining and speed~0. 97 | Exception handler catches this case for us} 98 | l := round(time * secsperday); 99 | 100 | seconds := l mod 60; 101 | l := l div 60; 102 | 103 | minutes := l mod 60; 104 | l := l div 60; 105 | 106 | hours := l mod 24; 107 | l := l div 24; 108 | 109 | days := l; 110 | 111 | if AnsiCompareText(strings[IS_UseSimpleTime], 'Yes') = 0 then begin 112 | result := TimeToStr(time); 113 | end else begin 114 | if days > 0 then begin 115 | result := postfix(days, strings[IS_Day], strings[IS_Days]); 116 | if hours > 0 then result := result + ', ' + postfix(hours, strings[IS_Hour], strings[IS_Hours]); 117 | end else 118 | if hours > 0 then begin 119 | result := postfix(hours, Strings[IS_Hour], Strings[IS_Hours]); 120 | if minutes > 0 then result := result + ', ' + postfix(minutes, strings[IS_Minute], strings[IS_Minutes]); 121 | end else 122 | if minutes > 0 then begin 123 | result := postfix(minutes, Strings[IS_Minute], strings[IS_Minutes]); 124 | if seconds > 0 then result := result + ', ' + postfix(seconds, strings[IS_Second], strings[IS_Seconds]); 125 | end else 126 | result := postfix(seconds, Strings[IS_Second], Strings[IS_seconds]); 127 | end; 128 | except 129 | result := strings[IS_Unknown]; //due to overflow 130 | end; 131 | end; 132 | 133 | end. 134 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ItDownload/Source/itdownload.dpr: -------------------------------------------------------------------------------- 1 | library itdownload; 2 | 3 | uses 4 | liteui in 'liteui.pas', 5 | itdstrings in 'itdstrings.pas', 6 | formatting in 'formatting.pas', 7 | downloadengine in 'downloadengine.pas', 8 | itdengine in 'itdengine.pas', 9 | ProcedureToMethod in 'ProcedureToMethod.pas', 10 | finalcatch in 'finalcatch.pas'; 11 | 12 | end. 13 | 14 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ItDownload/Source/itdownload.dproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | {909568a4-347a-4637-85b1-3637af0cdca1} 5 | Debug 6 | AnyCPU 7 | DCC32 8 | ..\itdownload.dll 9 | itdownload.dpr 10 | 11 | 12 | 7.0 13 | False 14 | False 15 | 0 16 | RELEASE 17 | 18 | 19 | 7.0 20 | DEBUG 21 | ..\ 22 | 23 | 24 | Delphi.Personality 25 | 26 | 27 | FalseTrueFalseFalseFalse1000FalseFalseFalseFalseFalse512912521.0.0.01.0.0.0itdownload.dpr 28 | 29 | 30 | 31 | 32 | MainSource 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ItDownload/Source/itdstrings.pas: -------------------------------------------------------------------------------- 1 | unit itdstrings; 2 | 3 | { ITDStrings.pas - Strings used in the GUI for localization. 4 | 5 | By Nicholas Sherlock - http://www.sherlocksoftware.org } 6 | 7 | 8 | interface 9 | 10 | uses sysutils, classes, IniFiles; 11 | 12 | type 13 | TDefaultString = record 14 | id: integer; 15 | text: string; 16 | end; 17 | 18 | const 19 | IS_GettingFileInformation = 100; 20 | IS_StartingDownload = 101; 21 | IS_Downloading = 102; 22 | IS_DownloadComplete = 103; 23 | IS_DownloadFailed = 104; 24 | IS_DownloadingSimple = 105; 25 | 26 | IS_TitleCaption = 200; 27 | IS_TitleDescription = 201; 28 | 29 | IS_MessageFailRetryContinue = 250; 30 | IS_MessageFailRetry = 251; 31 | 32 | IS_File = 300; 33 | IS_Speed = 301; 34 | IS_Status = 302; 35 | IS_ElapsedTime = 303; 36 | IS_RemainingTime = 304; 37 | IS_CurrentFile = 305; 38 | IS_TotalProgress = 306; 39 | 40 | IS_Unknown = 400; 41 | 42 | IS_Second = 450; 43 | IS_Seconds = 451; 44 | IS_Minute = 452; 45 | IS_Minutes = 453; 46 | IS_Hour = 454; 47 | IS_Hours = 455; 48 | IS_Day = 456; 49 | IS_Days = 457; 50 | IS_SpeedFormat = 458; 51 | IS_ProgressFormat = 459; 52 | IS_ProgressUnknownFormat = 460; 53 | IS_UseSimpleTime = 461; 54 | 55 | IS_Byte = 470; 56 | IS_Kilobyte = 471; 57 | IS_Megabyte = 472; 58 | IS_Gigabyte = 473; 59 | 60 | IS_ShowDetails = 500; 61 | IS_HideDetails = 501; 62 | IS_Retry = 502; 63 | 64 | //Updater example strings 65 | 66 | IS_Update_Caption = 600; 67 | IS_Update_Description = 601; 68 | IS_Update_Checking = 602; 69 | IS_Update_NewAvailable = 603; 70 | IS_Update_NoNewAvailable = 604; 71 | IS_Update_WantToCheck = 605; 72 | IS_Update_Failed = 606; 73 | IS_Update_WillLaunch = 607; 74 | IS_Update_WillLaunchWithPath = 608; 75 | 76 | const 77 | DefaultStrings: array[0..45] of TDefaultString = ( 78 | (id: IS_GettingFileInformation; text: 'Getting file information...'), 79 | (id: IS_StartingDownload; text: 'Starting download...'), 80 | (id: IS_Downloading; text: 'Downloading...'), 81 | (id: IS_DownloadingSimple; text: 'Downloading (%s)...'), 82 | (id: IS_DownloadComplete; text: 'Download complete!'), 83 | (id: IS_DownloadFailed; text: 'Download failed.'), 84 | 85 | (id: IS_TitleCaption; text: 'Downloading additional files'), 86 | (id: IS_TitleDescription; text: 'Please wait while setup downloads additional files...'), 87 | 88 | (id: IS_MessageFailRetryContinue; text: 'Sorry, the files could not be downloaded. ' + 89 | 'Click ''Retry'' to try downloading the files again, or click ''Next'' to continue installing anyway.'), 90 | 91 | (id: IS_MessageFailRetry; text: 'Sorry, the files could not be downloaded. ' + 92 | 'Click ''Retry'' to try downloading the files again, or click ''Cancel'' to terminate setup.'), 93 | 94 | (id: IS_File; text: 'File:'), 95 | (id: IS_Speed; text: 'Speed:'), 96 | (id: IS_Status; text: 'Status:'), 97 | (id: IS_ElapsedTime; text: 'Elapsed time:'), 98 | (id: IS_RemainingTime; text: 'Remaining time:'), 99 | (id: IS_CurrentFile; text: 'Current file:'), 100 | (id: IS_TotalProgress; text: 'Total progress:'), 101 | (id: IS_Unknown; text: 'Unknown'), // as in time remaining 102 | 103 | (id: IS_Second; text: 'second'), 104 | (id: IS_Seconds; text: 'seconds'), 105 | (id: IS_Minute; text: 'minute'), 106 | (id: IS_Minutes; text: 'minutes'), 107 | (id: IS_Hour; text: 'hour'), 108 | (id: IS_Hours; text: 'hours'), 109 | (id: IS_Day; text: 'day'), 110 | (id: IS_Days; text: 'days'), 111 | (id: IS_SpeedFormat; text: '%1 %2/s'), 112 | (id: IS_ProgressFormat; text: '%1 %2 of %3 %4'), 113 | (id: IS_ProgressUnknownFormat; text: '%1 %2 of unknown'), 114 | (id: IS_UseSimpleTime; text: 'No'), 115 | 116 | (id: IS_Byte; text: 'B'), 117 | (id: IS_Kilobyte; text: 'KB'), 118 | (id: IS_Megabyte; text: 'MB'), 119 | (id: IS_Gigabyte; text: 'GB'), 120 | 121 | (id: IS_ShowDetails; text: 'Details'), 122 | (id: IS_HideDetails; text: 'Hide'), 123 | (id: IS_Retry; text: 'Retry'), 124 | 125 | //Updater example strings 126 | (id: IS_Update_Caption; text: 'Update setup'), 127 | (id: IS_Update_Description; text: 'Checking for updates...'), 128 | (id: IS_Update_Checking; text: 'Checking for updates...'), 129 | (id: IS_Update_NewAvailable; text: 'There is a newer installer available. The new version is %2, the current version is %1. Would you like to download it?'), 130 | (id: IS_Update_NoNewAvailable; text: 'This installer is up to date.'), 131 | (id: IS_Update_WantToCheck; text: 'Would you like setup to check if a newer version of this program is available? (Requires an internet connection)'), 132 | (id: IS_Update_Failed; text: 'I was unable to check for an update, I will continue ' + 133 | 'with the installation of the current version, %1.'), 134 | (id: IS_Update_WillLaunch; text: 'The new installer has been downloaded. It will now be launched.'), 135 | (id: IS_Update_WillLaunchWithPath; text: 'The new installer has been saved to "%1". It will now be launched.') 136 | ); 137 | 138 | 139 | type 140 | TITDStrings = class 141 | private 142 | fstrings: TMemIniFile; 143 | 144 | function GetText(index: integer): string; 145 | procedure SetText(index: integer; value: string); 146 | public 147 | procedure AppendFromFile(const filename: string); 148 | 149 | procedure LoadDefaults; 150 | 151 | constructor Create; 152 | destructor Destroy; override; 153 | 154 | property Text[index: integer]: string read getText write setText; default; 155 | end; 156 | 157 | implementation 158 | 159 | function TITDStrings.GetText(index: integer): string; 160 | var i: integer; 161 | begin 162 | result := fstrings.ReadString('Strings', inttostr(index), ''); 163 | if result = '' then begin 164 | for i := 0 to high(defaultstrings) do 165 | if defaultstrings[i].id = index then begin 166 | result := defaultstrings[i].text; 167 | exit; 168 | end; 169 | result := ''; //not found 170 | end; 171 | end; 172 | 173 | procedure TITDStrings.SetText(index: integer; value: string); 174 | begin 175 | fstrings.WriteString('Strings', inttostr(index), value); 176 | end; 177 | 178 | {Add the contents of the file at 'filename' into the list} 179 | 180 | procedure TITDStrings.AppendFromFile(const filename: string); 181 | var keys: TStringlist; 182 | temp: TMemIniFile; 183 | t1: integer; 184 | begin 185 | temp := TMemIniFile.create(filename); 186 | try 187 | keys := tstringlist.create; 188 | try 189 | temp.ReadSection('Strings', keys); 190 | for t1 := 0 to keys.count - 1 do 191 | fstrings.WriteString('Strings', keys[t1], temp.ReadString('Strings', keys[t1], '')); 192 | finally 193 | keys.free; 194 | end; 195 | 196 | 197 | finally 198 | temp.free; 199 | end; 200 | end; 201 | 202 | constructor TITDStrings.Create; 203 | begin 204 | fstrings := TMemIniFile.Create(''); 205 | LoadDefaults; 206 | end; 207 | 208 | procedure TITDStrings.LoadDefaults; 209 | var t1: integer; 210 | begin 211 | fstrings.Clear; 212 | for t1 := Low(DefaultStrings) to High(DefaultStrings) do 213 | fstrings.WriteString('Strings', inttostr(defaultstrings[t1].id), defaultstrings[t1].text); 214 | 215 | end; 216 | 217 | destructor TITDStrings.Destroy; 218 | begin 219 | fstrings.free; 220 | inherited; 221 | end; 222 | 223 | 224 | end. 225 | 226 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/ItDownload/license.txt: -------------------------------------------------------------------------------- 1 | License for InnoTools Downloader 2 | -------------------------------- 3 | 4 | The provided examples (the example *.iss files in the installation root) are released into the public domain, you can do whatever you like with them. The rest of the files in the ITD distribution (The help files, it_download.iss, itdownload.dll, the sourcecode for itdownload.dll, etc) will be referred to simply as "ITD" in this document. 5 | 6 | You may build a program or installer that uses ITD to perform some task without restrictions - Commercial use is okay, you don't have to include any notices if you don't want to, and you don't have to include any sourcecode. In this case you would be redistributing portions of ITD with your program (such as itdownload.dll), which is fine. This covers most interesting uses of ITD. 7 | 8 | If you are distributing a product which contains ITD in its distribution, but adds no substantial extra functionality (e.g. distributing only the original files in ITD, or making a thin wrapper for ITD that includes ITD), you may not charge for it. You must make available the sourcecode for the product which uses ITD and the sourcecode for ITD. If ITD is unmodified, you can make the sourcecode available for it by simply linking to the InnoTools Downloader webpage. The usage of ITD must be noted somewhere prominently in the documentation or installer distributed with your product, along with the offer of the sourcecode for your application and ITD. 9 | 10 | This license does not restrict the ability for me to make ITD available under different licenses to different people, contact me if you want to negotiate a different license. 11 | 12 | 13 | Nicholas Sherlock 14 | 15 | Sherlock Software 16 | http://www.sherlocksoftware.org/ -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/UninsHs/Readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/UninsHs/Readme.txt -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/UninsHs/UninsHs.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/UninsHs/UninsHs.exe -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/UninsHs/说明.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/UninsHs/说明.txt -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Unpack/Disasm.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Unpack/Disasm.exe -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Unpack/DisasmGUI.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Unpack/DisasmGUI.exe -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Unpack/ISUnp.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Unpack/ISUnp.exe -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Unpack/Languages/1028.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Unpack/Languages/1028.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Unpack/Languages/1028.lng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Unpack/Languages/1028.lng -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Unpack/Languages/1033.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Unpack/Languages/1033.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Unpack/Languages/1033.lng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Unpack/Languages/1033.lng -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Unpack/Languages/1049.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Unpack/Languages/1049.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Unpack/Languages/1049.lng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Unpack/Languages/1049.lng -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Unpack/Languages/2052.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Unpack/Languages/2052.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Unpack/Languages/2052.lng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Unpack/Languages/2052.lng -------------------------------------------------------------------------------- /src/Inno_Setup_5/Extensions/Unpack/innounp.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Extensions/Unpack/innounp.exe -------------------------------------------------------------------------------- /src/Inno_Setup_5/ISCC.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/ISCC.exe -------------------------------------------------------------------------------- /src/Inno_Setup_5/ISCmplr.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/ISCmplr.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/ISCrypt.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/ISCrypt.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/ISLanguages/ChineseSimp.lng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/ISLanguages/ChineseSimp.lng -------------------------------------------------------------------------------- /src/Inno_Setup_5/ISLanguages/Russian.lng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/ISLanguages/Russian.lng -------------------------------------------------------------------------------- /src/Inno_Setup_5/ISPP.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/ISPP.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/AnimateWindow.ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/AnimateWindow.ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/ExecAndWait.Ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/ExecAndWait.Ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/ISSkin.ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/ISSkin.ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/ISTask.Ish: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _ISTASK_ISH_ 3 | #Define _ISTASK_ISH_ __PATHFILENAME__ 4 | 5 | //Author : KngStr 6 | //Link : http://www.kngstr.com/ 7 | //Description : . 8 | //Modified : 2013-11-05 22:17:39 9 | //Tested Inno : 10 | //Usage : 11 | 12 | #expr Plugin_Init 13 | 14 | #define IsTask_DLL "ISTask.dll" 15 | #expr AddAutoPDirs( IsTask_DLL ) 16 | 17 | [Files] 18 | Source: {#PluginDir}\{#IsTask_DLL}; DestDir: {#Plugin_DestDir}; Flags: {#Plugin_FileFlags} 19 | 20 | [Code] 21 | function RunTask(FileName: AnsiString; bFullpath: Boolean): Boolean; 22 | external 'RunTask@{#Plugin_CodeDir(IsTask_DLL)} {#Plugin_CodeFlags}'; 23 | 24 | function KillTask(ExeFileName: AnsiString): Integer; 25 | external 'KillTask@{#Plugin_CodeDir(IsTask_DLL)} {#Plugin_CodeFlags}'; 26 | 27 | function RunTasks(Tasks: AnsiString; bFullpath: Boolean; CheckAll: Boolean): Boolean; 28 | var 29 | sl: TStringList; 30 | i: Integer; 31 | begin 32 | Result := False; 33 | sl := TStringList.Create; 34 | try 35 | sl.Text := Tasks; 36 | if sl.Count > 0 then 37 | for i := 0 to sl.Count -1 do 38 | begin 39 | if CheckAll then 40 | begin 41 | if i = 0 then Result := RunTask(sl[i], bFullpath) 42 | else 43 | Result := Result and RunTask(sl[i], bFullpath); 44 | end 45 | else 46 | if RunTask(sl[i], bFullpath) then 47 | begin 48 | Result := True; 49 | Break; 50 | end; 51 | end; 52 | finally 53 | sl.Free; 54 | end; 55 | end; 56 | 57 | procedure KillTasks(Tasks: AnsiString); 58 | var 59 | sl: TStringList; 60 | i: Integer; 61 | begin 62 | sl := TStringList.Create; 63 | try 64 | sl.Text := Tasks; 65 | if sl.Count > 0 then 66 | for i := 0 to sl.Count -1 do KillTask(sl[i]); 67 | finally 68 | sl.Free; 69 | end; 70 | end; 71 | 72 | [/Code] 73 | 74 | #endif 75 | 76 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/ISWin7.Ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/ISWin7.Ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/ISXDL.Ish: -------------------------------------------------------------------------------- 1 | #ifndef _ISXDL_ISH_ 2 | 3 | #Define _ISXDL_ISH_ __PATHFILENAME__ 4 | #expr Plugin_Init 5 | 6 | #define ISXDL_DLL "isxdl.dll" 7 | #expr AddAutoPDirs( ISXDL_DLL ) 8 | 9 | [Files] 10 | Source: {#PluginDir}\{#ISXDL_DLL}; DestDir: {#Plugin_DestDir}; Flags: {#Plugin_FileFlags} 11 | 12 | [Code] 13 | function isxdl_Download(hWnd: Integer; URL, Filename: PChar): Integer; 14 | external 'isxdl_Download@{#Plugin_CodeDir(ISXDL_DLL)} {#Plugin_CodeFlags}'; 15 | 16 | procedure isxdl_AddFile(URL, Filename: PChar); 17 | external 'isxdl_AddFile@{#Plugin_CodeDir(ISXDL_DLL)} {#Plugin_CodeFlags}'; 18 | 19 | procedure isxdl_AddFileSize(URL, Filename: PChar; Size: Cardinal); 20 | external 'isxdl_AddFileSize@{#Plugin_CodeDir(ISXDL_DLL)} {#Plugin_CodeFlags}'; 21 | 22 | function isxdl_DownloadFiles(hWnd: Integer): Integer; 23 | external 'isxdl_DownloadFiles@{#Plugin_CodeDir(ISXDL_DLL)} {#Plugin_CodeFlags}'; 24 | 25 | procedure isxdl_ClearFiles; 26 | external 'isxdl_ClearFiles@{#Plugin_CodeDir(ISXDL_DLL)} {#Plugin_CodeFlags}'; 27 | 28 | function isxdl_IsConnected: Integer; 29 | external 'isxdl_IsConnected@{#Plugin_CodeDir(ISXDL_DLL)} {#Plugin_CodeFlags}'; 30 | 31 | function isxdl_SetOption(Option, Value: PChar): Integer; 32 | external 'isxdl_SetOption@{#Plugin_CodeDir(ISXDL_DLL)} {#Plugin_CodeFlags}'; 33 | 34 | function isxdl_GetFileName(URL: PChar): PChar; 35 | external 'isxdl_GetFileName@{#Plugin_CodeDir(ISXDL_DLL)} {#Plugin_CodeFlags}'; 36 | 37 | [/Code] 38 | #endif 39 | 40 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/InnoCallBack.Ish: -------------------------------------------------------------------------------- 1 | ;Inno Tools InnoCallback 2 | ;Copyright (C) Sherlock Software 2006 3 | ;Version 0.1 Alpha 4 | ; 5 | ;This example shows how you can create a stdcall callback that external DLLs can call. 6 | ;In this example, we will create a timer using the Windows API. Windows will call our 7 | ;callback where we will randomly change the background color of the Welcome page. 8 | ; 9 | ;Contact: 10 | ; The author, Nicholas Sherlock, at nick@sherlocksoftware.org. Comments, questions and suggestions welcome. 11 | ; 12 | ;Website: 13 | ; http://www.sherlocksoftware.org 14 | 15 | #ifndef _INNOCALLBACK_ISH_ 16 | #Define _INNOCALLBACK_ISH_ __PATHFILENAME__ 17 | #expr Plugin_Init 18 | 19 | #define InnoCallBack_DLL "InnoCallBack.dll" 20 | #expr AddAutoPDirs( InnoCallBack_DLL ) 21 | 22 | #define InnoCallBack_External " external 'wrapcallback@" + Plugin_CodeDir(InnoCallBack_Dll) + ' ' + Plugin_CodeFlags + ''' ' 23 | 24 | [Files] 25 | Source: {#PluginDir}\{# InnoCallBack_DLL}; DestDir: {#Plugin_DestDir}; Flags: {#Plugin_FileFlags} 26 | 27 | #endif 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/Isgsg.Ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/Isgsg.Ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/IssProc/IssProcLanguage.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/IssProc/IssProcLanguage.ini -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/MUIs/AllMove.Ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/MUIs/AllMove.Ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/MUIs/Mui_Nsis.Ish: -------------------------------------------------------------------------------- 1 | #ifndef _MUI_NSIS_ISH_ 2 | #Define _MUI_NSIS_ISH_ __PATHFILENAME__ 3 | 4 | //Author : KngStr 5 | //Link : http://www.kngstr.com/ 6 | //Description : Some funtion like NSIS. 7 | //Modified : 2013-11-05 22:17:39 8 | //Tested Inno : 9 | //Usage : 10 | // procedure Nsis_Header(LeftHeader: Boolean); 11 | 12 | [Code] 13 | //Header Image 14 | procedure Nsis_Header(LeftHeader: Boolean); 15 | begin 16 | with WizardForm do 17 | begin 18 | WizardSmallBitmapImage.Stretch := True; 19 | 20 | if LeftHeader then 21 | begin 22 | WizardSmallBitmapImage.Left := 0; 23 | WizardSmallBitmapImage.Top := 0; 24 | WizardSmallBitmapImage.ClientWidth := ScaleX(150); 25 | WizardSmallBitmapImage.ClientHeight := MainPanel.ClientHeight; 26 | 27 | PageNameLabel.Width := MainPanel.ClientWidth - ScaleX(170); 28 | PageNameLabel.Left := WizardSmallBitmapImage.ClientWidth + ScaleX(15); 29 | PageDescriptionLabel.Width := MainPanel.ClientWidth - ScaleX(180); 30 | PageDescriptionLabel.Left := WizardSmallBitmapImage.ClientWidth + ScaleX(25); 31 | end 32 | else 33 | begin 34 | WizardSmallBitmapImage.Left := WizardSmallBitmapImage.Left - 90; 35 | WizardSmallBitmapImage.Width := MainPanel.Width - WizardSmallBitmapImage.Left; 36 | WizardSmallBitmapImage.Top := 0; 37 | WizardSmallBitmapImage.Height := MainPanel.ClientHeight; 38 | 39 | PageDescriptionLabel.Width := PageDescriptionLabel.Width - 90; 40 | PageNameLabel.Width := PageNameLabel.Width - 90; 41 | end; 42 | end; 43 | end; 44 | //===================================================================================================== 45 | 46 | [/Code] 47 | 48 | 49 | #endif 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/MUIs/Mui_Nsis_Adv.Ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/MUIs/Mui_Nsis_Adv.Ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/Macros.Ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/Macros.Ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/Restools/CallNsis.Ish: -------------------------------------------------------------------------------- 1 | #ifndef _CALLNSIS_ISH_ 2 | #Define _CALLNSIS_ISH_ __PATHFILENAME__ 3 | #expr Plugin_Init 4 | 5 | #define CallNsis_DLL "CallNsis.dll" 6 | 7 | [Files] 8 | Source: {#PluginDir}\{# CallNsis_DLL}; DestDir: {#Plugin_DestDir}; Flags: {#Plugin_FileFlags} 9 | 10 | [Code] 11 | function callplug(parentwnd: Integer; pluginname,funcname,param1,param2,param3,param4,param5,param6,param7,param8,param9,param10: PAnsiChar): Integer; 12 | external 'callplug@{#Plugin_CodeDir(CallNsis_DLL)} {#Plugin_CodeFlags}'; 13 | [/Code] 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/Restools/CallbackCtrl.Ish: -------------------------------------------------------------------------------- 1 | #ifndef _CALLBACKCTRL_ISH_ 2 | #Define _CALLBACKCTRL_ISH_ __PATHFILENAME__ 3 | #expr Plugin_Init 4 | 5 | #define CallbackCtrl_DLL "CallbackCtrl.dll" 6 | #expr AddAutoPDirs( CallbackCtrl_DLL ) 7 | 8 | #define CallbackCtrl_External " external 'wrapcallbackaddr@" + Plugin_CodeDir(CallbackCtrl_Dll) + ' ' + Plugin_CodeFlags + ''' ' 9 | 10 | [Files] 11 | Source: {#PluginDir}\{# CallbackCtrl_DLL}; DestDir: {#Plugin_DestDir}; Flags: {#Plugin_FileFlags} 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/Restools/DescCtrl.Ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/Restools/DescCtrl.Ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/Restools/GifCtrl.Ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/Restools/GifCtrl.Ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/Restools/MsgCtrl.Ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/Restools/MsgCtrl.Ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/Restools/TrayIconCtrl.Ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/Restools/TrayIconCtrl.Ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/Restools/WebCtrl.Ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/Restools/WebCtrl.Ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/SHFileOperation.ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/SHFileOperation.ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/STS.Ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/STS.Ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/Sherlock/ItDownload.Ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/Sherlock/ItDownload.Ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/Sherlock/ItTray.Ish: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _ITTRAY_ISH_ 3 | #Define _ITTRAY_ISH_ __PATHFILENAME__ 4 | #expr Plugin_Init 5 | 6 | #define ItTray_DLL "ittray.dll" 7 | #expr AddAutoPDirs( ItTray_DLL ) 8 | 9 | [Files] 10 | Source: {#PluginDir}\{#ItTray_DLL}; DestDir: {#Plugin_DestDir}; Flags: {#Plugin_FileFlags} 11 | 12 | [Code] 13 | (* 14 | InnoTools Tray DLL 15 | Copyright (C) Sherlock Software 2008 16 | Version 0.1.0 17 | 18 | Contact: 19 | The author, Nicholas Sherlock, at nick@sherlocksoftware.org. 20 | Comments, questions and suggestions welcome. 21 | 22 | Website: 23 | http://www.sherlocksoftware.org/ 24 | 25 | History: 26 | 0.1.0 - First release 27 | *) 28 | 29 | type 30 | TITTFormStateCallback=procedure(hide:boolean); 31 | TITTClicksCallback=procedure(ontrayicon:boolean); 32 | 33 | procedure ITT_Internal_Init(formstatecallback:TITTFormStateCallback; formhandle:longint); 34 | external 'itt_init@{#Plugin_CodeDir(ItTray_DLL)} {#Plugin_CodeFlags}'; 35 | 36 | procedure ITT_Internal_SetHint(hint:PAnsiChar); 37 | external 'itt_sethint@{#Plugin_CodeDir(ItTray_DLL)} {#Plugin_CodeFlags}'; 38 | 39 | procedure ITT_Internal_ShowBalloon(title,text:PAnsiChar; timeout:integer); 40 | external 'itt_showballoon@{#Plugin_CodeDir(ItTray_DLL)} {#Plugin_CodeFlags}'; 41 | 42 | 43 | { Minimize setup to the tray. } 44 | procedure ITT_MinimizeToTray(); 45 | external 'itt_minimizetotray@{#Plugin_CodeDir(ItTray_DLL)} {#Plugin_CodeFlags}'; 46 | 47 | 48 | { Restore the setup from the tray. Calling this while 49 | setup is already restored is harmless } 50 | procedure ITT_RestoreFromTray(); 51 | external 'itt_restorefromtray@{#Plugin_CodeDir(ItTray_DLL)} {#Plugin_CodeFlags}'; 52 | 53 | 54 | { Set "goestotray" to true if you want setup to be minimized 55 | to the tray if the user minimizes the setup window} 56 | procedure ITT_SetMinimizesToTray(goestotray:boolean); 57 | external 'itt_setminimizestotray@{#Plugin_CodeDir(ItTray_DLL)} {#Plugin_CodeFlags}'; 58 | 59 | 60 | { Set a handler which will be called when the tray icon or 61 | balloon is clicked on } 62 | procedure ITT_SetClickHandler(handler:TITTClicksCallback); 63 | external 'itt_setclickhandler@{#Plugin_CodeDir(ItTray_DLL)} {#Plugin_CodeFlags}'; 64 | 65 | 66 | { Returns true if the installer is currently minimized to the 67 | tray} 68 | function ITT_IsInTray():boolean; 69 | external 'itt_isintray@{#Plugin_CodeDir(ItTray_DLL)} {#Plugin_CodeFlags}'; 70 | 71 | procedure ITT_Restore_Callback(hide:boolean); 72 | begin 73 | if hide then 74 | WizardForm.Hide() 75 | else 76 | WizardForm.Show(); 77 | end; 78 | 79 | { Set the hint which is displayed when the user 80 | hovers over the tray icon (or an empty string to 81 | turn off the hint).} 82 | procedure ITT_SetHint(hint:AnsiString); 83 | begin 84 | ITT_Internal_SetHint(PAnsiChar(hint)); 85 | end; 86 | 87 | { Perform required initialization for the tray icon. Call 88 | during InitializeWizard.} 89 | procedure ITT_Init(); 90 | begin 91 | ITT_Internal_Init(@ITT_Restore_Callback, StrToInt(ExpandConstant('{wizardhwnd}'))); 92 | end; 93 | 94 | { Show a pop-up balloon at the location of the tray icon, 95 | using the given title and body text. 96 | (You must be minimized to the tray). 97 | 98 | The balloon automatically disappears after "timeout" seconds.} 99 | procedure ITT_ShowBalloon(title, text:AnsiString; timeout:integer); 100 | begin 101 | ITT_Internal_ShowBalloon(PAnsiChar(title), PAnsiChar(text), timeout); 102 | end; 103 | 104 | [/Code] 105 | #endif 106 | 107 | 108 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/SkyGz/FlashLib.ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/SkyGz/FlashLib.ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/SkyGz/GifLib.ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/SkyGz/GifLib.ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/SkyGz/WaterLib.ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/SkyGz/WaterLib.ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/System.Ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/System.Ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/botva2/ProgressBar.ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/botva2/ProgressBar.ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/botva2/TrackBar.ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/botva2/TrackBar.ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Include/botva2/botva2.ish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Include/botva2/botva2.ish -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/BrazilianPortuguese.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/BrazilianPortuguese.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Catalan.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Catalan.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/ChineseSimp.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/ChineseSimp.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/ChineseTrad.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/ChineseTrad.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Czech.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Czech.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Danish.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Danish.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Dutch.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Dutch.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Finnish.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Finnish.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/French.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/French.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/German.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/German.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Greek.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Greek.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Hebrew.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Hebrew.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Hungarian.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Hungarian.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Italian.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Italian.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Japanese.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Japanese.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Norwegian.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Norwegian.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Polish.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Polish.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Portuguese.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Portuguese.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Russian.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Russian.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/SerbianCyrillic.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/SerbianCyrillic.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/SerbianLatin.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/SerbianLatin.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Slovenian.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Slovenian.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Spanish.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Spanish.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Languages/Ukrainian.isl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Languages/Ukrainian.isl -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/CallNsis.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/CallNsis.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/CallbackCtrl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/CallbackCtrl.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/CpuDesc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/CpuDesc.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/DescCtrl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/DescCtrl.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/FireCtrl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/FireCtrl.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/FlashLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/FlashLib.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/GifCtrl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/GifCtrl.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/GifLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/GifLib.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/ISFlash.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/ISFlash.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/ISSkin.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/ISSkin.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/ISSkinU.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/ISSkinU.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/ISTask.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/ISTask.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/ISWin7.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/ISWin7.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/ISXDL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/ISXDL.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/InnoCallBack.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/InnoCallBack.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/Isgsg.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/Isgsg.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/IssProc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/IssProc.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/ItDownload.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/ItDownload.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/ItTray.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/ItTray.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/Nsis/AdvSplash.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/Nsis/AdvSplash.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/Nsis/newadvsplash.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/Nsis/newadvsplash.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/TimeCtrl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/TimeCtrl.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/TrayIconCtrl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/TrayIconCtrl.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/UpdateIcon.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/UpdateIcon.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/WaterCtrl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/WaterCtrl.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/WaterLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/WaterLib.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/WebCtrl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/WebCtrl.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/botva2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/botva2.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/is7z.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/is7z.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Plugins/winmsgctrl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Plugins/winmsgctrl.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/Setup.e32: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/Setup.e32 -------------------------------------------------------------------------------- /src/Inno_Setup_5/SetupLdr.e32: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/SetupLdr.e32 -------------------------------------------------------------------------------- /src/Inno_Setup_5/Templates.dat: -------------------------------------------------------------------------------- 1 | [arrayd | array declaration (var)] 2 | array[0..|] of ; 3 | 4 | [arrayc | array declaration (const)] 5 | array[0..|] of = (); 6 | 7 | [cases | case statement] 8 | case | of 9 | : ; 10 | : ; 11 | end; 12 | 13 | [casee | case statement (with else)] 14 | case | of 15 | : ; 16 | : ; 17 | else ; 18 | end; 19 | 20 | [fors | case statement (no begin/end)] 21 | for | := to do 22 | 23 | [forb | for statement] 24 | for | := to do 25 | begin 26 | 27 | end; 28 | 29 | [func | function declaration] 30 | function |(): ; 31 | begin 32 | 33 | end; 34 | 35 | [ifs | if (no begin/end)] 36 | if | then 37 | 38 | [ifb | if statement] 39 | if | then 40 | begin 41 | 42 | end; 43 | 44 | [ife | if then (no begin/end) else (no begin/end)] 45 | if | then 46 | 47 | else 48 | 49 | [ifeb | if then else] 50 | if | then 51 | begin 52 | 53 | end 54 | else 55 | begin 56 | 57 | end; 58 | 59 | [proc | procedure declaration] 60 | procedure |(); 61 | begin 62 | 63 | end; 64 | 65 | [trye | try except] 66 | try 67 | | 68 | except 69 | 70 | end; 71 | 72 | [tryf | try finally] 73 | try 74 | | 75 | finally 76 | 77 | end; 78 | 79 | [trycf | try finally (with Create/Free)] 80 | |variable := typename.Create; 81 | try 82 | 83 | finally 84 | variable.Free; 85 | end; 86 | 87 | [whileb | while statement] 88 | while | do 89 | begin 90 | 91 | end; 92 | 93 | [whiles | while statement (no begin/end)] 94 | while | do 95 | 96 | [withb | with statement] 97 | with | do 98 | begin 99 | 100 | end; 101 | 102 | [withs | with statement (no begin/end)] 103 | with | do 104 | 105 | [MsgInfo | information messagebox] 106 | MsgBox('|', mbInformation, MB_OK); 107 | 108 | [MsgConf | confirmation messagebox] 109 | if MsgBox('|', mbConfirmation, MB_YESNO) = IDYES then 110 | begin 111 | 112 | end; 113 | 114 | [MsgErr | error messagebox] 115 | MsgBox('|', mbError, MB_OK); 116 | 117 | -------------------------------------------------------------------------------- /src/Inno_Setup_5/UninsFiles/IssProc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/UninsFiles/IssProc.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/UninsFiles/IssProcLanguage.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/UninsFiles/IssProcLanguage.ini -------------------------------------------------------------------------------- /src/Inno_Setup_5/UninsFiles/What's new.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/UninsFiles/What's new.txt -------------------------------------------------------------------------------- /src/Inno_Setup_5/UninsFiles/unins000.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/UninsFiles/unins000.dat -------------------------------------------------------------------------------- /src/Inno_Setup_5/UninsFiles/unins000.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/UninsFiles/unins000.exe -------------------------------------------------------------------------------- /src/Inno_Setup_5/WizModernImage-IS.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/WizModernImage-IS.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/WizModernImage.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/WizModernImage.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/WizModernSmallImage-IS.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/WizModernSmallImage-IS.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/WizModernSmallImage.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/WizModernSmallImage.bmp -------------------------------------------------------------------------------- /src/Inno_Setup_5/isbunzip.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/isbunzip.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/isbzip.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/isbzip.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/islzma.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/islzma.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/islzma32.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/islzma32.exe -------------------------------------------------------------------------------- /src/Inno_Setup_5/islzma64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/islzma64.exe -------------------------------------------------------------------------------- /src/Inno_Setup_5/isunzlib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/isunzlib.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/iszlib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/iszlib.dll -------------------------------------------------------------------------------- /src/Inno_Setup_5/license.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/Inno_Setup_5/license.txt -------------------------------------------------------------------------------- /src/template/build.iss: -------------------------------------------------------------------------------- 1 | #include "GifCtrl.ish"; 2 | #include "IssProc.Ish" 3 | #include "includes\config.iss"; 4 | 5 | [Code] 6 | #include "includes\const.iss"; 7 | 8 | var 9 | installStep : Longint; 10 | progressPanel: TPanel; //主要面板 11 | 12 | //百分比 13 | PBOldProc : Longint; 14 | 15 | //拖动窗口 16 | procedure WizardFormMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); 17 | begin 18 | ReleaseCapture 19 | SendMessage(WizardForm.Handle, WM_SYSCOMMAND, $F012, 0); 20 | end; 21 | 22 | #include "includes\common.iss"; 23 | #include "includes\adBar.iss"; 24 | #include "includes\installDetail.iss"; 25 | #include "includes\installProgressBar.iss"; 26 | #include "includes\installFinish.iss"; 27 | #include "includes\resetMainWindow.iss"; 28 | 29 | //百分比(安装进度) 30 | function PBProc(h:hWnd; Msg, wParam, lParam:Longint):Longint; 31 | var 32 | pr,i1,i2 : Extended; 33 | begin 34 | Result:=CallWindowProc(PBOldProc, h, Msg, wParam, lParam); 35 | if (Msg=$402) and (WizardForm.ProgressGauge.Position>WizardForm.ProgressGauge.Min) then begin 36 | i1:=WizardForm.ProgressGauge.Position-WizardForm.ProgressGauge.Min; 37 | i2:=WizardForm.ProgressGauge.Max-WizardForm.ProgressGauge.Min; 38 | pr:=i1*100/i2; 39 | setProgressWidth(pr); 40 | end; 41 | end; 42 | 43 | procedure initInstallWindow(); 44 | begin 45 | initMainWindow; 46 | initAdBar; 47 | initDetailPanel; 48 | createProgressPanel(); 49 | createFinishPanel(); 50 | installStep := wpWelcome; 51 | PBOldProc:=SetWindowLong(WizardForm.ProgressGauge.Handle,-4,PBCallBack(@PBProc,4)); 52 | showDetailPanel; 53 | hideProgressPanel; 54 | end; 55 | #include "includes\uninstallBeforeInstall.iss"; 56 | #include "includes\killTask.iss"; 57 | 58 | //向导调用这个事件函数确定是否在所有页或不在一个特殊页 (用 PageID 指定) 显示。如果返回 True,将跳过该页;如果你返回 False,该页被显示。inno 59 | //注意: 这个事件函数不被 wpPreparing 和 wpInstalling 页调用,还有安装程序已经确定要跳过的页也不会调用 (例如,没有包含组件安装程序的 wpSelectComponents)。inno 60 | function ShouldSkipPage(PageID: Integer): Boolean; 61 | begin 62 | if PageID=wpSelectComponents then //跳过组件安装界面 63 | result := true; 64 | 65 | if PageID=wpWelcome then 66 | result := true; 67 | 68 | if PageID=wpSelectDir then 69 | result := true; 70 | end; 71 | 72 | //使用这个事件函数启动时改变向导或向导页。你不能在它触发之后使用 InitializeSetup 事件函数,向导窗体不退出 73 | procedure InitializeWizard(); 74 | var formRegion:LongWord; 75 | begin 76 | PDir('GifCtrl.dll'); 77 | 78 | ExtractTemporaryFile('bg.png'); 79 | ExtractTemporaryFile('shadow.png'); 80 | ExtractTemporaryFile('dots.png'); 81 | ExtractTemporaryFile('inputBorder.png'); 82 | ExtractTemporaryFile('minimizeBtn.png'); 83 | ExtractTemporaryFile('closeBtn.png'); 84 | ExtractTemporaryFile('installBtn.png'); 85 | ExtractTemporaryFile('startAppBtn.png'); 86 | ExtractTemporaryFile('browserBtn.png'); 87 | ExtractTemporaryFile('checkBox.png'); 88 | ExtractTemporaryFile('license.html'); 89 | ExtractTemporaryFile('progress.png'); 90 | ExtractTemporaryFile('progressBg.png'); 91 | ExtractTemporaryFile('msgbox.png'); 92 | ExtractTemporaryFile('cancelBtn.png'); 93 | ExtractTemporaryFile('confirmUninstallBtn.png'); 94 | ExtractTemporaryFile('msgboxbg.bmp'); 95 | ExtractTemporaryFile('continueBtn.png'); 96 | 97 | with WizardForm do begin 98 | Center; 99 | Bevel.Hide; 100 | InnerNotebook.Hide; 101 | OuterNotebook.Hide; 102 | AutoScroll := False; 103 | BorderStyle:=bsNone; 104 | Color:=TransparentColor; 105 | NextButton.Width:=0; 106 | BackButton.Width:=0; 107 | CancelButton.Width:=0; 108 | end; 109 | 110 | //formRegion:=CreateRoundRectRgn(0, 0, 520, 430, 10, 10); 111 | //SetWindowRgn(WizardForm.Handle, FormRegion, True); 112 | 113 | //check runing task and preview version 114 | if not checkRuningTask() then begin 115 | if checkPreVersion() then begin 116 | initInstallWindow; 117 | end; 118 | end; 119 | end; 120 | 121 | //在这里是正在安装页面 122 | //在新向导页 (用 CurPageID 指定) 显示后调用。inno 123 | procedure CurPageChanged(CurPageID: Integer); 124 | var RCode: Integer; 125 | begin 126 | //ImgRelease(mainBg); 127 | //mainBg:=ImgLoad(WizardForm.Handle, ExpandConstant('{tmp}\bg.png'), 0, 0, win_width, win_height, True, True); 128 | 129 | //WelcomePage=1 SelectDirPage=6 ReadyPage=10 InstallingPage=12 FinishedPage=14 130 | //wpWelcome = 1; 131 | //wpLicense = 2; 132 | //wpPassword = 3; 133 | //wpInfoBefore = 4; 134 | //wpUserInfo = 5; 135 | //wpSelectDir = 6; 136 | //wpSelectComponents = 7; 137 | //wpSelectProgramGroup = 8; 138 | //wpSelectTasks = 9; 139 | //wpReady = 10; 140 | //wpPreparing = 11; 141 | //wpInstalling = 12; 142 | //wpInfoAfter = 13; 143 | //wpFinished = 14; 144 | 145 | 146 | //正在安装 147 | if CurPageID = wpInstalling then begin 148 | installStep := wpInstalling; 149 | hideDetailPanel; 150 | setEnableCloseBtn(true); 151 | 152 | //显示安装中页面 153 | showProgressPanel; 154 | end else if CurPageID = wpFinished then begin //安装完毕(直接跳过安装) 155 | installStep := wpFinished; 156 | setEnableCloseBtn(true); 157 | hideProgressPanel; 158 | showFinishedPanel; 159 | 160 | //开机启动 161 | //if BtnGetChecked(startupOnBootupBtn) = true then begin 162 | //RegWriteStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Run', '{#appName}', '{app}\{#appName}'); 163 | //end else if RegvalueExists(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Run', '{#appName}') then begin 164 | //RegDeleteKeyIncludingSubkeys(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Run'); 165 | //end; 166 | 167 | //立即启动 168 | if BtnGetChecked(startupOnFinishBtn) = true then begin 169 | Exec(ExpandConstant('{app}\{#exeName}'), '', '', SW_SHOW, ewNoWait, RCode); 170 | WizardForm.NextButton.Click; 171 | end else begin 172 | showFinishedPanel; 173 | end; 174 | end; 175 | 176 | //如果没有它就显示不了图像 177 | ImgApplyChanges(WizardForm.Handle); 178 | end; 179 | 180 | //仅在安装程序终止前调用。注意这个函数在即使用户在任何内容安装之前退出安装程序时也会调用。inno 181 | procedure DeinitializeSetup(); 182 | begin 183 | FreeAllGifWnd(); 184 | gdipShutdown; //背景图 185 | if PBOldProc<>0 then SetWindowLong(WizardForm.ProgressGauge.Handle,-4,PBOldProc); 186 | end; 187 | 188 | function InitializeUninstall(): Boolean; 189 | begin 190 | Result := true; 191 | //IsModuleLoaded('{#exeName}'); 192 | //KillTask('{#exeName}'); 193 | end; -------------------------------------------------------------------------------- /src/template/build.json: -------------------------------------------------------------------------------- 1 | { 2 | "buildScript": "", 3 | "installDetail": { 4 | "createShortcut": true, 5 | "startupOnFinish": true, 6 | "startupOnBootstrap": true, 7 | "agreeLicense": true, 8 | "installPath": "", 9 | "checkUninstallBeforeInstall":true, 10 | "requireUninstallBeforeInstall":true, 11 | "defaultInstallDir": "", 12 | "installerOutputDir": "C:/Users/cnlia/Desktop" 13 | }, 14 | "app": { 15 | "windowTitle":"setup your app", 16 | "id": "node-inno 1.0.4", 17 | "name": "node-inno", 18 | "version": "1.0.4", 19 | "publisher": "maker", 20 | "mainPage": "", 21 | "comments": "myapp_installer", 22 | "exe": "build/app/TakeColor.exe", 23 | "package": "build/app/*" 24 | }, 25 | "registry": [{ 26 | "root": "HKCR", 27 | "subkey": "test\\DefaultIcon", 28 | "type": "string", 29 | "name": "URL Qiaoker Protocol", 30 | "value": "{app}\\test.exe", 31 | "flags": "CreateValueIfDoesntExist" 32 | }], 33 | "ui": { 34 | "encoding": "gbk", 35 | "fontName": "Microsoft YaHei", 36 | "clientWidth": 600, 37 | "clientHeight": 400, 38 | "checkboxSize":16, 39 | "uninstallMsgbox": { 40 | "text": "检测到已经安装 Makerbook,安装前需要卸载", 41 | "color":"000000", 42 | "fontSize":16, 43 | "width":500, 44 | "height":340, 45 | 46 | "textTop":130, 47 | "textLeft":46, 48 | "textWidth":398, 49 | "textHeight":80, 50 | 51 | "btnOkTop":246, 52 | "btnOkLeft":102, 53 | "btnOkWidth":104, 54 | "btnOkHeight":38, 55 | 56 | "btnCancelTop":246, 57 | "btnCancelLeft":294, 58 | "btnCancelWidth":104, 59 | "btnCancelHeight":38 60 | }, 61 | "checkTaskMsgbox": { 62 | "text": "检测到 MakerBook 正在运行,安装前需要关闭软件", 63 | "color":"000000", 64 | "fontSize":16, 65 | "width":500, 66 | "height":340, 67 | 68 | "textTop":130, 69 | "textLeft":46, 70 | "textWidth":398, 71 | "textHeight":80, 72 | 73 | "btnOkTop":246, 74 | "btnOkLeft":102, 75 | "btnOkWidth":104, 76 | "btnOkHeight":38, 77 | 78 | "btnCancelTop":246, 79 | "btnCancelLeft":294, 80 | "btnCancelWidth":104, 81 | "btnCancelHeight":38 82 | }, 83 | "htmlAdBar": { 84 | "top": 0, 85 | "left": 0, 86 | "width": 800, 87 | "height": 350, 88 | "show": false 89 | }, 90 | "simpleAdBar": { 91 | "images": [ 92 | "bg_blue.png", 93 | "bg_green.png", 94 | "bg_purple.png" 95 | ], 96 | "interval": 6000, 97 | "top": 0, 98 | "left": 0, 99 | "width": 600, 100 | "height": 250, 101 | "timeInterval": 10, 102 | "show": true 103 | }, 104 | "licenseText": { 105 | "text": "许可协议", 106 | "top": 482, 107 | "left": 172, 108 | "color": "FF8833", 109 | "show": false 110 | }, 111 | "licenseCheckbox": { 112 | "text": "已经阅读", 113 | "top": 478, 114 | "left": 91, 115 | "checked": true, 116 | "show": true, 117 | "color": "000000" 118 | }, 119 | "createShortcutCheckbox": { 120 | "text": "创建桌面快捷方式", 121 | "top": 371, 122 | "left": 291, 123 | "checked": true, 124 | "show": true, 125 | "color": "000000" 126 | }, 127 | "startupOnFinishCheckbox": { 128 | "text": "立即运行程序", 129 | "top": 371, 130 | "left": 158, 131 | "checked": true, 132 | "show": true, 133 | "color": "000000" 134 | }, 135 | "startupOnBootstrapCheckbox": { 136 | "text": "开机启动", 137 | "top": 371, 138 | "left": 59, 139 | "checked": false, 140 | "show": true, 141 | "color": "000000" 142 | }, 143 | "installDirInput": { 144 | "top": 320, 145 | "left": 60, 146 | "height": 36, 147 | "width": 400, 148 | "color": "000000", 149 | "show": true, 150 | "fontSize":10, 151 | "enabled":false 152 | }, 153 | "installDirBrowserButton": { 154 | "top": 320, 155 | "left": 459, 156 | "height": 36, 157 | "width": 80, 158 | "show": true 159 | }, 160 | "cancleInstallMsgbox": { 161 | "text": "确定取消安装吗?", 162 | "show": true 163 | }, 164 | "progressBar": { 165 | "top": 338, 166 | "left": 41, 167 | "width": 518, 168 | "height": 17, 169 | "show": true 170 | }, 171 | "progressText": { 172 | "top": 290, 173 | "left": 0, 174 | "width": 600, 175 | "height": 28, 176 | "color": "E78E0E", 177 | "show": true 178 | }, 179 | "installButton": { 180 | "top": 263, 181 | "left": 218, 182 | "width": 164, 183 | "height": 44, 184 | "show": true 185 | }, 186 | "finishText": { 187 | "text": "安装完毕", 188 | "top":280, 189 | "left": 0, 190 | "width": 600, 191 | "height": 26, 192 | "color": "E78E0E", 193 | "show": true 194 | }, 195 | 196 | "finishButton": { 197 | "top": 324, 198 | "left": 218, 199 | "width": 164, 200 | "height": 44, 201 | "show": true 202 | }, 203 | "minimizeButton": { 204 | "top": 9, 205 | "left": 551, 206 | "width": 16, 207 | "height": 16, 208 | "show": true 209 | }, 210 | "closeButton": { 211 | "top": 9, 212 | "left": 575, 213 | "width": 16, 214 | "height": 16, 215 | "show": true 216 | } 217 | } 218 | } -------------------------------------------------------------------------------- /src/template/design/addots.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/addots.psd -------------------------------------------------------------------------------- /src/template/design/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/bg.png -------------------------------------------------------------------------------- /src/template/design/bg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/bg1.png -------------------------------------------------------------------------------- /src/template/design/bg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/bg2.png -------------------------------------------------------------------------------- /src/template/design/bg_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/bg_blue.png -------------------------------------------------------------------------------- /src/template/design/bg_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/bg_green.png -------------------------------------------------------------------------------- /src/template/design/bg_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/bg_purple.png -------------------------------------------------------------------------------- /src/template/design/bg_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/bg_white.png -------------------------------------------------------------------------------- /src/template/design/browserBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/browserBtn.png -------------------------------------------------------------------------------- /src/template/design/cancelBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/cancelBtn.png -------------------------------------------------------------------------------- /src/template/design/checkBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/checkBox.png -------------------------------------------------------------------------------- /src/template/design/closebtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/closebtn.png -------------------------------------------------------------------------------- /src/template/design/confirmUninstallBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/confirmUninstallBtn.png -------------------------------------------------------------------------------- /src/template/design/continueBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/continueBtn.png -------------------------------------------------------------------------------- /src/template/design/inputBorder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/inputBorder.png -------------------------------------------------------------------------------- /src/template/design/instalDir.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/instalDir.psd -------------------------------------------------------------------------------- /src/template/design/install1.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/install1.psd -------------------------------------------------------------------------------- /src/template/design/install2.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/install2.psd -------------------------------------------------------------------------------- /src/template/design/install3.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/install3.psd -------------------------------------------------------------------------------- /src/template/design/installBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/installBtn.png -------------------------------------------------------------------------------- /src/template/design/installBtn.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/installBtn.psd -------------------------------------------------------------------------------- /src/template/design/minimizeBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/minimizeBtn.png -------------------------------------------------------------------------------- /src/template/design/msgbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/msgbox.png -------------------------------------------------------------------------------- /src/template/design/msgbox.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/msgbox.psd -------------------------------------------------------------------------------- /src/template/design/msgboxBtn.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/msgboxBtn.psd -------------------------------------------------------------------------------- /src/template/design/msgboxbg.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/msgboxbg.bmp -------------------------------------------------------------------------------- /src/template/design/msgboxbg.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/msgboxbg.psd -------------------------------------------------------------------------------- /src/template/design/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/progress.png -------------------------------------------------------------------------------- /src/template/design/progressBg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/progressBg.png -------------------------------------------------------------------------------- /src/template/design/shadow.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/shadow.psd -------------------------------------------------------------------------------- /src/template/design/startAppBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/design/startAppBtn.png -------------------------------------------------------------------------------- /src/template/includes/adBar.iss: -------------------------------------------------------------------------------- 1 | var 2 | adSwitchTimer, adAutoSwitchTimer: LongWord; 3 | 4 | adWraper, adPanel:TPanel; 5 | adx0, curAdImageIndex, preAdImageIndex : integer; 6 | adDragging:boolean; 7 | adMask : TLabel; 8 | adOpacity, adImageNumber: integer; 9 | 10 | preAdImageBtn: HWND; 11 | adImageGroup, adButtonGroup : array [0..{{ui.simpleAdBar.images.length}}] of HWND; 12 | const 13 | adWdith = 10; 14 | 15 | //switch ad image 16 | procedure adButtonGroupClick(hBtn:HWND); 17 | var 18 | i :integer; 19 | begin 20 | BtnSetEnabled(hBtn, false); 21 | BtnSetEnabled(preAdImageBtn, true); 22 | 23 | //立即完成上一次的轮播,为下一次轮播初始化环境 24 | ImgSetTransparent(adImageGroup[preAdImageIndex], 0); 25 | ImgSetVisibility(adImageGroup[preAdImageIndex], false); 26 | ImgSetTransparent(adImageGroup[curAdImageIndex], 255); 27 | preAdImageBtn := hBtn; 28 | for i:=0 to adImageNumber do begin 29 | if adButtonGroup[i] = hBtn then begin 30 | curAdImageIndex := i; 31 | end; 32 | end; 33 | ImgSetVisibility(adImageGroup[curAdImageIndex], true); 34 | 35 | preAdImageIndex := curAdImageIndex; 36 | ImgSetTransparent(adImageGroup[preAdImageIndex], 0); 37 | ImgSetTransparent(adImageGroup[curAdImageIndex], 255); 38 | ImgApplyChanges(WizardForm.Handle); 39 | end; 40 | 41 | //自动轮播 42 | procedure adAutoSwitch(h: Longword; msg: Longword; idevent: Longword; dwTime: Longword); 43 | var i:HWND; 44 | begin 45 | if preAdImageIndex = (adImageNumber - 1) then begin 46 | i := adButtonGroup[0]; 47 | end else begin 48 | i := adButtonGroup[preAdImageIndex+1]; 49 | end; 50 | adButtonGroupClick(i); 51 | end; 52 | 53 | //点击切换广告 54 | procedure adClickSwitch(hBtn:HWND); 55 | var i:HWND; 56 | begin 57 | KillTimer(0, adAutoSwitchTimer); 58 | adButtonGroupClick(hBtn); 59 | adAutoSwitchTimer := SetTimer(0, 0, {{ui.simpleAdBar.interval}}, WrapTimerProc(@adAutoSwitch,5)); 60 | end; 61 | 62 | //初始化广告栏 63 | procedure initAdBar(); 64 | var dotsTop, dotsLeft:integer; 65 | 66 | begin 67 | adDragging := false; 68 | 69 | adImageNumber := {{ui.simpleAdBar.images.length}}; 70 | 71 | if {{ui.simpleAdBar.show}} and (adImageNumber > 0) then begin 72 | {{each ui.simpleAdBar.images as image index}} 73 | {{if image}}ExtractTemporaryFile('{{image}}');{{/if}} 74 | {{/each}} 75 | 76 | //定位广告导航栏 77 | dotsTop := ScaleY({{ui.simpleAdBar.top}}+{{ui.simpleAdBar.height}}-32); 78 | dotsLeft := ScaleX({{ui.simpleAdBar.left}}+({{ui.simpleAdBar.width}} div 2) - ((30*adImageNumber) div 2)); 79 | 80 | {{each ui.simpleAdBar.images as image index}} 81 | adImageGroup[{{index}}] := ImgLoad(WizardForm.Handle, ExpandConstant('{tmp}\{{image}}'),{{ui.simpleAdBar.left}},{{ui.simpleAdBar.top}},{{ui.simpleAdBar.width}},{{ui.simpleAdBar.height}},True,True); 82 | adButtonGroup[{{index}}] := BtnCreate(WizardForm.Handle, ScaleX(dotsLeft+30*{{index}}), ScaleY(dotsTop), ScaleX(30), ScaleY(30), ExpandConstant('{tmp}\dots.png'), 3, false); 83 | BtnSetEvent(adButtonGroup[{{index}}], BtnClickEventID, WrapBtnCallback(@adClickSwitch, 1)); 84 | ImgSetTransparent(adImageGroup[{{index}}], 0); 85 | {{/each}} 86 | 87 | BtnSetEnabled(adButtonGroup[0], false); 88 | preAdImageBtn := adButtonGroup[0]; 89 | ImgSetTransparent(adImageGroup[0], 255); 90 | preAdImageIndex := 0; 91 | 92 | adAutoSwitchTimer := SetTimer(0, 0, {{ui.simpleAdBar.interval}}, WrapTimerProc(@adAutoSwitch,5)); 93 | end; 94 | end; -------------------------------------------------------------------------------- /src/template/includes/common.iss: -------------------------------------------------------------------------------- 1 | procedure _checkboxLabelClick(Sender: TObject); 2 | var btnId : HWND; 3 | begin 4 | btnId := TLabel(Sender).Tag; 5 | BtnSetChecked(btnId, not BtnGetChecked(btnId)); 6 | end; 7 | 8 | function createCheckBoxBtn(posiLeft:Longint; posiTop:Longint; btnParent:TWinControl; labelText:string; labelWdith:Longint; isChecked:Boolean):TLabel; 9 | var btnId:HWND; 10 | mylabel:TLabel; 11 | offsetY:Integer; 12 | begin 13 | btnId :=BtnCreate(btnParent.Handle, ScaleX(posiLeft), ScaleY(posiTop), ScaleX({{ui.checkboxSize}}), ScaleY({{ui.checkboxSize}}), ExpandConstant('{tmp}\CheckBox.png'),1,true); 14 | 15 | mylabel := TLabel.Create(WizardForm); 16 | with mylabel do begin 17 | AutoSize:=true; 18 | Transparent:=True; 19 | Font.Size := 10; 20 | Font.Name := fontName; 21 | Caption := labelText; 22 | Parent := btnParent; 23 | Tag := btnId; 24 | OnClick := @_checkboxLabelClick; 25 | end; 26 | //调整一下上下对齐 27 | offsetY := Round(({{ui.checkboxSize}}-mylabel.height) div 2); 28 | 29 | mylabel.SetBounds(ScaleX(posiLeft+{{ui.checkboxSize}}+4), ScaleY(posiTop+offsetY), ScaleX(labelWdith), ScaleY(14)); 30 | BtnSetChecked(btnId, isChecked); 31 | 32 | result := mylabel; 33 | end; 34 | 35 | //安装按钮点击 36 | procedure installBtnClick(hBtn:HWND); 37 | begin 38 | WizardForm.NextButton.Click; 39 | end; 40 | 41 | //自定义最小化按钮 42 | procedure MinimizeOnClick(hBtn:HWND); 43 | begin 44 | SendMessage(WizardForm.Handle, WM_SYSCOMMAND, 61472, 0); 45 | end; 46 | 47 | //自定义关闭按钮点击事件 48 | procedure CloseBtnOnClick(hBtn:HWND); 49 | begin 50 | //安装完毕(直接跳过安装) 51 | if installStep = wpFinished then begin 52 | WizardForm.NextButton.Click; 53 | end else if installStep = wpWelcome then begin 54 | WizardForm.Close; 55 | end; 56 | end; 57 | 58 | //单击“取消”直接退出 inno回调函数。inno 59 | procedure CancelButtonClick(CurPageID: Integer; var Cancel, Confirm: Boolean); 60 | begin 61 | //Cancel := false; 62 | //case installStep of 63 | //wpInstalling : begin end; 64 | //wpFinished : begin end; 65 | //else if MsgBox('是否退出安装', mbConfirmation, MB_YESNO) = IDYES then begin 66 | //Confirm:= false; 67 | //Cancel := true; 68 | //end; 69 | //end; 70 | Confirm:= false; 71 | Cancel := true; 72 | end; 73 | 74 | 75 | 76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /src/template/includes/config.iss: -------------------------------------------------------------------------------- 1 | #include '..\plugin\dll.iss' 2 | 3 | #define appURL "{{app.mainPage}}" 4 | #define MyAppId "{{app.id}}" 5 | #define appName "{{app.name}}" 6 | #define appVersion "{{app.version}}" 7 | #define MyComments "{{app.comments}}" 8 | #define appPublisher "{{app.publisher}}" 9 | #define exeName "{{app.exeName}}" 10 | 11 | #define fontName "{{ui.fontName}}" 12 | 13 | [Messages] 14 | SetupAppTitle = {{app.windowTitle}} 15 | SetupWindowTitle = {{app.windowTitle}} 16 | 17 | [Setup] 18 | AppName = {#appName} 19 | AppVersion = {#appVersion} 20 | VersionInfoCompany = {#appPublisher} 21 | VersionInfoCopyright = {#appPublisher} 22 | AppComments = {#MyComments} 23 | VersionInfoVersion = {#appVersion} 24 | 25 | AppPublisher = {#appPublisher} 26 | AppPublisherURL = {#appURL} 27 | AppSupportURL = {#appURL} 28 | AppUpdatesURL = {#appURL} 29 | 30 | //install dir 31 | DefaultDirName = {pf}\{#appName} 32 | DefaultGroupName = {#appName} 33 | 34 | //output dir 35 | OutPutDir = "{{installDetail.installerOutputDir}}" 36 | OutputBaseFilename = "{#appName}-{#appVersion}" 37 | 38 | // compress 39 | Compression = lzma2/ultra64 40 | SolidCompression = yes 41 | 42 | AllowNoIcons = yes 43 | DisableReadyPage = yes 44 | DisableProgramGroupPage = yes 45 | 46 | SetupIconFile = "inno-resource\installer.ico" 47 | UninstallDisplayIcon = "inno-resource\uninstall.ico" 48 | 49 | //use preview 50 | UsePreviousAppDir = yes 51 | UsePreviousGroup = yes 52 | UsePreviousLanguage = yes 53 | UsePreviousSetupType = yes 54 | UsePreviousTasks = yes 55 | UsePreviousUserInfo = yes 56 | 57 | [Tasks] 58 | Name: "startupicon"; Description: "{#appName} startupOnBootstrap"; GroupDescription: "{cm:AdditionalIcons}"; 59 | 60 | [Icons] 61 | Name: "{group}\{#appName}"; Filename: "{app}\{#exeName}"; WorkingDir: "{app}"; 62 | Name: "{group}\{cm:UninstallProgram,{#appName}}"; Filename: "{uninstallexe}"; WorkingDir: "{app}"; 63 | Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#appName}"; Filename: "{app}\{#exeName}"; WorkingDir: "{app}"; 64 | 65 | Name: "{userdesktop}\{#appName}"; Filename: "{app}\{#exeName}"; Check: DesktopCheckClick; 66 | 67 | [Registry] 68 | Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType:string; ValueName:"{#appName}"; ValueData: "{app}\{#appName}"; Flags: deletevalue uninsdeletevalue noerror; Check: startUpCheck; 69 | 70 | {{each registry as val index}} 71 | {{if val.root}} Root: {{val.root}};{{/if}} {{if val.subkey}} Subkey: {{val.subkey}};{{/if}} {{if val.type}} ValueType: {{val.type}};{{/if}}{{if val.name}} ValueName: {{val.name}}; {{/if}}{{if val.value}} ValueData: "{{val.value}}"; {{/if}}{{if val.flags}} Flags: {{val.flags}}; {{/if}} 72 | {{/each}} 73 | 74 | [Files] 75 | Source: "inno-resource\*"; DestDir: {tmp}; Flags: dontcopy solidbreak; 76 | Source: "plugin\*.dll"; DestDir: {app}; Flags: dontcopy solidbreak; 77 | 78 | Source: "{{app.package}}"; DestDir: {app}; Flags: ignoreversion recursesubdirs; -------------------------------------------------------------------------------- /src/template/includes/const.iss: -------------------------------------------------------------------------------- 1 | const 2 | TransparentColor = $ffffff; 3 | TransparentPercent = 80; 4 | 5 | WS_EX_LAYERED = $80000; 6 | WS_EX_TRANSPARENT = $20; 7 | LWA_COLORKEY = 1; 8 | LWA_ALPHA = 2; 9 | GWL_EXSTYLE = (-20); 10 | 11 | SM_CYBORDER = 6; 12 | SM_CYDLGFRAME = 8; 13 | WM_SYSCOMMAND = $0112; 14 | 15 | fontName = '{{ui.fontName}}'; 16 | smallFontSize = 10; 17 | middleFontSize = 12; 18 | 19 | //button 20 | BtnClickEventID = 1; 21 | BtnMouseEnterEventID = 2; 22 | 23 | //cursor 24 | MyCursor1 = 101; 25 | MyCursor2 = 102; 26 | 27 | ad_bar_height = 250; -------------------------------------------------------------------------------- /src/template/includes/installFinish.iss: -------------------------------------------------------------------------------- 1 | var 2 | finishedBtn: Longint; 3 | finishedText:TLabel; 4 | 5 | //安装完启动app 6 | procedure RunApp(hBtn:HWND); 7 | var RCode: Integer; 8 | begin 9 | Exec(ExpandConstant('{app}\{#exeName}'), '', '', SW_SHOW, ewNoWait, RCode); 10 | WizardForm.NextButton.Click; 11 | end; 12 | 13 | //初始化正在安装中界面 14 | procedure createFinishPanel(); 15 | var btnLeft, btnTop:Longint; 16 | begin 17 | finishedBtn:=BtnCreate(WizardForm.Handle, {{ui.finishButton.left}}, {{ui.finishButton.top}}, {{ui.finishButton.width}}, {{ui.finishButton.height}}, ExpandConstant('{tmp}\startAppBtn.png'), 3, False); 18 | BtnSetEvent(finishedBtn, BtnClickEventID, WrapBtnCallback(@RunApp, 1)); 19 | BtnSetVisibility(finishedBtn, false); 20 | 21 | finishedText := TLabel.Create(WizardForm); 22 | with finishedText do begin 23 | Alignment:=taCenter; 24 | AutoSize:=false; 25 | Transparent:=true; 26 | Parent:=WizardForm; 27 | Left := ScaleX({{ui.finishText.left}}); 28 | Top := ScaleY({{ui.finishText.top}}); 29 | Width := ScaleX({{ui.finishText.width}}); 30 | height := ScaleY({{ui.finishText.height}}); 31 | Caption:='{{ui.finishText.text}}'; 32 | Font.Name := fontName; 33 | Font.Color:=${{ui.finishText.color}}; 34 | Font.Size:= {{ui.finishText.height}}-12; 35 | OnMouseDown:=@WizardFormMouseDown; 36 | hide; 37 | end; 38 | end; 39 | 40 | //显示安装完毕页面 41 | procedure showFinishedPanel; 42 | begin 43 | BtnSetVisibility(finishedBtn, true); 44 | finishedText.show; 45 | end; -------------------------------------------------------------------------------- /src/template/includes/installProgressBar.iss: -------------------------------------------------------------------------------- 1 | var 2 | progressBar, progressBarBg: Longint; 3 | progressLabel:TLabel; 4 | 5 | procedure createProgressPanel(); 6 | begin 7 | //progress bar 8 | progressLabel:=TLabel.Create(WizardForm); 9 | with progressLabel do begin 10 | Alignment:=taCenter; 11 | AutoSize:=false; 12 | Parent:=WizardForm; 13 | Left := ScaleX({{ui.progressText.left}}); 14 | Top := ScaleY({{ui.progressText.top}}); 15 | Width := ScaleX({{ui.progressText.width}}); 16 | height := ScaleY({{ui.progressText.height}}); 17 | Caption:='0%'; 18 | Font.Style := [fsBold]; 19 | Font.Color:=${{ui.progressText.color}}; 20 | Font.Size:= {{ui.progressText.height}}-10; 21 | Font.Name := fontName; 22 | OnMouseDown := @WizardFormMouseDown; 23 | Transparent:=true; 24 | hide; 25 | end; 26 | 27 | progressBarBg:=ImgLoad(WizardForm.handle, ExpandConstant('{tmp}\progressBg.png'), ScaleX({{ui.progressBar.left}}), ScaleY({{ui.progressBar.top}}), ScaleX({{ui.progressBar.width}}), ScaleY({{ui.progressBar.height}}), True, True); 28 | progressBar:=ImgLoad(WizardForm.handle, ExpandConstant('{tmp}\progress.png'), ScaleX({{ui.progressBar.left}}), ScaleY({{ui.progressBar.top}}), ScaleX(0), ScaleY({{ui.progressBar.height}}), True, True); 29 | ImgSetVisibility(progressBarBg, false); 30 | ImgSetVisibility(progressBar, false); 31 | end; 32 | 33 | procedure showProgressPanel; 34 | begin 35 | progressLabel.show; 36 | ImgSetVisibility(progressBar, true); 37 | ImgSetVisibility(progressBarBg, true); 38 | end; 39 | 40 | procedure hideProgressPanel; 41 | begin 42 | progressLabel.hide; 43 | ImgSetVisibility(progressBar, false); 44 | ImgSetVisibility(progressBarBg, false); 45 | end; 46 | 47 | //percentage 48 | procedure setProgressWidth(progressWidth:Extended); 49 | begin 50 | progressLabel.Caption:=IntToStr(Round(progressWidth))+'%'; 51 | ImgSetPosition(progressBar, ScaleX({{ui.progressBar.left}}), ScaleY({{ui.progressBar.top}}), ScaleX(Round({{ui.progressBar.width}}*progressWidth/100)), ScaleY({{ui.progressBar.height}})); 52 | ImgApplyChanges(WizardForm.Handle); 53 | end; -------------------------------------------------------------------------------- /src/template/includes/killTask.iss: -------------------------------------------------------------------------------- 1 | var 2 | killTaskPabel:TPanel; 3 | taskConfirmUninstallBtn, taskCancelBtn: HWND; 4 | 5 | //执行安装前卸载 6 | procedure killTaskBeforeInstall(hBtn:HWND); 7 | begin 8 | KillTask('{#exeName}'); 9 | if checkPreVersion() then begin 10 | ClearImgList(); 11 | WizardForm.hide; 12 | initInstallWindow; 13 | WizardForm.show; 14 | ImgApplyChanges(WizardForm.Handle); 15 | end; 16 | killTaskPabel.hide; 17 | end; 18 | 19 | //安装前取消卸载 20 | procedure cancelKillRunningTask(hBtn:HWND); 21 | begin 22 | WizardForm.Close; 23 | end; 24 | 25 | //启动安装程序前,卸载旧版程序 26 | function checkRuningTask():Boolean; 27 | begin 28 | Result := IsModuleLoaded('{#exeName}'); 29 | if Result then begin 30 | resultStr := RemoveQuotes(resultStr); 31 | with WizardForm do begin 32 | ClientWidth:=ScaleX({{ui.checkTaskMsgbox.width}}); 33 | ClientHeight:=ScaleY({{ui.checkTaskMsgbox.height}}); 34 | Center; 35 | show; 36 | end; 37 | 38 | //弹窗面板 39 | killTaskPabel := TPanel.Create(WizardForm); 40 | with killTaskPabel do begin 41 | Parent := WizardForm; 42 | Left := ScaleX(0); 43 | Top := ScaleY(0); 44 | Width := ScaleX({{ui.checkTaskMsgbox.width}}); 45 | Height := ScaleY({{ui.checkTaskMsgbox.height}}); 46 | color:=clWindow; 47 | BorderStyle := bsNone; 48 | ParentColor := false; 49 | ParentBackground:=false; 50 | OnMouseDown:=@WizardFormMouseDown; 51 | end; 52 | 53 | with TBitmapImage.Create(killTaskPabel) do 54 | begin 55 | Parent := killTaskPabel; 56 | Left := ScaleX(0); 57 | Top := ScaleY(0); 58 | Width := ScaleX({{ui.checkTaskMsgbox.width}}); 59 | Height := ScaleY({{ui.checkTaskMsgbox.height}}); 60 | Bitmap.LoadFromFile(ExpandConstant('{tmp}\msgboxbg.bmp')); 61 | OnMouseDown:=@WizardFormMouseDown; 62 | end; 63 | 64 | with TLabel.Create(killTaskPabel) do begin 65 | //color:=clMenuText; 66 | Parent := killTaskPabel; 67 | AutoSize:=false; 68 | Top := ScaleY({{ui.checkTaskMsgbox.textTop}}); 69 | Left := ScaleX({{ui.checkTaskMsgbox.textLeft}}); 70 | Width := ScaleX({{ui.checkTaskMsgbox.textWidth}}); 71 | Height := ScaleY({{ui.checkTaskMsgbox.textHeight}}); 72 | wordWrap:=true; 73 | Transparent:=True; 74 | Caption := '{{ui.checkTaskMsgbox.text}}'; 75 | Font.Size := {{ui.checkTaskMsgbox.fontSize}}; 76 | Font.Color := ${{ui.checkTaskMsgbox.color}}; 77 | OnMouseDown:=@WizardFormMouseDown; 78 | end; 79 | 80 | InitFairy(WizardForm.Handle, 0, 20); 81 | AddImgToList(-20, -20, 255, clNone, ExpandConstant('{tmp}\msgbox.png')) 82 | ShowFairyEx(0); 83 | 84 | taskConfirmUninstallBtn := BtnCreate(killTaskPabel.Handle, ScaleX({{ui.checkTaskMsgbox.btnOkLeft}}), ScaleY({{ui.checkTaskMsgbox.btnOkTop}}), ScaleX({{ui.checkTaskMsgbox.btnOkWidth}}), ScaleY({{ui.checkTaskMsgbox.btnOkHeight}}), ExpandConstant('{tmp}\continueBtn.png'), 3, False); 85 | BtnSetEvent(taskConfirmUninstallBtn, BtnClickEventID, WrapBtnCallback(@killTaskBeforeInstall, 1)); 86 | 87 | taskCancelBtn := BtnCreate(killTaskPabel.Handle, ScaleX({{ui.checkTaskMsgbox.btnCancelLeft}}), ScaleY({{ui.checkTaskMsgbox.btnCancelTop}}), ScaleX({{ui.checkTaskMsgbox.btnCancelWidth}}), ScaleY({{ui.checkTaskMsgbox.btnCancelHeight}}), ExpandConstant('{tmp}\cancelBtn.png'), 3, False); 88 | BtnSetEvent(taskCancelBtn, BtnClickEventID, WrapBtnCallback(@cancelKillRunningTask, 1)); 89 | end; 90 | end; -------------------------------------------------------------------------------- /src/template/includes/msgbox.iss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/includes/msgbox.iss -------------------------------------------------------------------------------- /src/template/includes/resetMainWindow.iss: -------------------------------------------------------------------------------- 1 | var Minimize, CloseBtn: HWND; //close btn 2 | mainBg : Longint; //bg image 3 | 4 | htmlAdBar: HWND; 5 | adPage: TWizardPage; 6 | 7 | //重新设置窗口样式 8 | procedure initMainWindow(); 9 | begin 10 | //beautify window 11 | with WizardForm do begin 12 | ClientWidth:=ScaleX({{ui.clientWidth}}); 13 | ClientHeight:=ScaleY({{ui.clientHeight}}); 14 | Center; 15 | OnMouseDown:=@WizardFormMouseDown; 16 | end; 17 | 18 | InitFairy(WizardForm.Handle, 0, 20 ); 19 | AddImgToList(-20, -20, 255, clNone, ExpandConstant('{tmp}\shadow.png')) 20 | ShowFairyEx(0); 21 | 22 | //window background 23 | mainBg:=ImgLoad(WizardForm.Handle, ExpandConstant('{tmp}\bg.png'), 0, 0, ScaleX(WizardForm.ClientWidth), ScaleY(WizardForm.ClientHeight), True, True); 24 | 25 | //minimize btn 26 | Minimize:=BtnCreate(WizardForm.Handle, ScaleX({{ui.minimizeButton.left}}), ScaleY({{ui.minimizeButton.top}}), ScaleX({{ui.minimizeButton.width}}), ScaleY({{ui.minimizeButton.height}}), ExpandConstant('{tmp}\minimizeBtn.png'), 3, False); 27 | BtnSetEvent(Minimize, BtnClickEventID, WrapBtnCallback(@MinimizeOnClick, 1)); 28 | 29 | //close btn 30 | CloseBtn:=BtnCreate(WizardForm.Handle, ScaleX({{ui.closeButton.left}}), ScaleY({{ui.closeButton.top}}), ScaleX({{ui.closeButton.width}}), ScaleY({{ui.closeButton.height}}), ExpandConstant('{tmp}\closeBtn.png'), 3, False); 31 | BtnSetEvent(CloseBtn, BtnClickEventID, WrapBtnCallback(@CloseBtnOnClick, 1)); 32 | 33 | ImgApplyChanges(WizardForm.Handle); 34 | end; 35 | 36 | procedure setEnableCloseBtn(isEnabled:Boolean); 37 | begin 38 | BtnSetEnabled(CloseBtn, isEnabled); 39 | end; -------------------------------------------------------------------------------- /src/template/includes/uninstallBeforeInstall.iss: -------------------------------------------------------------------------------- 1 | var 2 | resultStr: string; 3 | uninstallBeforeInstallPabel:TPanel; 4 | confirmUninstallBtn, cancelBtn, msgboxBgBtn: HWND; 5 | 6 | 7 | procedure goToInstallWindow(); 8 | begin 9 | ClearImgList(); 10 | WizardForm.hide; 11 | uninstallBeforeInstallPabel.hide; 12 | initInstallWindow; 13 | WizardForm.show; 14 | ImgApplyChanges(WizardForm.Handle); 15 | end; 16 | 17 | //执行安装前卸载 18 | procedure uninstallBeforeInstall(hBtn:HWND); 19 | var resultCode: Integer; 20 | begin 21 | BtnSetEnabled(confirmUninstallBtn, false); 22 | BtnSetEnabled(cancelBtn, false); 23 | Exec(resultStr, '/VERYSILENT', '', SW_SHOWNORMAL, ewWaitUntilTerminated, resultCode); 24 | //卸载完毕初始化主窗体 25 | goToInstallWindow; 26 | end; 27 | 28 | //安装前取消卸载 29 | procedure cancelUninstallBeforeInstall(hBtn:HWND); 30 | var resultCode: Integer; 31 | begin 32 | if {{installDetail.requireUninstallBeforeInstall}} then begin 33 | WizardForm.Close; 34 | end else begin 35 | //卸载完毕初始化主窗体 36 | goToInstallWindow; 37 | end; 38 | 39 | end; 40 | 41 | //启动安装程序前,卸载旧版程序 42 | function checkPreVersion():Boolean; 43 | var resultCode: Integer; 44 | begin 45 | 46 | if {{installDetail.checkUninstallBeforeInstall}} then begin 47 | if RegQueryStringValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#appName}_is1', 'UninstallString', resultStr) then begin 48 | result := false; 49 | resultStr := RemoveQuotes(resultStr); 50 | with WizardForm do begin 51 | ClientWidth:= ScaleX({{ui.uninstallMsgbox.width}}); 52 | ClientHeight:= ScaleY({{ui.uninstallMsgbox.height}}); 53 | Center; 54 | show; 55 | end; 56 | 57 | //弹窗面板 58 | uninstallBeforeInstallPabel := TPanel.Create(WizardForm); 59 | with uninstallBeforeInstallPabel do begin 60 | Parent := WizardForm; 61 | Left := ScaleX(0); 62 | Top := ScaleY(0); 63 | Width := ScaleX({{ui.uninstallMsgbox.width}}); 64 | Height := ScaleY({{ui.uninstallMsgbox.height}}); 65 | color:=clWindow; 66 | BorderStyle := bsNone; 67 | ParentColor := false; 68 | ParentBackground:=false; 69 | OnMouseDown:=@WizardFormMouseDown; 70 | end; 71 | 72 | with TBitmapImage.Create(uninstallBeforeInstallPabel) do 73 | begin 74 | Parent := uninstallBeforeInstallPabel; 75 | Left := ScaleX(0); 76 | Top := ScaleY(0); 77 | Width := ScaleX({{ui.uninstallMsgbox.width}}); 78 | Height := ScaleY({{ui.uninstallMsgbox.height}}); 79 | Bitmap.LoadFromFile(ExpandConstant('{tmp}\msgboxbg.bmp')); 80 | OnMouseDown:=@WizardFormMouseDown; 81 | end; 82 | 83 | with TLabel.Create(uninstallBeforeInstallPabel) do begin 84 | //color:=clMenuText; 85 | Parent := uninstallBeforeInstallPabel; 86 | AutoSize:=false; 87 | Left := ScaleX({{ui.uninstallMsgbox.textLeft}}); 88 | Top := ScaleY({{ui.uninstallMsgbox.textTop}}); 89 | Width := ScaleX({{ui.uninstallMsgbox.textWidth}}); 90 | Height := ScaleY({{ui.uninstallMsgbox.textHeight}}); 91 | wordWrap:=true; 92 | Transparent:=True; 93 | Caption := '{{ui.uninstallMsgbox.text}}'; 94 | Font.Size := {{ui.uninstallMsgbox.fontSize}}; 95 | Font.Color := ${{ui.uninstallMsgbox.color}}; 96 | OnMouseDown:=@WizardFormMouseDown; 97 | end; 98 | 99 | //阴影 100 | InitFairy(WizardForm.Handle, 0, 20); 101 | AddImgToList(-20, -20, 255, clNone, ExpandConstant('{tmp}\msgbox.png')) 102 | ShowFairyEx(0); 103 | 104 | confirmUninstallBtn := BtnCreate(uninstallBeforeInstallPabel.Handle, ScaleX({{ui.uninstallMsgbox.btnOkLeft}}), ScaleY({{ui.uninstallMsgbox.btnOkTop}}), ScaleX({{ui.uninstallMsgbox.btnOkWidth}}), ScaleY({{ui.uninstallMsgbox.btnOkHeight}}), ExpandConstant('{tmp}\confirmUninstallBtn.png'), 3, False); 105 | BtnSetEvent(confirmUninstallBtn, BtnClickEventID, WrapBtnCallback(@uninstallBeforeInstall, 1)); 106 | 107 | cancelBtn := BtnCreate(uninstallBeforeInstallPabel.Handle, ScaleX({{ui.uninstallMsgbox.btnCancelLeft}}), ScaleY({{ui.uninstallMsgbox.btnCancelTop}}), ScaleX({{ui.uninstallMsgbox.btnCancelWidth}}), ScaleY({{ui.uninstallMsgbox.btnCancelHeight}}), ExpandConstant('{tmp}\cancelBtn.png'), 3, False); 108 | BtnSetEvent(cancelBtn, BtnClickEventID, WrapBtnCallback(@cancelUninstallBeforeInstall, 1)); 109 | 110 | end else begin 111 | result := true; 112 | end; 113 | end else begin 114 | result := true; 115 | end; 116 | end; -------------------------------------------------------------------------------- /src/template/package/inno-resource/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/bg.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/browserBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/browserBtn.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/cancelBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/cancelBtn.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/checkBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/checkBox.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/closeBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/closeBtn.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/confirmUninstallBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/confirmUninstallBtn.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/continueBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/continueBtn.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/dots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/dots.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/inputBorder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/inputBorder.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/installBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/installBtn.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/installer.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/installer.ico -------------------------------------------------------------------------------- /src/template/package/inno-resource/minimizeBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/minimizeBtn.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/msgbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/msgbox.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/msgboxbg.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/msgboxbg.bmp -------------------------------------------------------------------------------- /src/template/package/inno-resource/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/progress.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/progressBg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/progressBg.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/shadow.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/startAppBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/startAppBtn.png -------------------------------------------------------------------------------- /src/template/package/inno-resource/uninstall.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/inno-resource/uninstall.ico -------------------------------------------------------------------------------- /src/template/package/plugin/InnoCallback.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/plugin/InnoCallback.dll -------------------------------------------------------------------------------- /src/template/package/plugin/botva2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/plugin/botva2.dll -------------------------------------------------------------------------------- /src/template/package/plugin/fairy.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/plugin/fairy.dll -------------------------------------------------------------------------------- /src/template/package/plugin/istask.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/plugin/istask.dll -------------------------------------------------------------------------------- /src/template/package/plugin/psvince.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/package/plugin/psvince.dll -------------------------------------------------------------------------------- /src/template/psd设计稿-design.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/1inus/node-inno/d877f2ed0af4f6af13f43d4b7a25f6bfc37e79f7/src/template/psd设计稿-design.zip -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compileOnSave": true, 3 | "compilerOptions": { 4 | "module": "UMD", 5 | "noImplicitAny": true, 6 | "removeComments": true, 7 | "target": "es6", 8 | "preserveConstEnums": true, 9 | "emitDecoratorMetadata": true, 10 | "experimentalDecorators": true, 11 | "sourceMap": false 12 | }, 13 | "lib": [ 14 | "es2017" 15 | ], 16 | "include": [ 17 | "src/**/*" 18 | ], 19 | "types": [ 20 | "node" 21 | ], 22 | "typeRoots": [ 23 | "node_modules/@types" 24 | ], 25 | "exclude": [ 26 | "node_modules" 27 | ] 28 | } --------------------------------------------------------------------------------