Posts: 6,564
Joined: Apr 2008
Reputation:
160
natethomas
Enjoying Retirement by Staying Busy
Posts: 6,564
Install XBMC in portable mode. Or else install XBMC using your non-admin account while it is running in admin mode. The default install is tied to the account that installs it. Without that account running, XBMC will be confused.
Posts: 26
Joined: May 2009
Reputation:
0
Taomyn
Junior Member
Posts: 26
2009-05-16, 18:51
Problem with using an admin account to install an application when logged in as a non-admin account is that unless the application is written correctly, it will not be accessible to the non-admin account. It's no different to what I have described above and have already tried - just now.
So what "ties" it to the account used for installation, the registry, a setting file or something else? I tried copying the APPDATA folder from the admin account but I get the same error.
Posts: 6,564
Joined: Apr 2008
Reputation:
160
natethomas
Enjoying Retirement by Staying Busy
Posts: 6,564
That I know of, it's primarily that information that can be found in the appdata/Roaming/XBMC folder.
As I understand it, Vista and Windows 7 do not like granting access to the program files folder. Thus, to resolve the issue, XBMC installs to your username/AppData folder instead. You will note that XBMC does not grant you the option to make accessible to all users. I don't know if that is purposeful or not, but it is how it works. I couldn't say if XBMC makes any registry changes.
So let me make sure I understand what you've tried. I know that you've logged out of your main profile and installed using your admin account, but have you tried simply installing from your non-admin, main profile? Before doing so, I suggest uninstalling from your admin account.
Posts: 6,564
Joined: Apr 2008
Reputation:
160
natethomas
Enjoying Retirement by Staying Busy
Posts: 6,564
I have a new question. Why do you not give your main account administrator privileges? You will always be notified if you try to access them. I can't think of any reason to give up these privileges unless you have a trigger happy kid, but if you can access a different account's administrative powers from your user account, the same problem exists.
Posts: 26
Joined: May 2009
Reputation:
0
Taomyn
Junior Member
Posts: 26
2009-05-16, 19:29
Well it seems XBMC needs to rethink it's installer for Windows Vista and 7.
I just tried to install it by logging on as "MediaCentre" my non-admin account, then when UAC prompts, using the "Administrator" account. When the installer finishes and asks for the profile path, it says "C:\Users\Administrator\AppData\Roaming\XBMC" which if course cannot be accessed by "MediaCentre" and it all fails again.
You see, UAC doesn't raise a non-admin user to an admin, that only happens to users that are already an admin. It just asks for an admin account to be used and that's the user profile the application is installed under. It's basically just an automated "Run As" like XP has.
I can see the same thing happen when I upgrade Miro - if I allow the installer to run Miro at the end, I get an empty Miro (and a near heart attack the first time I did it). I then exit Miro and re-run it, and I get my normal settings back.
If can just find where XBMC stores where it looks for the profile on startup, I think I can fool it to use the correct location. Anyway, if Boxee can do it correctly, I cannot see why XBMC can't.
Posts: 6,564
Joined: Apr 2008
Reputation:
160
natethomas
Enjoying Retirement by Staying Busy
Posts: 6,564
Ordinarily this would be the time I would say, "Code is always welcome." However, this time, rather than saying it, I'll just think it as hard as I can. Your tone, friend, is not one conducive to getting devs to feel sorry for your plight. And the delightful method by which you seemed to call me out for not "using it (security, windows, something?) properly" isn't gaining you any love on my account either, regardless of the backhanded thanks that followed.
I'll have you know, first of all, that I am not, nor was I ever, one of those individuals complaining about the "security" of windows. Further, I think intentionally creating a user account that does not have administrative rights is simple foolishness (and is certainly not "using it properly") unless you are creating it for small children or very old people. The UAC will always tell you when you are "trashing or making system changes." If you continue on and destroy your computer, that's your own fault. And if someone else does it, that's STILL your own fault, for allowing them to use your computer.
Unfortunately, at this point, I can't help you any further. If simply copying your AppData/Roaming/XBMC folder over to the same place in the account you want to use doesn't work, I don't know what will.
Good luck with that.
Posts: 6,564
Joined: Apr 2008
Reputation:
160
natethomas
Enjoying Retirement by Staying Busy
Posts: 6,564
It's curious that the -p switch was in the link. Particularly as it seemed not to be when you initially installed it using the administrator account. I sort of feel the need to create some additional accounts now, just to see what might have caused that.
Also, it's possible that Boxee uses the old method. A few months back the XBMC crew changed the effect of the -p switch. I don't recall it's previous meaning, but presently it means portable and attempts to create your userdata folders within your program files folder.