I created a software that is associated with the processing of payments and purchases of pulses. I have used VB6, sqlite2009 for Inno to create the database and its set-up. I created a program called 'IZ' story short, if a user installs my program开发者_C百科 in the registry window will then make a folder in called "PCclient". the problem is: when the user will uninstall the program that I created (IZ) Registry files (PCclient) can not be lost. What should I do so when the user will uninstall the program, the registry files (PCclient) are also be deleted. what script should I add to the registry file 'PCclient' erased at the time of uninstall. do I have to add the script in VB6 or in the Inno? and what script should I add?
Thank You
user404222 to avoid the delete of you registry entry when the application is uninstalled you should remove the flag uninsdeletevalue
check this sample
This value is deleted when the uninstaller is executed
[Registry]
Root: HKLM; Subkey: SOFTWARE\MyKey; ValueType: string; ValueName: InstallDir; ValueData:MyData; Flags: uninsdeletevalue
In this case the key is not deleted.
[Registry]
Root: HKLM; Subkey: SOFTWARE\MyKey; ValueType: string; ValueName: InstallDir; ValueData:MyData
精彩评论