Inno Setup -How to keep Registry Keys after Uninstall

rajeshkumar created the topic: Inno Setup – How to keep registry keys after uninstall.
Hello,

I am have an installer running for a shareware program that has a time limit. The installer saves an obscure key in the windows registry with the install date, and I do not want this key to be removed when uninstalling, so that the user cannot simply uninstall and reinstall the program in order to circumvent the time limit.

I have tried to use custom Delphi code to write the key ( RegWriteStringValue() ) but it looks like the uninstaller removes those as well. Any ideas on how to keep the registry key (or another way to keep the original install date in the system)?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x