UE, Vista and File associations

alex
Posts: 4543
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

if the check mark disappears maybe it is a question of permissions, if there is no check mark and you press "apply" does it disappear? i didn't delve into acquiring permissions issue yet, i just was running it with administrator permissions.

the second and different question if you associate UE as user choice (default) for "open with" in windows explorer does all works ok? (given the answer for the first question the checkmark behaves correctly, what i noticed it is just a new independent registry entry so it shouldn't affect the check mark in the ue properties)
bassie
Posts: 490
Joined: Sat Jul 19, 2003 9:58 am
Contact:

administrator or normal user does not matter.

Post by bassie »

so what i see is that it does not matter if i am an adminstrator or normal user, both behave the same. So maybe not a thing about rights.
bassie
Posts: 490
Joined: Sat Jul 19, 2003 9:58 am
Contact:

Post by bassie »

alex wrote:if the check mark disappears maybe it is a question of permissions, if there is no check mark and you press "apply" does it disappear? i didn't delve into acquiring permissions issue yet, i just was running it with administrator permissions.
-answer: if is tell windows to use ue as the standard program for the nzb file then UE is not able to change that. If i tell windows notepad to be the standard program then UE cannot change that. So checking and unchecking and apply etc. does not change the windows settings. Does not matter whether i am administrator or normal user.

the second and different question if you associate UE as user choice (default) for "open with" in windows explorer does all works ok? (given the answer for the first question the checkmark behaves correctly, what i noticed it is just a new independent registry entry so it shouldn't affect the check mark in the ue properties)
answer: so i associate UE as default for "open with" then it is ok. The checkmarks don't influence, for administrator and normal user.
alex
Posts: 4543
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

yes as long as the "UserChoice" entry is created (you invoked "open with" at least once) it is the one defining, but on a fresh install the check box works like in xp.

i've just rebooted, deleted "UserChoice" from the registry (was associated with notepad), then doubleclicking nzb started UE, in short this entry should be verified and it should be deleted or modified when you check the associate box in ue properties (i think to delete it is just right, also what is interesting you cannot delete or change keys under UserChoice through regedit and maybe programmatically as well even running as admin but it is possible to delete the whole UserChoice key with all its subkeys and values though).

and as to not being able to check the box (when check mar disappears when you press "apply") like you i couldn't reproduce it (it would mean UE failed to change registry entries, maybe the question of running UE with insuficient permissions then).
bassie
Posts: 490
Joined: Sat Jul 19, 2003 9:58 am
Contact:

Post by bassie »

so i guess the problem is solved now.
thomas
Posts: 11
Joined: Mon May 29, 2006 10:23 am

Post by thomas »

Running it as usual, when checking that box and pushing apply immediately removes the checkmark.
When I ran it as administrator and did the same the checkmark stays checked, and greys out so I am unable to uncheck it.
Not really a problem for me, but is it supposed to be like that?
alex
Posts: 4543
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

ok so it is the question of vista permissions.

then you need to run UE with administrator permissions to associate the .nzb extension or to switch the database, as I remember UE doesn't use the windows registry otherwise. also at least with one new version you better run UE extractor with administrator permissions so you won't need to reenter extractor serial in the future.

i'll check how to elevate UE permissions (so the system will ask you rather than failing the operation), i'm not sure i'll do it right now since i'm checking some other more interesting venues at the moment, for now i want to make it to delete the userchoice key so when the user associated some other program manually the old fashioned other registry values driven choice won't get overridden.
alex
Posts: 4543
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

today i checked all those matters.

indeed in the standard user mode the program cannot change file extension associations since in vista the area of the registry is protected.

as to database path or installer no problem to run as a standard user because it is not protected area and the program can write into registry (registry virtualization so the registry specific to the user account).

so i added message boxes to warn users with prompt to run as administrator when the program will fail to associate import file extensions and when the program has the admin permissions it will take care of the UserChoice key and the rest. it will be in the next release.

also i think the implementation of file associations in vista is a little buggy, when i have UE in several places i couldn't switch default from one location to another through windows explorer, it always associated with the former one. i only succeeded after removing HKEY_CLASSES_ROOT\Applications\UE.exe key, the bug is apparently a vista bug (not UE specific), but if you run the next release of UE in the administrator mode it will take care of everything.
alex
Posts: 4543
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

i've just published v1.7.4 in part with all those changes.
bassie
Posts: 490
Joined: Sat Jul 19, 2003 9:58 am
Contact:

Post by bassie »

although i am administrator, i cannot associate from within usenet explorer itself. I get the message that i do not have administrator rights.

Not that i care, but just to let you know that maybe it is still not ok?

i use the latest version of ue.
alex
Posts: 4543
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

invoke "run as administrator" from the context menu when starting UE - only when you need to set file associations.

i could try to declare UE in manifest as needed to be run as administrator so it would ask user and then always run as administrator, but since the rest works with the standard user account i don't think it is worthy to elevate the whole program because of setting file associations given one can do the same through "open with" in the windows explorer.
bassie
Posts: 490
Joined: Sat Jul 19, 2003 9:58 am
Contact:

Post by bassie »

I will try this soon in more detail.

Because in windows xp i again got those problems with WGA i just decided to forget windows xp and go for windows vista. It seems that there are a lot of programs available so i thought i could take the risc.
I use an administrator account to install the programs, and use some standard accounts for guests for example and for doing internet things.

Thanks for the advice that i can select "run as administrator" from the context menu, could be helpful.
bassie
Posts: 490
Joined: Sat Jul 19, 2003 9:58 am
Contact:

Post by bassie »

run as administrator in the context menu, and then i could indeed check the association.

so it works
Post Reply