installation - How do I force Inno Setup to make the 'uninsneveruninstall' flag retroactive? -
inno setup keeps "uninstall log" file unins000.dat
in application's install directory. file contains list of files uninstalled when application removed. when new version of app installed on old one, inno setup appends new files "uninstall log".
an version of application removes user-modified template files when uninstalled, because forgot include uninsneveruninstall
flag files.
in latest version of software, uninsneveruninstall
flag set, , files don't removed....... unless latest version installed on broken version. then, because files in uninstall log without flag, removed upon uninstall!
i can't ask users uninstall old software before upgrading, because lose files.
can force inno setup regenerate uninstall log scratch? or @ least remove/overwrite entries these files? want uninsneveruninstall
flag retroactive.
you can't change flag retroactively. once it's been released, that's it.
an option though be, during setup, detect older broken version having been installed (if not version number, maybe flag in registry fix has been applied) , backup folder in question, perform uninstall (silently) restore folder. setup can carry on normal.
Comments
Post a Comment