In Inno Setup installer (5.5.1(a)) during upgrade .exe
is being replaced. When the exe is locked, it is showing error
DeleteFile failed; code 5.
Access is denied.
Abort, Retry, Ignore
How to suppress message during silent upgrade please help me. By default during silent installation it should take Ignore option without any error.
.
I do not think it makes sense to ignore/skip the file. I assume you need to replace it during upgrade, don't you?
You can have a different entry for silent and non-silent installations:
[Files]
Source: C:\path\MyProg.exe; Dest: {app}; Check: not WizardSilent
Source: C:\path\MyProg.exe; Dest: {app}; Flags: restartreplace; Check: WizardSilent
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With