need to extract setup.exe

Home Forums Scripting General Scripting need to extract setup.exe

This topic contains 14 replies, has 4 voices, and was last updated by Avatar mla 3 years, 11 months ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • Avatar
    mla
    Participant
    #165211

    Hi,
    I need to get some drivers from Lenovo Packages.
    Most of the drivers were simply extracted from initial package (before actual install).
    But I have few that after running create Setup.exe that is not extractable anymore.

    I found this:
    Extract driver from any LENOVO package (exe)

    .exe /VERYSILENT /DIR= /Extract=”YES”

    I placed my setup.exe into c:DOsetup.exe

    along with .bat (corrected quotes from example):
    setup.exe /VERYSILENT /DIR=DO /Extract=”YES” pause
    When run .bat looks like it works. But then nothing placed in DO folder.

    What I am doing wrong?
    Thx.

    Avatar
    Ossian
    Moderator
    #190547

    Re: need to extract setup.exe

    Try a full path so /DIR=C:DO

    Also SETUP.EXE /? to see a full list of switches and options

    Avatar
    mla
    Participant
    #309825

    Re: need to extract setup.exe

    I run setup /? it shows :


    Broadcom 802.11 Network Adapter


    USAGE:
    Setup.exe /Option [Optional Parameter]
    EXAMPLE:
    Setup.exe /s [/f1″”] [/f2″”]
    Setup.exe /extract_all:”” NOTE: must exist.


    OK


    Created batch using the example, but it still not creates nothing in my c:DO (setup.exe is in the same directory)

    Setup.exe /extract_all:”c:DO”

    Avatar
    mla
    Participant
    #309826

    Re: need to extract setup.exe

    Ossian,
    I did exactly what you recommend before reading your advice.
    So I run it by HELP example. Probably, missing something…

    Avatar
    mla
    Participant
    #309827

    Re: need to extract setup.exe

    Bingo!

    I created a folder DO1 on Deskop and run this:

    Setup.exe /extract_all:”C:Usersma1DesktopDO1″

    It just couldn’t extract to C:…

    Avatar
    Ossian
    Moderator
    #190548

    Re: need to extract setup.exe

    OK, to test I downloaded the first driver package in the link you gave
    Saved file to E:DO
    created directory E:DODrivers
    Ran an Administrative CMD Prompt (Windows 8.0)
    Ran FILENAME.EXE /verysilent /dir=E:DODrivers /Extract=”YES”

    Content has been created in E:DODrivers – obviously I didn’t go further as they are not applicable to my OS

    Possible reasons:
    a) Admin CMD prompt
    b) Extract to different path
    (Just tested again and it isn’t B)

    Just a thought – when you ran SETUP.EXE, was that the filename as the extraction includes a file called setup.exe so extracting to the same directory would fail
    Also I didn’t do it in a bat file

    Avatar
    mla
    Participant
    #309828

    Re: need to extract setup.exe

    mine is 8.1
    used Admin CMD
    Tried DO1 folder on c: as a destination.

    Didn’t work.

    Changing Path to c:..Desktop worked fine.

    Thanks for your input!

    Avatar
    Ossian
    Moderator
    #190549

    Re: need to extract setup.exe

    Sounds as if it is permissions on the file system then

    Avatar
    biggles77
    Spectator
    #213704

    Re: need to extract setup.exe

    If you have a lot of Lenovo drivers to download often then the Lenovo Update Retriever may be for you. Has a nifty driver Export function in it as well.

    Avatar
    mla
    Participant
    #309829

    I need drivers to be extracted for importation into MDT (Microsoft Deployment Toolkit)

    Avatar
    biggles77
    Spectator
    #213739

    Did you try the Lenovo Update Retriever tool?

    Extraction syntax:
    [SIZE=14px]xxxxxxxx.exe /VERYSILENT /DIR=%PACKAGEPATH%”=YES”[/SIZE][/CODE]
    [B]xxxxxxxx.exe[/B] is of course the downloaded driver direct from Lenovo[CODE][SIZE=14px]xxxxxxxx.exe /VERYSILENT /DIR=%PACKAGEPATH%”=YES”[/SIZE][/CODE]
    xxxxxxxx.exe is of course the downloaded driver direct from Lenovo

    Avatar
    wullieb1
    Moderator
    #245178
    mla;n489515 wrote:
    I need drivers to be extracted for importation into MDT (Microsoft Deployment Toolkit)

    Why didn’t you say so!!

    http://support.lenovo.com/us/en/documents/ht074984

    Avatar
    biggles77
    Spectator
    #213740

    Oh cheese and whiskers. Forgot about that. :cry:

    Avatar
    Ossian
    Moderator
    #190595

    Cheese and Whiskers? The mind boggles! :twisted:

    Avatar
    mla
    Participant
    #309831

    Update retriever didn’t help (and there were blogs on Lenovo forum about some particular drivers).
    I found a right on in SCCM package for the model needed.

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.