I noticed that the WriteUninstaller is always returning success even if it fails.
Let's consider the following code uninstaller-generator.nsi (everything we have in the installer part is to just generate the uninstaller):
Samples of failures:
Section -Post
WriteUninstaller "$EXEDIR\uninst.exe"
SectionEnd
a) When running the exe generated when building the uninstaller-generator.nsi above, if I already have an uninst.exe in the $EXEDIR which is read-only, the WriteUninstaller fails, but still it returns success
b) If I change the code to:
and K: doesn't exist on my system the WriteUninstaller fails, but actually again it returns success.
Section -Post
WriteUninstaller "K:\uninst.exe"
SectionEnd
Is this is a bug? I mean for this kind of installer, I'll never be able to check if there was an error when running it right?
Thx,
Viv