Cannot install on headless server (1 Viewer)

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    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,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    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,902
    770
    66
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    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

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    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

    Top Bottom