|
-
Dec 10th, 2008, 04:17 AM
#1
Creating Registry Keys
Folks,
Do you create your programs registry keys though the installer or Using the program itself on the first run?
-
Dec 10th, 2008, 04:47 AM
#2
Re: Creating Registry Keys
If it is supported by your installer software, it is best to do it as part of the installation - as that way they will be removed if your program is uninstalled (thus keeping the users computer as clean as possible).
-
Dec 10th, 2008, 05:34 AM
#3
Re: Creating Registry Keys
OK SI,
But i have come to a problem when using this method.
Say one user with admin rights install my program. so the installer creates all the values and keys for him.
when a new user login to the same system, he dont find any values and keys under his HKCU / Software relevent to my program.
Any solution? if i ask to install it again under his account, he cannot do so since he is a user. so no permission to install software.
* Assume My program works on xp.
-
Dec 10th, 2008, 06:44 AM
#4
Re: Creating Registry Keys
Some installers allow you to install to HKCU for all users, but if yours doesn't then you'll need to set them up on first run instead/also (if they don't exist).
-
Dec 10th, 2008, 06:51 AM
#5
Re: Creating Registry Keys
Some installers allow you to install to HKCU for all users
ok after installation for all users on the machine, a new user account is created. now what will happen?
-
Dec 10th, 2008, 07:11 AM
#6
Re: Creating Registry Keys
The registry keys should automatically be created for them, as settings for a user are copied from a template user - which is where the installer should be creating them.
-
Dec 10th, 2008, 07:15 AM
#7
Re: Creating Registry Keys
Great !
i ll try to install my software to all users now
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|