Jump to content

- - - - -

PE 3.x Package Installer Script

  • Please log in to reply
2 replies to this topic

#1 FerrariGuy



  • Members
  • 50 posts
  • Location:South Carolina
    United States

Posted 05 September 2011 - 10:01 AM

Posted Image

File Name: PE 3.x Package Installer Script
File Submitter: FerrariGuy
File Submitted: 24 Aug 2011
File Category: System scripts

Originally posted here http://reboot.pro/15297/

This is a script that makes use of DISM to install up to 6 installable packages in your WinPE project. It has been tested working in WinPE7_SE x64 and x86 v3.0 and v3.1 (as long as the Vista wimflt.inf has not been installed.) (i.e. a system on which DISM works.)

I use the script to ensure that the HTA, MDAC, and other support packages are installed in my version of PE so that certain scripts and windows deployment tools will properly function in my environment. I've left these lines in the script as examples. There's no reason why it cannot be used to istall anything viable to install via the "/Add-Package" command though. Note that %BootSrc% needs to be writable.

Note if you click "Pause after each driver package ..." you'll have to manually close each command window to allow the script to continue.

Click here to download this file
  • Nuno Brito likes this

#2 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10562 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
    European Union

Posted 26 November 2011 - 03:23 PM

Hi FerraryGuy,

This script is very handy. Would it be possible to automate the finding of packages?

For example, one only needs to define the path to the WAIK cab's and then this folder value is used for each of the packages. This would be simpler than manually going through each package and repeat the path portion. This is just a minor improvement, I don't mind configuring, just thinking about other end users.

Thank you for sharing.


#3 ChrisR


    Silver Member

  • .script developer
  • 784 posts

Posted 12 May 2012 - 10:34 AM

For my needs, I modified the script by using dism x86/x64 from win7 source. I just use it for the development.
0-zPackages Installer.script

For developpers, I added a checkbox for messages (breakpoint) at the beginning and the end, with hives loaded.
to capture the changes, I use Regshot dor the registry and for files dir /A:-D /B /S BootsrcFolder*.* >files_list.txt.

%BootSrc% must be mounted in R/W which is not the case in most project.
If you wanted to use it in Win7PE_SE you must change /mount by /mountrw in Preconfig script and then choose Full file copy.
It seems to work better with driver Win7 Wimmount driver for mount(rw) boot.wim.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users