MSEndpointMgr / ConfigMgr

Microsoft Endpoint Configuration Manager scripts and tools
637 stars 281 forks source link

Lenovo X1 Carbon VII - EXE will not extract, due to command line - Import fails #208

Open Jtracy-ItPro opened 4 years ago

Jtracy-ItPro commented 4 years ago

Driver package fails to import. The EXE download worked, but the "extract" command line didn't. So the automation comes to a halt, and it stops with Warning/Errors: Yes

Somehow the destination folder gets made, but the EXE quits. I don't know which came first.

When you run the same command manually, it quits. This is an Innosetup log file for one of the downloads, I put the Log= parameter in it:

2020-02-13 14:03:15.620 Log opened. (Time zone: UTC-08:00) 2020-02-13 14:03:15.620 Setup version: Inno Setup version 5.5.9 (u) 2020-02-13 14:03:15.620 Original Setup EXE: C:\ScConfigMgr-Downloads\Lenovo\ThinkPad X1 Carbon 7th\Driver Cab\tp_x1carbon_mt20qd-20qe-20r1-20r2-x1yoga_mt20qf-20qg-20sa-20sb_w1064_1903_202001.exe 2020-02-13 14:03:15.620 Setup command line: /SL5="$101802,666776173,180224,C:\ScConfigMgr-Downloads\Lenovo\ThinkPad X1 Carbon 7th\Driver Cab\tp_x1carbon_mt20qd-20qe-20r1-20r2-x1yoga_mt20qf-20qg-20sa-20sb_w1064_1903_202001.exe" /VERYSILENT /DIR="C:\ScConfigMgr-Downloads\Lenovo\ThinkPad X1 Carbon 7th\Windows10-x64-202001" /Extract="Yes" /log=.\123.txt 2020-02-13 14:03:15.620 Windows version: 10.0.17763 (NT platform: Yes) 2020-02-13 14:03:15.620 64-bit Windows: Yes 2020-02-13 14:03:15.620 Processor architecture: x64 2020-02-13 14:03:15.620 User privileges: Administrative 2020-02-13 14:03:15.628 64-bit install mode: No 2020-02-13 14:03:15.630 Created temporary directory: C:\WINDOWS\TempInst\is-28UU0.tmp 2020-02-13 14:03:15.715 Failed to proceed to next wizard page; aborting. 2020-02-13 14:03:15.715 Got EAbort exception. 2020-02-13 14:03:15.715 Deinitializing Setup. 2020-02-13 14:03:15.717 Log closed.

If you delete the destination folder and run the command again, it does work. But you can't do that automatically with the Automation tool.

<![LOG[======== Lenovo ConfigMgr ThinkPad X1 Carbon 7th DRIVER PROCESSING STARTED ========]LOG]!> <![LOG[ConfigMgr: Retrieving driver pack site For Lenovo ThinkPad X1 Carbon 7th]LOG]!> <![LOG[ConfigMgr: URL found: https://support.lenovo.com/downloads/ds540208]LOG]!> <![LOG[ConfigMgr: Latest driver revision found - 201912]LOG]!> <![LOG[ConfigMgr: Checking ConfigMgr for driver packages matching - Drivers - Lenovo ThinkPad X1 Carbon 7th - Windows 10 1809 x64]LOG]!> <![LOG[ConfigMgr: New driver package detected - Processing]LOG]!> <![LOG[ConfigMgr: Creating ThinkPad X1 Carbon 7th download folder]LOG]!> <![LOG[ConfigMgr: Downloading tp_x1carbon_mt20qd-20qe-x1yoga_mt20qf-20qg_w1064_1809_201912.exe]LOG]!> <![LOG[ConfigMgr: Downloading from URL: https://download.lenovo.com/pccbbs/mobiles/tp_x1carbon_mt20qd-20qe-x1yoga_mt20qf-20qg_w1064_1809_201912.exe]LOG]!> <![LOG[BitsTransfer: Checking BITS background job]LOG]!> <![LOG[BitsTransfer: Downloaded 24 MB of 624 MB (4%). Next update in 30 seconds.]LOG]!> <![LOG[BitsTransfer: Downloaded 102 MB of 624 MB (16%). Next update in 30 seconds.]LOG]!> <![LOG[BitsTransfer: Downloaded 182 MB of 624 MB (29%). Next update in 30 seconds.]LOG]!> <![LOG[BitsTransfer: Downloaded 256 MB of 624 MB (41%). Next update in 30 seconds.]LOG]!> <![LOG[BitsTransfer: Downloaded 320 MB of 624 MB (51%). Next update in 30 seconds.]LOG]!> <![LOG[BitsTransfer: Downloaded 382 MB of 624 MB (61%). Next update in 30 seconds.]LOG]!> <![LOG[BitsTransfer: Downloaded 458 MB of 624 MB (73%). Next update in 30 seconds.]LOG]!> <![LOG[BitsTransfer: Downloaded 535 MB of 624 MB (86%). Next update in 30 seconds.]LOG]!> <![LOG[BitsTransfer: Downloaded 606 MB of 624 MB (97%). Next update in 30 seconds.]LOG]!> <![LOG[ConfigMgr: Reported file byte size size: 654123120]LOG]!> <![LOG[ConfigMgr: Downloaded file byte size: 654123120]LOG]!> <![LOG[ConfigMgr: tp_x1carbon_mt20qd-20qe-x1yoga_mt20qf-20qg_w1064_1809_201912.exe - File exists processing driver package]LOG]!> <![LOG[ConfigMgr: tp_x1carbon_mt20qd-20qe-x1yoga_mt20qf-20qg_w1064_1809_201912.exe - File size verified]LOG]!> <![LOG[==================== ConfigMgr DRIVER EXTRACT ====================]LOG]!> <![LOG[ConfigMgr: Expanding driver CAB source file: tp_x1carbon_mt20qd-20qe-x1yoga_mt20qf-20qg_w1064_1809_201912.exe]LOG]!> <![LOG[ConfigMgr: Driver CAB destination directory: C:\ScConfigMgr-Downloads\Lenovo\ThinkPad X1 Carbon 7th\Windows10-1809-x64-201912]LOG]!> <![LOG[ConfigMgr: Using Lenovo silent switches: /VERYSILENT /DIR="C:\ScConfigMgr-Downloads\Lenovo\ThinkPad X1 Carbon 7th\Windows10-1809-x64-201912" /Extract="Yes"]LOG]!> <![LOG[ConfigMgr: Extracting Lenovo drivers to C:\ScConfigMgr-Downloads\Lenovo\ThinkPad X1 Carbon 7th\Windows10-1809-x64-201912]LOG]!> <![LOG[ConfigMgr: Waiting for extract process (Process: tp_x1carbon_mt20qd-20qe-x1yoga_mt20qf-20qg_w1064_1809_201912) to complete.. Next check in 30 seconds]LOG]!> <![LOG[ConfigMgr: Checking for extracted drivers]LOG]!> <![LOG[ConfigMgr: Import into is ConfigMgr - Standard Pkg]LOG]!> <![LOG[ConfigMgr: Driver count in path C:\ScConfigMgr-Downloads\Lenovo\ThinkPad X1 Carbon 7th\Windows10-1809-x64-201912 - 0 ]LOG]!> <![LOG[======== DRIVER EXTRACT ISSUE DETECTED ========]LOG]!> <![LOG[ConfigMgr: Issues occurred while reading extracted drivers]LOG]!> <![LOG[ConfigMgr: Driver count in path C:\ScConfigMgr-Downloads\Lenovo\ThinkPad X1 Carbon 7th\Windows10-1809-x64-201912 - 0 ]LOG]!> <![LOG[======== Lenovo ConfigMgr ThinkPad X1 Carbon 7th DRIVER PROCESSING FINISHED ========]LOG]!> <![LOG[Info: Remaining models to process: 0]LOG]!> <![LOG[======== FINISHED PROCESSING ========]LOG]!>

Jtracy-ItPro commented 4 years ago

sadddadsadadsdasds