INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Registry entries in HKEY_Current_User  (Read 2483 times)

Rüdiger from Vienna

  • Guest
Registry entries in HKEY_Current_User
« on: February 22, 2002, 03:34:06 am »

Just a small tip:
As long as all entries of MJ are saved under HKEY_Current_User, starting MJ under Windows XP from an other user than the one that installed MJ, causes a lot of pop-up-error-messages and a non-working MJ!!
This is because the new user has no entries of MJ in his registry!!
Only solution is to backup the Registry in the user MJ installed it & to restore in the new user!
This is really no good!!
Since Win9x is no longer developed, WinNT is the Windows of the future.
(For those who don't know, WinXP=WinNT 5.1)
Wouldn't it be good to support the lastest windows version?

SO, could you move all regsitry entries to HKEY_LOCAL_MACHINE? Then it would work for all users.

Greetings
Rüdiger
P.S. I haven't tried it, but the same problem should also occur on Windows 2000, being NT 5.
Logged

JimH

  • Citizen of the Universe
  • *****
  • Posts: 7604
  • Miller drives a tall-masted tractor on the ocean
RE:Registry entries in HKEY_Current_User
« Reply #1 on: February 22, 2002, 03:42:39 am »

Did you install as the user you're running as?
Logged
Jim Hillegass
JRiver Media Center / Media Jukebox

Rüdiger from Vienna

  • Guest
RE:Registry entries in HKEY_Current_User
« Reply #2 on: February 22, 2002, 04:00:52 am »

YES AND NO!
My user profile is the one where MJ was installed, there it works.
BUT, ALL OTHERS USERS (mom, sister, etc) CAN'T USE MJ!!!

That sould be fixed, don't you think??
Rüdiger
Logged

JimH

  • Citizen of the Universe
  • *****
  • Posts: 7604
  • Miller drives a tall-masted tractor on the ocean
RE:Registry entries in HKEY_Current_User
« Reply #3 on: February 22, 2002, 04:03:28 am »

Try also installing as one of the other users.
Logged
Jim Hillegass
JRiver Media Center / Media Jukebox

Rüdiger from Vienna

  • Guest
RE:Registry entries in HKEY_Current_User
« Reply #4 on: February 22, 2002, 04:09:15 am »

This will work for sure, but it is even easier to backup and restore only the reg-entries of MJ under HKEY_CURRENT_USER!!

BUT BOTH IS NOT PERFECT, YOU MUST AGREE!! Especially multiple installation of a software results in a disaster in the regsitry-file, since the registry files are all regsitered several times, making a correct uninstall impossible!!

Don't you think that it would be better to move entries to HKEY_LOCAL_MACHINE in one of the next releases??
That wouldn't be really too much programming-work and would make MJ perfect for all future windows version!!

Well?
Rüdiger
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
RE:Registry entries in HKEY_Current_User
« Reply #5 on: February 22, 2002, 04:17:28 am »


Don't you think that it would be better to move entries to HKEY_LOCAL_MACHINE in one of the next releases??
That wouldn't be really too much programming-work and would make MJ perfect for all future windows version!!


Windows is moving towards a more user-centric (vs. machine-centric) model, which is why we've switched from LOCAL_MACHINE -> CURRENT_USER.  In fact, with out the proper permissions (power user or above I believe), you can't even write to LOCAL_MACHINE, meaning a lot of people at work couldn't even use MJ before we switched.

Take care.

-Matt
Logged
Matt Ashland, JRiver Media Center

IQ10

  • Guest
RE:Registry entries in HKEY_Current_User
« Reply #6 on: February 22, 2002, 04:23:15 am »

Rüdiger from Vienna, I don't think un-installing Media Jukebox, is a high priority around here.

A better cleaner un-install method anyway is the FDISK or Ghost checkpoint methodology given near the end of thread below.
http://www.musicex.com/cgi-bin/interact/NeoBoard.pl?Action=ShowPost&Board=inter&Post=8135&BoardIdle=7&SortingBy=0&BoardOrder=Descend&Page=0&UserSession=

[former member]
Logged

Rüdiger from Vienna

  • Guest
RE:Registry entries in HKEY_Current_User
« Reply #7 on: February 22, 2002, 04:34:13 am »

@Matt

The thing with the people at work is ok, but what about the machine at home, where whole family is sharing one machine!
Here in my home, there is one administrator profile (meNext Page), and the rest of family have normal user profiles.
It would be really a lot of work to install MJ for all users separately!
Why didn't MJ work with LOCAL_MACHINE-entries??
The rest of the family should only be able to use MJ without changing my configuration of MJ (which took really long!!)
I think read-access to LOCAL_MACHINE do all users have, shouldn't this be enough??

Those people at work who have no admin-right can't even install MJ, because NT-admins in offices often prohibit program-installation for normal users.
So they would have to ask admin for installation, thsi guy could also make the ground-configuration of MJ.
Adding more music or deleting some is possible without registry access, so where is then the problem for people in the office with LOCAL_MACHINE??

??
Rüdiger
Logged

Rüdiger from Vienna

  • Guest
RE:Registry entries in HKEY_Current_User
« Reply #8 on: February 22, 2002, 05:25:17 am »

An idea:

When MJ gets installed, reg-entries are created in CURRENT_USER and(!) in LOCAL_MACHINE!
If another user trys to use MJ, reg-entries from LOCAL_MACHINE are copied to CURRENT_USER.
Wouldn't this be possible? I think to LOCAL_MACHINE a normal user has read access, but full write-access to CURRENT_USER, or?

So what do you think?
Rüdiger
Logged

dwex

  • Regular Member
  • World Citizen
  • ***
  • Posts: 100
RE:Registry entries in HKEY_Current_User
« Reply #9 on: February 22, 2002, 05:43:48 am »

Actually, the proper way to work with the registry and with user profiles on WinXP is to install shared stuff in HKLM\Sofrware and common files to the All Users profile. User-specific settings should be dynamically created the first time each user runs the app, by adding the appropriate stuff to HKCU and the user's profile.

And in response to "Limited users can't install software if we do that" the answers is "right, that's exactly the point of limited users".

And before you ask, I've been building Windows apps on NT-based platforms for a goodly number of years, and have spent years messsing with registry and profile behaviors.
Logged

Rüdiger from Vienna

  • Guest
RE:Registry entries in HKEY_Current_User
« Reply #10 on: February 22, 2002, 11:10:24 am »

That's what I meant. If someone is a limited user, he can't even install a program under WinXP, so why is MJ in the HKCU and not in HKLM??

For using MJ, only read-access is needed, and for configuration, well, only an administrator should be aloud to do so, that's the idea of an Admin!!

But I think the idea of copying the keys from HKLM to HKCU on first run is not such a bad idea, making the program usable under several users without problem with access-rights to the registry and without the need to install MJ for each user separately!!

So, why not??
greetings
Rüdiger
Logged

cjdshaw

  • Guest
RE:Registry entries in HKEY_Current_User
« Reply #11 on: February 22, 2002, 01:59:06 pm »

dwex is right. Common stuff (like file locations, version info etc.) should be stored in HKLM and user specific stuff (skins, options, layouts, current DB etc) should be HKCU.
How about: if you install as a power-user, MJ acts as above. When a new user runs MJ, user settings are copied from HKLM to HKCU
          if you install as a normal user, you get a dialogue saying "You are not a power user. MJ will not be available to other users. Continue?" and if you say OK, it puts it all in HKCU, as it does now.
Logged

Rüdiger from Vienna

  • Guest
RE:Registry entries in HKEY_Current_User
« Reply #12 on: February 22, 2002, 09:02:09 pm »

cjdshaw says exactly what I've meant! Would it be possible to realize this functionality??
He just made a small error: user-specific in HKCU is ok, but there must be a standard set of user-specific entries in HKLM so that another user can copy them from HKLM to HKCU!!

Rüdiger
Logged

Rüdiger from Vienna

  • Guest
RE:Registry entries in HKEY_Current_User
« Reply #13 on: February 25, 2002, 08:26:02 am »

Matt? JimH? Anybody out there?

Would like to know what you think about the idea of cjdshaw.

Please tell me, if there will be improvment in multi-user-support!
Greetings
Rüdiger
Logged

JimH

  • Citizen of the Universe
  • *****
  • Posts: 7604
  • Miller drives a tall-masted tractor on the ocean
RE:Registry entries in HKEY_Current_User
« Reply #14 on: February 25, 2002, 08:36:44 am »

This is not the kind of change we could make now.  We can look at this more closely after 8.0 is released.
Logged
Jim Hillegass
JRiver Media Center / Media Jukebox

Rüdiger from Vienna

  • Guest
RE:Registry entries in HKEY_Current_User
« Reply #15 on: February 25, 2002, 10:02:43 am »

Well, but after the final release such a big change would be worse than in beta-stage, I think.

Because such a change would afford a new installation of MJ, an upgrade will not work, since new version would look for reg entries in HKLM and old version installed them only into HKCU.

Am I wrong?

For people who are used to test a lot with software, like me, such a change wouldn't be a great problem, but for the home-users, wanting a system as easy as possible, it will be hard to understand why all their personal configuration of MJ is gone after that update!

Or would an update be able to move this settings from HKCU to HKLM?

Rüdiger
Logged
Pages: [1]   Go Up