Cannot install on headless server (1 Viewer)

morpheus_xx

Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,777
    7,127
    Home Country
    Germany Germany
    Country flag
    The MP2-Server is running flawlessly when connecting by RDP or without any gfx. Only the client did not start as it needs more GFX that RDP can deliver.
    This is a different issue than the one posted here. You already have a working installation, and running of MP2-Client is not possible via RDP.

    The issue here is that the installer can't install DX9 at all. The detection fails to find following files:
    (https://github.com/MediaPortal/Medi...up/Bootstrapper/Fragments/DirectX9.wxs#L8-L12)
    [SystemFolder]D3DX9_41.dll -> needs to be version v9.26.952.2844
    [SystemFolder]D3DX9_43.dll -> needs to be version v9.29.952.3111

    @treason can you please (in this order):
    Please post results for those checks.

    @Lehmden to skipping the DX check for server-only installs:
    This is a problem, as I explained above there are 2 parts involved: the bootstrapper checks for DX. And then later(!) the .msi installer allows selection of client+server or single component installation. This means the bootstrapper doesn't know yet what the user will choose later.

    To change this, there have to be done very big changes to put selection into bootstrapper process before and then to control the .msi installer with a kind of preselection. And unfortunately there is no one who is able to write a custom bootstrapper for this idea :(
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,368
    3,805
    Lehmden
    Home Country
    Germany Germany
    Country flag
    This is a different issue than the one posted here
    Yes, I know. I mentioned it only to proof that the MP2 Server is working on a headless system once it is installed. Only the client is in a need for the "full" DX capabilities...

    the bootstrapper checks for DX. And then later(!) the .msi installer allows selection of client+server or single component installation.
    What about providing a "server only" installer package with modified or completely without bootstrapper? I can imagine that this scenario (headless server installation) will become more common with growing number of MP2 users...
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,903
    770
    63
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    Country flag
    fyi: Installing and running with Team Viewer should work.
    While I have not done it as a headless yet, installing and or running a server or client has not been an issue for me.
    I might see where a single seat install of MP2 on a headless might not work to run a client without a monitor, the server only should work.
     

    treason

    Portal Member
    January 6, 2007
    6
    2
    There might be one thing you can try:
    The installer consists of two parts:

    A so called "bootstrapper" which can install dependencies at start (like the DX which fails now)
    The "real installer" as msi file, where you are then able to select between single seat, client or server only

    If you look at the post above, the msi is extracted to a local temporary folder: [1410:0D64][2016-02-14T22:09:47]i304: Verified existing payload: MainPackage at path: C:\ProgramData\Package Cache\{93D52AA4-8988-4926-BE92-E889F30EE3A6}v2.0.0.1509\MP2-Setup.msi.

    You should copy it away from there and try to run it manually. This should at least skip the DX check, maybe you get further this way.

    This didnt work unfortunetely http://s3.amazonaws.com/PicUp/a3b1vD.png

    check if after the manual DX installation those 2 files are present inside C:\Windows\System32 ?
    check if after the manual DX installation those 2 files are present inside C:\Windows\SysWOW64 ? (if you run x64 Windows)
    try to use this newer MP2-Installer: https://forum.team-mediaportal.com/threads/mediaportal-2-weekly-snapshot-2016-02-07.133630/

    Please post results for those checks.

    1. Files not found
    2, Files not found (I wonder if DX9 even really installed?)
    3. Install failed

    Code:
    [3EA0:47FC][2016-02-17T06:56:04]i001: Burn v3.10.2.2516, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\treason\AppData\Local\Temp\{52E74AE7-8D57-4761-9B87-7143EEB81BC7}\.cr\MP2-Setup.exe
    [3EA0:47FC][2016-02-17T06:56:04]i009: Command Line: '-burn.clean.room=D:\Down\MediaPortal-2__origin__Weekly_20160207__2016-02-07--15-07\MP2-Setup.exe /log MP2-Setup.log'
    [3EA0:47FC][2016-02-17T06:56:04]i000: Setting string variable 'WixBundleOriginalSource' to value 'D:\Down\MediaPortal-2__origin__Weekly_20160207__2016-02-07--15-07\MP2-Setup.exe'
    [3EA0:47FC][2016-02-17T06:56:04]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'D:\Down\MediaPortal-2__origin__Weekly_20160207__2016-02-07--15-07\'
    [3EA0:47FC][2016-02-17T06:56:04]i000: Setting string variable 'WixBundleLog' to value 'D:\Down\MediaPortal-2__origin__Weekly_20160207__2016-02-07--15-07\MP2-Setup.log'
    [3EA0:47FC][2016-02-17T06:56:04]i000: Setting string variable 'WixBundleName' to value 'MediaPortal 2'
    [3EA0:47FC][2016-02-17T06:56:04]i000: Setting string variable 'WixBundleManufacturer' to value 'Team MediaPortal'
    [3EA0:43A4][2016-02-17T06:56:04]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
    [3EA0:43A4][2016-02-17T06:56:04]i000: Setting version variable 'WixBundleFileVersion' to value '2.0.0.1602'
    [3EA0:47FC][2016-02-17T06:56:04]i100: Detect begin, 6 packages
    [3EA0:47FC][2016-02-17T06:56:04]i000: File search: D3DX9_41_Version, did not find path: C:\Windows\system32\D3DX9_41.dll
    [3EA0:47FC][2016-02-17T06:56:04]i000: File search: D3DX9_43_Version, did not find path: C:\Windows\system32\D3DX9_43.dll
    [3EA0:47FC][2016-02-17T06:56:04]i000: Setting version variable 'MFC100_Version_x86' to value '10.0.40219.325'
    [3EA0:47FC][2016-02-17T06:56:04]i000: Setting version variable 'MFC120_Version_x86' to value '12.0.21005.1'
    [3EA0:47FC][2016-02-17T06:56:04]i000: Setting string variable 'MFC90_Version_x86' to value '9.0.30729'
    [3EA0:47FC][2016-02-17T06:56:04]i000: Setting string variable 'NETFRAMEWORK45' to value '394271'
    [3EA0:47FC][2016-02-17T06:56:04]i052: Condition 'NETFRAMEWORK45 >= 378675' evaluates to true.
    [3EA0:47FC][2016-02-17T06:56:04]w120: Detected partially cached package: directx9, invalid payload: directx9, reason: 0x80070002
    [3EA0:47FC][2016-02-17T06:56:04]i101: Detected package: NetFx451Web, state: Present, cached: None
    [3EA0:47FC][2016-02-17T06:56:04]i101: Detected package: VC2008SP1_x86, state: Absent, cached: None
    [3EA0:47FC][2016-02-17T06:56:04]i101: Detected package: VC2010_x86, state: Absent, cached: None
    [3EA0:47FC][2016-02-17T06:56:04]i101: Detected package: VC2013_x86, state: Absent, cached: None
    [3EA0:47FC][2016-02-17T06:56:04]i101: Detected package: directx9, state: Absent, cached: Partial
    [3EA0:47FC][2016-02-17T06:56:04]i101: Detected package: MainPackage, state: Absent, cached: None
    [3EA0:47FC][2016-02-17T06:56:04]i199: Detect complete, result: 0x0
    [3EA0:47FC][2016-02-17T06:56:05]i200: Plan begin, 6 packages, action: Install
    [3EA0:47FC][2016-02-17T06:56:05]w321: Skipping dependency registration on package with no dependency providers: NetFx451Web
    [3EA0:47FC][2016-02-17T06:56:05]i052: Condition 'NOT MFC90_Version_x86' evaluates to false.
    [3EA0:47FC][2016-02-17T06:56:05]w321: Skipping dependency registration on package with no dependency providers: VC2008SP1_x86
    [3EA0:47FC][2016-02-17T06:56:05]i052: Condition '(NOT MFC100_Version_x86 >= v10.0.30319.1) OR NOT MFC100_Version_x86' evaluates to false.
    [3EA0:47FC][2016-02-17T06:56:05]w321: Skipping dependency registration on package with no dependency providers: VC2010_x86
    [3EA0:47FC][2016-02-17T06:56:05]i052: Condition '(NOT MFC120_Version_x86 >= v12.0.21005.1) OR NOT MFC120_Version_x86' evaluates to false.
    [3EA0:47FC][2016-02-17T06:56:05]w321: Skipping dependency registration on package with no dependency providers: VC2013_x86
    [3EA0:47FC][2016-02-17T06:56:05]i052: Condition '(NOT D3DX9_41_Version >= v9.26.952.2844) OR NOT D3DX9_41_Version OR (NOT D3DX9_43_Version >= v9.29.952.3111) OR NOT D3DX9_43_Version' evaluates to true.
    [3EA0:47FC][2016-02-17T06:56:05]w321: Skipping dependency registration on package with no dependency providers: directx9
    [3EA0:47FC][2016-02-17T06:56:05]i000: Setting string variable 'WixBundleLog_directx9' to value 'D:\Down\MediaPortal-2__origin__Weekly_20160207__2016-02-07--15-07\MP2-Setup_000_directx9.log'
    [3EA0:47FC][2016-02-17T06:56:05]i000: Setting string variable 'WixBundleRollbackLog_MainPackage' to value 'D:\Down\MediaPortal-2__origin__Weekly_20160207__2016-02-07--15-07\MP2-Setup_001_MainPackage_rollback.log'
    [3EA0:47FC][2016-02-17T06:56:05]i000: Setting string variable 'WixBundleLog_MainPackage' to value 'D:\Down\MediaPortal-2__origin__Weekly_20160207__2016-02-07--15-07\MP2-Setup_001_MainPackage.log'
    [3EA0:47FC][2016-02-17T06:56:05]i201: Planned package: NetFx451Web, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [3EA0:47FC][2016-02-17T06:56:05]i201: Planned package: VC2008SP1_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [3EA0:47FC][2016-02-17T06:56:05]i201: Planned package: VC2010_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [3EA0:47FC][2016-02-17T06:56:05]i201: Planned package: VC2013_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    [3EA0:47FC][2016-02-17T06:56:05]i201: Planned package: directx9, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
    [3EA0:47FC][2016-02-17T06:56:05]i201: Planned package: MainPackage, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
    [3EA0:47FC][2016-02-17T06:56:05]i299: Plan complete, result: 0x0
    [3EA0:47FC][2016-02-17T06:56:05]i300: Apply begin
    [3EA0:47FC][2016-02-17T06:56:05]i010: Launching elevated engine process.
    [3EA0:47FC][2016-02-17T06:56:05]i011: Launched elevated engine process.
    [3EA0:47FC][2016-02-17T06:56:06]i012: Connected to elevated engine.
    [3C50:4294][2016-02-17T06:56:06]i358: Pausing automatic updates.
    [3C50:4294][2016-02-17T06:56:06]i359: Paused automatic updates.
    [3C50:4294][2016-02-17T06:56:06]i360: Creating a system restore point.
    [3C50:4294][2016-02-17T06:56:13]i361: Created a system restore point.
    [3C50:4294][2016-02-17T06:56:13]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{02a5d287-91f4-48bf-a650-792fe52eb86d}, options: 0x7, disable resume: No
    [3C50:4294][2016-02-17T06:56:13]i000: Caching bundle from: 'C:\Users\treason\AppData\Local\Temp\{0B1E876D-FA33-4BDB-8703-EEDD04DE36D7}\.be\MP2-Setup.exe' to: 'C:\ProgramData\Package Cache\{02a5d287-91f4-48bf-a650-792fe52eb86d}\MP2-Setup.exe'
    [3C50:4294][2016-02-17T06:56:13]i320: Registering bundle dependency provider: {02a5d287-91f4-48bf-a650-792fe52eb86d}, version: 2.0.0.1602
    [3C50:4294][2016-02-17T06:56:13]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{02a5d287-91f4-48bf-a650-792fe52eb86d}, resume: Active, restart initiated: No, disable resume: No
    [3EA0:0EF4][2016-02-17T06:56:13]w343: Prompt for source of package: directx9, payload: directx9, path: D:\Down\MediaPortal-2__origin__Weekly_20160207__2016-02-07--15-07\dxwebsetup.exe
    [3EA0:0EF4][2016-02-17T06:56:13]i338: Acquiring package: directx9, payload: directx9, download from: http://download.microsoft.com/download/1/7/1/1718CCC4-6315-4D8E-9543-8E28A4E18C4C/dxwebsetup.exe
    [3C50:4418][2016-02-17T06:56:15]i305: Verified acquired payload: directx9 at path: C:\ProgramData\Package Cache\.unverified\directx9, moving to: C:\ProgramData\Package Cache\3c8243734cf43dd7bb2332ba05b58ccacfa4377c\dxwebsetup.exe.
    [3EA0:0EF4][2016-02-17T06:56:15]i336: Acquiring container: WixAttachedContainer, copy from: D:\Down\MediaPortal-2__origin__Weekly_20160207__2016-02-07--15-07\MP2-Setup.exe
    [3EA0:0EF4][2016-02-17T06:56:15]i000: Setting string variable 'WixBundleLastUsedSource' to value 'D:\Down\MediaPortal-2__origin__Weekly_20160207__2016-02-07--15-07\'
    [3C50:4418][2016-02-17T06:56:15]i305: Verified acquired payload: MainPackage at path: C:\ProgramData\Package Cache\.unverified\MainPackage, moving to: C:\ProgramData\Package Cache\{BE8DB5A9-085F-4984-AC3F-B1AA647BE80D}v2.0.0.1602\MP2-Setup.msi.
    [3C50:4294][2016-02-17T06:56:15]i301: Applying execute package: directx9, action: Install, path: C:\ProgramData\Package Cache\3c8243734cf43dd7bb2332ba05b58ccacfa4377c\dxwebsetup.exe, arguments: '"C:\ProgramData\Package Cache\3c8243734cf43dd7bb2332ba05b58ccacfa4377c\dxwebsetup.exe" /q'
    [3C50:4294][2016-02-17T06:56:16]e000: Error 0xfffffff7: Process returned error: 0xfffffff7
    [3C50:4294][2016-02-17T06:56:16]e000: Error 0xfffffff7: Failed to execute EXE package.
    [3EA0:47FC][2016-02-17T06:56:16]e000: Error 0xfffffff7: Failed to configure per-machine EXE package.
    [3EA0:47FC][2016-02-17T06:56:16]i319: Applied execute package: directx9, result: 0xfffffff7, restart: None
    [3EA0:47FC][2016-02-17T06:56:16]e000: Error 0xfffffff7: Failed to execute EXE package.
    [3C50:4294][2016-02-17T06:56:16]i351: Removing cached package: directx9, from path: C:\ProgramData\Package Cache\3c8243734cf43dd7bb2332ba05b58ccacfa4377c\
    [3C50:4294][2016-02-17T06:56:16]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{02a5d287-91f4-48bf-a650-792fe52eb86d}, resume: None, restart: None, disable resume: No
    [3C50:4294][2016-02-17T06:56:16]i330: Removed bundle dependency provider: {02a5d287-91f4-48bf-a650-792fe52eb86d}
    [3C50:4294][2016-02-17T06:56:16]i352: Removing cached bundle: {02a5d287-91f4-48bf-a650-792fe52eb86d}, from path: C:\ProgramData\Package Cache\{02a5d287-91f4-48bf-a650-792fe52eb86d}\
    [3C50:4294][2016-02-17T06:56:16]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{02a5d287-91f4-48bf-a650-792fe52eb86d}, resume: None, restart initiated: No, disable resume: No
    [3EA0:47FC][2016-02-17T06:56:17]i399: Apply complete, result: 0xfffffff7, restart: None, ba requested restart:  No
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,777
    7,127
    Home Country
    Germany Germany
    Country flag
    Files not found (I wonder if DX9 even really installed?)
    Yes, looks like the DX setup was not successful. Please try to download the full DX9 "offline" installer (not the small web setup with <1 MB) and try installation of DX9 again.
    Full installer
    Version:9.29.1974
    File Name:directx_Jun2010_redist.exe
    Date Published: 4/18/2011
    File Size:95.6 MB
     

    treason

    Portal Member
    January 6, 2007
    6
    2
    Files not found (I wonder if DX9 even really installed?)
    Yes, looks like the DX setup was not successful. Please try to download the full DX9 "offline" installer (not the small web setup with <1 MB) and try installation of DX9 again.
    Full installer
    Version:9.29.1974
    File Name:directx_Jun2010_redist.exe
    Date Published: 4/18/2011
    File Size:95.6 MB

    BOOM, spot on brother.

    FWIW, the web installer of directx9 says it completed, but actually doesn't.. the full DX9 redistributor does actually install.

    Once that installed, the regular installer (and the weekly) seemed to work.

    Thanks for the help!
     

    Users who are viewing this thread

    Similar threads

    Der DirectX-WebInstaller wird nicht richtig ausgeführt. Lade und installiere das DX9-Runtime separat (Link). Danach MP2 erneut installieren.
    Der DirectX-WebInstaller wird nicht richtig ausgeführt. Lade und installiere das DX9-Runtime separat (Link). Danach MP2 erneut...
    0xfffffff7 unbekannter Fehler log file:
    Replies
    1
    Views
    611
    got it, and it worked. Thanks!
    got it, and it worked. Thanks!
    MP1 installs and runs with no problem, But MP2 errors out - seems to exit at the Direct X9 install. System is a newer comp w/win...
    Replies
    3
    Views
    963
    • Locked
    Indeed. My concern was that neither 2.1.3 Pre-Release, nor 2.2 development currently result in a successful installation in this situation, and that people may preferentially view 2.1.3 as the current stable.
    Indeed. My concern was that neither 2.1.3 Pre-Release, nor 2.2 development currently result in a successful installation in this...
    Hello all, I would like to try MediaPortal 2, but have run into a show stopping installation bug. The installation fails with...
    Replies
    19
    Views
    3K
    Yes, @osre implemented the stop processes action via named pipes. Debugging on your system would be a bit tricky, as I would have to either write you all steps how to set a dev environment or do it remotely using team viewer. Providing a custom build would be better, but as you wrote you had/have issues with your OS, I would also...
    Yes, @osre implemented the stop processes action via named pipes. Debugging on your system would be a bit tricky, as I would have...
    I tried to install MediaPortal 2 onto my PC running Windows 7 Home Premium 64 bit. I received the error message:- I have...
    Replies
    59
    Views
    11K
    • Locked
    From my experience with five MP2.1 installation tasks: if you use the 'Mediaportal 2 Uninstall' entry from the Windows program menu there is still an entry in the 'Programs and Features' in system control panel. You need additionally to uninstall 'the rest' from there. But settings and data still stay on the system which is very...
    From my experience with five MP2.1 installation tasks: if you use the 'Mediaportal 2 Uninstall' entry from the Windows program menu...
    I have a working MP2 (Spring 2016) installation, and tried to install the MP2.1 preview. I opened the zip download (released on...
    Replies
    57
    Views
    6K
    Top Bottom