-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DISMTools 0.6 Preview 4 (Beta 2) (#175)
* Update assembly information * DISMTools Nightly Installer * [PE Helper] Improvements for 0.6 Preview 4 (#173) * [PE Helper] Major improvements - Reduced the marquee animation speed to 25ms, making it faster - Replaced tabs with spaces for a more consistent indentation. Pre-processing from CTT's Windows Utility (see licenses!) * DISMTools Nightly Installer * Update Extensibility Suite Make OSCDIMG not appear in a new window (keep in parity with the rest of the PE Helper extenal process callers) * DISMTools Nightly Installer --------- Co-authored-by: CodingWonders <[email protected]> * DISMTools Nightly Installer * [Requirement] Require .NET 4.8 * DISMTools Nightly Installer * [AppEvent] Stop detector temporarily * DISMTools Nightly Installer * [AppEvent] Reinstate SizeChanged event * DISMTools Nightly Installer * [Tools] New Registry Hive Control Panel * DISMTools Nightly Installer * [AppEvent] Restart detector a second time * DISMTools Nightly Installer * [PE Helper] Add README to ISOs * DISMTools Nightly Installer * [Info Saver] Use UTF-8 encoding for HTML reports * DISMTools Nightly Installer * [ISO Creator] Improve reliability of API * DISMTools Nightly Installer * [Info Saver] Open external links in default web browser * DISMTools Nightly Installer * [AppEvent] Delay image detector restart * DISMTools Nightly Installer * [Tools] Add links for languages and FoDs ISO download * DISMTools Nightly Installer * [AppEvent] Improve reporting * DISMTools Nightly Installer * [REL] Update What's New section and Update Info files * DISMTools Nightly Installer --------- Co-authored-by: CodingWonders <[email protected]>
- Loading branch information
1 parent
7ff46b7
commit cd93ec1
Showing
23 changed files
with
3,791 additions
and
1,169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# This is a heavily modified compilation script for the Preinstallation Environment Helper, originally from the Windows Utility (WinUtil) | ||
# | ||
# Original license (affects both this script and the pre-processor): | ||
# | ||
# MIT License | ||
# | ||
# Copyright (c) 2022 CT Tech Group LLC | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in all | ||
# copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
# SOFTWARE. | ||
|
||
$workingdir = $PSScriptRoot | ||
|
||
Push-Location | ||
Set-Location $workingdir | ||
|
||
# Variable to sync between runspaces | ||
$sync = [Hashtable]::Synchronized(@{}) | ||
$sync.PSScriptRoot = $workingdir | ||
$sync.configs = @{} | ||
|
||
function Update-Progress { | ||
param ( | ||
[Parameter(Mandatory, position=0)] | ||
[string]$StatusMessage, | ||
|
||
[Parameter(Mandatory, position=1)] | ||
[ValidateRange(0,100)] | ||
[int]$Percent, | ||
|
||
[Parameter(position=2)] | ||
[string]$Activity = "Compiling" | ||
) | ||
|
||
Write-Progress -Activity $Activity -Status $StatusMessage -PercentComplete $Percent | ||
} | ||
|
||
Update-Progress "Pre-req: Running Preprocessor..." 0 | ||
|
||
# Dot source the 'Invoke-Preprocessing' Function from 'tools/Invoke-Preprocessing.ps1' Script | ||
$preprocessingFilePath = ".\tools\Invoke-Preprocessing.ps1" | ||
. $preprocessingFilePath | ||
|
||
$excludedFiles = @('.\tools\DIM\', "$preprocessingFilePath", '*.png', '*.exe') | ||
$msg = "Pre-req: Code Formatting" | ||
Invoke-Preprocessing -WorkingDir "$workingdir" -ExcludedFiles $excludedFiles -ProgressStatusMessage $msg -ThrowExceptionOnEmptyFilesList |
Oops, something went wrong.