|
-
Jun 2nd, 2007, 08:39 PM
#1
Thread Starter
Member
[RESOLVED] Inno Setup changing reg entry for all users
Hi, I'm wanting to get inno to set a registry value in HKCU on vista across all users. With an Admin account of course i read you can change any users registry via 'HKEY_USERS\user-id key', I just need inno to detect or locate all users so we can apply this reg setting across all (all will already have the actual key in place, we just changing the value)
Any Ideas App Deployment Masters?
-
Jun 3rd, 2007, 02:32 PM
#2
Re: Inno Setup changing reg entry for all users
I am not sure I understand what you want. They usual thing to do is to execute with admin privileges via a Manifest file for VB6 programs. I believe if you want to do it the way you want and a new user is added they will not be able to use the app.
-
Jun 3rd, 2007, 05:52 PM
#3
Thread Starter
Member
Re: Inno Setup changing reg entry for all users
Hey randem,
I'll try explain better. When installing our security app, there is a default setting/key already set by windows for all users under (HKEY_USERS\user-id key) For our app to function 100% we need to modify this key value across all users and were hoping to do this at install time (guy installing will have admin rights). So after install all users that use our program will have it functioning 100%... hope this makes sense. I was hoping you would reply as well seeing that your the installation specialist around here
-
Jun 3rd, 2007, 07:45 PM
#4
Re: Inno Setup changing reg entry for all users
Then if you already know the key to update what is the issue?
This is what a registry entry looks like in Inno Setup
Code:
[Registry]
Root: HKCU; Subkey: Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers; ValueType: string; ValueName: {app}\**********.exe; ValueData: RUNASADMIN
You can also use ISTool to help setup registry entries.
-
Jun 3rd, 2007, 10:31 PM
#5
Thread Starter
Member
Re: Inno Setup changing reg entry for all users
Hey, marking this as resolved. Instead of just writing to the current user I was trying to write to all users found on the PC... that was the issue. So we have moved this into our actual application instead of the installer... thanks anyway.
-
Jun 3rd, 2007, 10:35 PM
#6
Thread Starter
Member
thanks for your help, will be checking the site out.
-
Jun 3rd, 2007, 11:10 PM
#7
Re: [RESOLVED] Inno Setup changing reg entry for all users
Well, If you have the root key for all users you can do it from the installer also.
Just use HKU instead of HKCU
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
|