Giter VIP home page Giter VIP logo

converter's Introduction

UUP converter

Description

A basic UUP converter aimed at Linux and macOS users who don't have access to any Windows machine, but want or need to create an ISO image for latest Windows Insider version downloaded from UUP dump.

For obvious reasons this script will never support integration of Cumulative Updates to created images.

Usage

./convert.sh [compression] [uups_directory] [create_virtual_editions]
compression options:
  • wim - standard wim compression (/Compress:max in DISM) (default)
  • esd - solid esd compression (/Compress:recovery in DISM)
create_virtual_editions options:
  • 0 - do not create virtual editions (default)
  • 1 - create virtual edtitions

Usage examples

  • ./convert.sh - starts the conversion using files from UUPs directory and creates an ISO image with install.wim

  • ./convert.sh esd - starts the conversion using files from UUPs directory and creates an ISO image with install.esd

  • ./convert.sh wim MyUUP - starts the conversion using files from MyUUP directory and creates an ISO image with install.wim

  • ./convert.sh wim MyUUP 1 - starts the conversion using files from MyUUP directory, creates virtual editions and creates an ISO image with install.wim

Virtual editions

Since version 0.5.0 this script supports creation of virtual editions. To run creation of all virtial editions simply use create_virtual_editions switch in command line. If you want to customize which editions will be created when this switch is set, please use VIRTUAL_EDITIONS_LIST in configuration file.

Virtual editions creation can be only done when convert_ve_plugin is present in the same directory as converter.

Thanks to abbodi1406 for providing informations which helped with creating this option.

Configuration file

Configuration of advanced script options can be modified using the file convert_config_linux (on Linux) or convert_config_macos (on macOS).

Configuration options
VIRTUAL_EDITIONS_LIST='space delimited editions sequence'
Configuration options explanation
  • VIRTUAL_EDITIONS_LIST - configures which editions will be created when create_virtual_editions is enabled.

Requirements

This script uses the following commands to do its work:

  • aria2c - to download the required files
  • cabextract - to extract cabs
  • wimlib-imagex - to export files from metadata ESD
  • chntpw - to modify registry of first index of boot.wim
  • genisoimage or mkisofs - to create ISO image
Linux

If you use Debian or Ubuntu based distribution you can quickly install these using the following command:

sudo apt install cabextract wimtools chntpw genisoimage

If you use Arch Linux you can also install these using the following command:

sudo pacman -S cabextract wimlib chntpw cdrtools

If you use Fedora you can also install these using the following command:

sudo dnf install cabextract wimlib-utils chntpw genisoimage

If you use any other distribution, then you will need to check its repository for packages needed to run this script.

macOS

macOS requires Homebrew to install the prerequisite software. After Homebrew was installed, you can install the requirements using:

brew tap sidneys/homebrew
brew install aria2 cabextract wimlib cdrtools sidneys/homebrew/chntpw

converter's People

Contributors

abbodi1406 avatar awuctl avatar crash avatar eraseyourknees avatar gluckzhang avatar lesydimitri avatar sidneys avatar supdrewin avatar thelastzombie avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

weingartens

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.