MediaPortal Forums HTPC/MediaCenter
Old 2008-04-18, 19:43   #1 (permalink)
Portal Member
 
Join Date: Feb 2006
Location: Heidelberg
Posts: 30
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Files/directories in VirtualStore

TV-Server Version: 1.0 RC1
MediaPortal Version: 1.0 RC1
Windows Version: Vista 32 Ultimate German

MP 1.0RC1 writes the following files/directories to the "C:\Users\User\AppData\Local\VirtualStore\Program Files\Team MediaPortal\MediaPortal" directory:

Burner
mediaportal.running


A program should not write data to its program directory.
Nosh is offline   Reply With Quote
Old 2008-04-18, 20:38   #2 (permalink)
Development Group Member
 
Bavarian's Avatar
 
Join Date: Apr 2005
Location: Germany, Bayern
Age: 44
Posts: 596
Thanks: 6
Thanked 52 Times in 36 Posts

Country:


Default

hmm - It is writing in the AppData area and not to the programm directory area.
Bavarian is offline   Reply With Quote
Old 2008-04-18, 21:01   #3 (permalink)
Portal Member
 
Join Date: Feb 2006
Location: Heidelberg
Posts: 30
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

The "C:\Users\User\AppData\Local\VirtualStore\" directory is the place where vista redirects file access with the wrong permission.
Nosh is offline   Reply With Quote
Old 2008-04-18, 21:03   #4 (permalink)
Project Manager
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 30
Posts: 9,574
Thanks: 489
Thanked 681 Times in 347 Posts

Country:


Default

erm.... you installed MP in "C:\Users\User\AppData\Local\" ?????
__________________
regards
chris

MediaPortal Project Manager

Do not start to moan if something is not working as you want it to be.
Remember that MediaPortal is Open Source.
YOU can improve it!
infinityloop is online now   Reply With Quote
Old 2008-04-18, 21:15   #5 (permalink)
Portal Member
 
Join Date: Feb 2006
Location: Heidelberg
Posts: 30
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by infinityloop View Post
... you installed MP in "C:\Users\User\AppData\Local\" ?????
No in "C:\Program Files\Team MediaPortal\".
Nosh is offline   Reply With Quote
Old 2008-04-18, 21:18   #6 (permalink)
Project Manager
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 30
Posts: 9,574
Thanks: 489
Thanked 681 Times in 347 Posts

Country:


Default

Quote:
Originally Posted by Nosh View Post
Quote:
Originally Posted by infinityloop View Post
... you installed MP in "C:\Users\User\AppData\Local\" ?????
No in "C:\Program Files\Team MediaPortal\".
and you say that it writes some files into

"C:\Program Files\Team MediaPortal\MediaPortal\"

?
__________________
regards
chris

MediaPortal Project Manager

Do not start to moan if something is not working as you want it to be.
Remember that MediaPortal is Open Source.
YOU can improve it!
infinityloop is online now   Reply With Quote
Old 2008-04-19, 06:12   #7 (permalink)
Development Group Member
 
and-81's Avatar
 
Join Date: Mar 2005
Location: Melbourne
Age: 28
Posts: 2,257
Thanks: 30
Thanked 177 Times in 90 Posts

Country:

My System

Default

He's saying that if it's writing files in the Virtual Store folder then it was because Vista redirected the request to write them into the Program Files folder.

So basically, MediaPortal is trying to write files into the "Program Files" folder, which it shouldn't.

Nosh, that's what you are saying right?

Cheers,
and-81 is offline   Reply With Quote
These User Thank You:
Old 2008-04-19, 18:15   #8 (permalink)
Portal Member
 
Join Date: Feb 2006
Location: Heidelberg
Posts: 30
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by and-81 View Post
Nosh, that's what you are saying right?
Yes, thank you.

I just noticed that also "Gentle.config" is at 3 places:

"C:\Users\User\AppData\Local\VirtualStore\Program Files\Team MediaPortal\MediaPortal"
"C:\Program Files\Team MediaPortal\MediaPortal TV Server"
"C:\ProgramData\Team MediaPortal\MediaPortal TV Server"

This seems to be wrong too.
Nosh is offline   Reply With Quote
Old 2008-04-21, 13:32   #9 (permalink)
MP1 Development Manager
 
chemelli's Avatar
 
Join Date: Sep 2006
Location: Padova, Italy
Age: 35
Posts: 3,566
Thanks: 349
Thanked 355 Times in 258 Posts

Country:

My System

Send a message via Skype™ to chemelli
Default

Bug is now in mantis: 0001230: Wrong path writes redirected to VirtualStore - MediaPortal Bugtracker

Simone
chemelli is online now   Reply With Quote
Old 2008-04-27, 19:31   #10 (permalink)
Portal Member
 
Join Date: Feb 2006
Location: Heidelberg
Posts: 30
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

Mantis 0001230 is closed, but there are still some issues open with the new svn:

"C:\Users\UserName\AppData\Local\VirtualStore\Program Files\Team MediaPortal\MediaPortal\Gentle.config"

and

"C:\Users\UserName\AppData\Local\VirtualStore\ProgramData\Team MediaPortal\MediaPortal\keymap.xml"

are created when closing "MediaPortal Configuration".

For the first file, if Gentle.config should be altered at "Crogram Files\Team MediaPortal\MediaPortal\" then you have to show an "UAC Prompt" to elevate privilege, or put it in the ProgramData directory.

For the second file, "keymap.xml" is at the right place at "C:\ProgramData\Team MediaPortal\MediaPortal" but "MediaPortal Configuration" running with the current user privilege has not enough rights to alter it, so it is redirected to VirtualStore.


When executing mediaportal.exe two more files are created:

"C:\Users\UserName\AppData\Local\VirtualStore\ProgramData\Team MediaPortal\MediaPortal TV Server\log\streaming server.Log"

and

"C:\Users\UserName\AppData\Local\VirtualStore\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe.config"


Same reasons as above.


And another point:

The directory "C:\ProgramData\Team MediaPortal\MediaPortal\database\convert\" contains executable files, the directory and files should be moved to the "Program File" directory of Mediaportal to protect them against malware.

Regards, Norbert
Nosh is offline   Reply With Quote
Reply

Bookmarks

Tags
files or directories, virtualstore

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Directories scargill General Support 0 2007-11-21 16:08
MP directories misterd Skins and Plugins Installer (MPEI) 4 2007-11-01 16:57
Having Problems with DVD directories in 4.2.6 cyberquixote My Films 12 2007-09-04 19:21
Mapped directories DaveV General Support 3 2006-08-22 09:11
Videos - Sort by Name - Directories and Files are not sorted baou06 General Support 0 2006-05-21 07:53


All times are GMT +1. The time now is 14:58.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden