Registry issue

Started by Randem, December 10, 2008, 06:45:55 AM

Previous topic - Next topic

Randem

Well, yes and no.When you uninstall only the current users keys can be uninstalled. Since you have no access to the other users areas you cannot uninstall those keys. The only way to uninstall all keys is to create the keys for each user in the HKLM area, then all the keys can be deleted at once. But this has to be done in your application not automatically by the installer.
 
(Message edited by randem on December 10, 2008)

afridy

Thank You randem and now it well clear.
But, when un-installing, how to remove the values and keys?
coz if installer creates, then we have the option to tell him to remove them while uninstall no?

Randem

You do not create keys for all users in the installation. You create registry keys only at your program start-up when the user actually runs the app. Then the registry keys will be created in his profile and user areas. This is a job for your application not the installer. However you can create a separate installer that will only generate the registry keys and each user will run it at first run of the application if the keys do not exist.

afridy

Hai all,
 
Where to specify in innosetup to create the registry keys for all users who have account in the computer and who creates account in future which my software is installing
 
currently my software creates keys only to the user who installing the software. so when a new user login and try to use my program, he gets and error.
 
pls help.