Results 1 to 7 of 7

Thread: [RESOLVED] Inno Setup changing reg entry for all users

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    37

    Resolved [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?

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    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.

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    37

    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

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    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.

  5. #5

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    37

    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.

  6. #6

    Thread Starter
    Member
    Join Date
    Jan 2006
    Posts
    37
    thanks for your help, will be checking the site out.

  7. #7
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    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
  •  



Click Here to Expand Forum to Full Width