Jump to content

- - - - -

WinBuilder 2013 WIM extract syntax

  • Please log in to reply
No replies to this topic

#1 pscEx


    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
    European Union

Posted 18 August 2013 - 10:08 AM

please, see introducing post http://reboot.pro/to...er-2013-syntax/


public WimExtractorEx(String imageFile, int imageIndex)

public void setLog(Log result)

public void setSourceLanguage(String lang)

public boolean extractFile(String what)
public boolean extractFile(String what, String where)

public boolean extractMui(String what)

public void extractDir(String what)
public void extractDir(String what, String pattern)

public void release()


extractDir is recursive.

wildcards * and ? following windows rules are accepted.

path names may have the windows style backslash as separator (take care on escaping for BeanShell with a second backslash) or the unix style slash.

    WimExtractorEx archiveInstall = new WimExtractorEx(Core.sys.source.getFileWimInstall().getAbsolutePath(), wimIndexInstall);

    archiveInstall.extractDir("Windows\\winsxs\\x86_microsoft-windows-ie-ieshims_31bf3856ad364e35_8.0." + source.build + "." + source.spbuild + "_none_*");

// Not sencefull, but to demonstrate wildcard use:
// End wildcard examples


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users