Inno Setup 安装程序 (5.5.1(a)) 在升级过程中 .exe
被替换。 exe被锁定时,显示错误
DeleteFile failed; code 5.
Access is denied.
Abort, Retry, Ignore
如何在静默升级期间抑制消息请帮助我。默认情况下,在静默安装期间,它应该采用Ignore 选项而不会出现任何错误。
最佳答案
我认为忽略/跳过该文件没有意义。我假设您需要在升级期间更换它,是吗?
您可以为静默和非静默安装设置不同的条目:
[Files]
Source: C:\path\MyProg.exe; Dest: {app}; Check: not WizardSilent
Source: C:\path\MyProg.exe; Dest: {app}; Flags: restartreplace; Check: WizardSilent
关于windows - Inno Setup 在静默安装期间将锁定文件替换推迟到下一次重新启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39262876/