home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Database: Refactor MP1 database for multi seat usage
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="CyberSimian" data-source="post: 1286704" data-attributes="member: 141969"><p>Yes, I have just looked at the value of %ProgramFiles% on 64-bit Windows 7, and it is:</p><p style="margin-left: 20px">C:\Program Files</p><p>So Microsoft has actually changed its value in 64-bit Windows 10. What were they thinking? <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite4" alt=":mad:" title="Mad :mad:" loading="lazy" data-shortname=":mad:" /></p><p></p><p>The result is that one cannot rely on that environment variable to indicate the bitness of the operating system. It will be necessary to check first for the existence of "C:\Program Files (x86)". If that exists, that folder contains the Team MediaPortal folder to use as the destination. Otherwise it is "C:\Program Files" that contains the Team MediaPortal folder.</p><p></p><p>Apologies for suggesting a bad fix. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>-- from CyberSimian in the UK</p></blockquote><p></p>
[QUOTE="CyberSimian, post: 1286704, member: 141969"] Yes, I have just looked at the value of %ProgramFiles% on 64-bit Windows 7, and it is: [INDENT]C:\Program Files[/INDENT] So Microsoft has actually changed its value in 64-bit Windows 10. What were they thinking? :mad: The result is that one cannot rely on that environment variable to indicate the bitness of the operating system. It will be necessary to check first for the existence of "C:\Program Files (x86)". If that exists, that folder contains the Team MediaPortal folder to use as the destination. Otherwise it is "C:\Program Files" that contains the Team MediaPortal folder. Apologies for suggesting a bad fix. :( -- from CyberSimian in the UK [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Database: Refactor MP1 database for multi seat usage
Contact us
RSS
Top
Bottom