随笔分类 -  Inno Setup

Inno Setup: Deleting folders after restart during uninstallation
摘要:https://stackoverflow.com/questions/61959208/inno-setup-deleting-folders-after-restart-during-uninstallation To schedule file or directory deletion on 阅读全文

posted @ 2021-01-28 14:13 liujx2019 阅读(104) 评论(0) 推荐(0)

Inno Setup 安装中途重启
摘要:https://stackoverflow.com/questions/19750880/inno-setup-restart-in-the-middle-of-setup-process 阅读全文

posted @ 2021-01-25 15:47 liujx2019 阅读(532) 评论(0) 推荐(0)

Inno Setup 32bit and 64bit dll installation
摘要:https://stackoverflow.com/questions/17944516/inno-setup-32bit-and-64bit-dll-installation 4 I have had success with the following: [Files] Source: D:\. 阅读全文

posted @ 2021-01-25 15:42 liujx2019 阅读(160) 评论(0) 推荐(0)

Inno Setup: Run regsvr32 with a specific working directory
摘要:https://stackoverflow.com/questions/36332189/inno-setup-run-regsvr32-with-a-specific-working-directory You cannot. The regsvr32.exe that Inno Setup ru 阅读全文

posted @ 2021-01-25 15:41 liujx2019 阅读(241) 评论(0) 推荐(0)

[Inno Setup] Exec ShellExec 执行程序是否显示
摘要:Exec and ShellExec - ShowCmd values SW_SHOW, SW_SHOWNORMAL, SW_SHOWMAXIMIZED, SW_SHOWMINIMIZED, SW_SHOWMINNOACTIVE, SW_HIDE 阅读全文

posted @ 2021-01-25 15:40 liujx2019 阅读(620) 评论(0) 推荐(0)

[Inno Setup] Exec ShellExec 等待与否 参数
摘要:TExecWait = (ewNoWait, ewWaitUntilTerminated, ewWaitUntilIdle) var ErrorCode: Integer; begin if not ShellExec('', ExpandConstant('{app}\filename.rtf') 阅读全文

posted @ 2021-01-25 15:39 liujx2019 阅读(1055) 评论(0) 推荐(0)

[Inno Setup] 待读
摘要:https://stackoverflow.com/questions/1576792/uninstall-fails-because-program-is-running-how-do-i-make-inno-setup-check-for-r#39653639 https://stackover 阅读全文

posted @ 2021-01-25 15:38 liujx2019 阅读(74) 评论(0) 推荐(0)

How do you close then restart explorer.exe in Inno Setup uninstall using the Restart Manager?
摘要:https://stackoverflow.com/questions/62725866/how-do-you-close-then-restart-explorer-exe-in-inno-setup-uninstall-using-the-res 作者:Miral 还没看,先存着。 { Exam 阅读全文

posted @ 2021-01-25 15:30 liujx2019 阅读(189) 评论(0) 推荐(0)

[Inno Setup] 安装与卸载 Shell Extension DLL
摘要:可以全新安装,升级,卸载。 DLL 文件在卸载,重启Windows后删除。所以在卸载之后不会重启explorer.exe.这么做是因为安装包本身就需要重启电脑。 副作用:升级结束之后,会弹出文件浏览器的窗口。 Source: programs\ShellExtensionExample.dll; D 阅读全文

posted @ 2021-01-25 15:29 liujx2019 阅读(644) 评论(0) 推荐(0)

Windows 安装包软件 Advanced installer
摘要:https://www.advancedinstaller.com/ 阅读全文

posted @ 2021-01-25 09:56 liujx2019 阅读(86) 评论(0) 推荐(0)

[Inno Setup] 区分Windows版本的一个例子
摘要:Windows 8.1 和 Windows Server 2012 R2, 大小版本号是相同的,都是6.3,如何区分 调用 GetWindowsVersionEx,获取 TWindowsVersion 结构体,其中 ProductType 是 VER_NT_SERVER 的是 Windows Ser 阅读全文

posted @ 2020-06-03 09:48 liujx2019 阅读(500) 评论(0) 推荐(0)

【Inno Setup】检测是否需要预先重启
摘要:By Martin Prikryl If you want to detect, if there is a pending rename that requires a restart, query PendingFileRenameOperations registry value. See a 阅读全文

posted @ 2020-05-13 13:23 liujx2019 阅读(428) 评论(0) 推荐(0)

Inno Setup 删除文件夹 DelTree
摘要:Pascal Scripting: DelTree Prototype: function DelTree(const Path: String; const IsDir, DeleteFiles, DeleteSubdirsAlso: Boolean): Boolean; Description: 阅读全文

posted @ 2019-11-11 15:48 liujx2019 阅读(1783) 评论(0) 推荐(0)

Pascal 字符串
摘要:Dancing with Strings http://baskent.edu.tr/~tkaracay/etudio/ders/prg/pascal/PasHTM1/pas/pasl1007.html Hi ! We meet again ! Now, I would like to discus 阅读全文

posted @ 2019-11-11 15:46 liujx2019 阅读(301) 评论(0) 推荐(0)

Inno Setup 大师 Tlama
摘要:https://stackoverflow.com/users/960757/tlama 阅读全文

posted @ 2019-11-09 10:52 liujx2019 阅读(153) 评论(0) 推荐(0)

如何在 Inno Setup 中执行命令行的命令
摘要:Pascal Scripting: Exec Prototype: function Exec(const Filename, Params, WorkingDir: String; const ShowCmd: Integer; const Wait: TExecWait; var ResultC 阅读全文

posted @ 2019-11-09 10:14 liujx2019 阅读(4273) 评论(0) 推荐(0)

Inno Setup, Pascal 字符串带双引号如何写
摘要:Windows 的路径中如果有空格,就需要用双引号括起来。只能填 ASCII-Code-Number (decimal),不能用一般的 escape 方法。 #34 + path + #34 查询这个表的第一列 阅读全文

posted @ 2019-11-09 10:09 liujx2019 阅读(799) 评论(0) 推荐(0)

Inno Setup [Run] Section 双引号嵌套
摘要:https://stackoverflow.com/questions/26257808/inno-setup-how-to-run-a-code-procedure-in-run-section-or-before-run-section [Run] Filename: "schtasks.exe 阅读全文

posted @ 2019-11-07 14:51 liujx2019 阅读(540) 评论(0) 推荐(0)

[Inno Setup] 字符串列表,当要处理一长串文件时很有用
摘要:https://wiki.freepascal.org/TStringList-TStrings_Tutorial TStringList-TStrings Tutorial │ Deutsch (de) │ English (en) │ español (es) │ suomi (fi) │ fr 阅读全文

posted @ 2019-10-18 14:42 liujx2019 阅读(464) 评论(0) 推荐(0)

[Inno Setup] 如何读取命令行输入的参数
摘要:以 /verysilent 为例 阅读全文

posted @ 2019-10-18 10:32 liujx2019 阅读(941) 评论(0) 推荐(0)

导航