I have a .net application, and the installer for it has been created using inno setup version 5.4.0.
The installer works fine, but now, when I want to uninstall the application, it throws the error: "Internal Error: cannot find utcompiledcode record for this version of the uninstaller"
I would like to diagnose the cause of this issue, and fix it in the installer script (if it applies) or whatever I have to do in order to resolve this issue.
Typically this error occurs because of one of the following reasons:
You have installed an older version of the software over the top of a newer version, and the two don't want to play nicely together (rare).
You have later installed an upgrade script with the same AppId as your original installer but without the same [Code]
content (more common).
You have used [Files]
entries with wildcards to source files from a directory that already contains unins000.*
files (most common).
Refrain from doing those things and the error should go away. (In particular, for the last one: you should never use the installed location of your app as the source location for your installer. Always distribute "clean" files from a separate build/staging area.)
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