Files/directories in VirtualStore (1 Viewer)

Nosh

Portal Member
February 9, 2006
30
0
Heidelberg
Home Country
Germany Germany
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

Portal Member
February 9, 2006
30
0
Heidelberg
Home Country
Germany Germany
The "C:\Users\User\AppData\Local\VirtualStore\" directory is the place where vista redirects file access with the wrong permission.
 

and-81

Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    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,
     

    Nosh

    Portal Member
    February 9, 2006
    30
    0
    Heidelberg
    Home Country
    Germany Germany
    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

    Portal Member
    February 9, 2006
    30
    0
    Heidelberg
    Home Country
    Germany Germany
    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 "C:program 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
     

    Users who are viewing this thread

    Top Bottom