forked from ChrisTitusTech/winutil
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test 2024 03 21 (ChrisTitusTech#1748)
* Fix unattended answer file woes for MicroWin (ChrisTitusTech#1724) * Update applications.json Fake app add made by linux fanboy * Compile Winutil * Update files - Add detections for whether the image to be processed by MicroWin is Windows 10 or later - Add procedure to clear the indexes ComboBox (WinForms term) every time an ISO is specified * Update screen-install.png (ChrisTitusTech#1464) * Compile Winutil * applications.jsonAdded Foxit Reader app and updated Foxit Editor to show the difference. * applications.json Added Foxit Reader app and updated Foxit Editor to show the difference. * Compile Winutil * Fix Broken Link and add syncthingtray (ChrisTitusTech#1508) * Compile Winutil * Remove Nano-Removed bugged Nano package for now * Remove Nano -Removed bugged Nano package for now * Compile Winutil * tweaks and fetures tabs clean up automation from inputXML.xaml * tweaks and fetures tabs clean up automation from inputXML.xaml * fixed some commas in tweaks.json file * recompile * Update tweaks.json * Compile Winutil * Choosing Alternate Scartch Path and Busy Messages * Choosing Alternate Scartch Path and Busy Messages * Change Selected index to be pro * Compile Winutil * Improve detection for Professional editions * Update files Updated the Test-CompatibleImage function to compare against a desired version, which is useful for determining if the Specialize pass needs to be added to the unattended answer file * Automatic conversion of ESD files Automatically convert the install.esd file from installation media into a WIM file that can be mounted, then delete the ESD file * pull workflow github actions (ChrisTitusTech#1716) * Update close-old-issues.yaml * Compile Winutil * Update close-old-issues.yaml * Update close-old-issues.yaml * Update close-old-issues.yaml * Compile Winutil --------- Co-authored-by: ChrisTitusTech <[email protected]> * Update files Force unattended answer file to use UTF-8 encoding --------- Co-authored-by: Chris Titus <[email protected]> Co-authored-by: ChrisTitusTech <[email protected]> Co-authored-by: Samq64 <[email protected]> Co-authored-by: Chris Titus <[email protected]> Co-authored-by: LoopTJ <[email protected]> Co-authored-by: Roc Wang <[email protected]> Co-authored-by: Jes Herring <[email protected]> Co-authored-by: ogfrm <[email protected]> Co-authored-by: LeeDowA <[email protected]> * add tightvnc to address issue ChrisTitusTech#1718 (ChrisTitusTech#1721) * Compile Winutil * Add 'FireFox ESR' and 'lightshot' Apps to 'application.json' File (ChrisTitusTech#1720) * Add 'FireFox ESR' and 'lightshot' Apps to 'application.json' File * Update 'FireFox ESR' description * Compile Winutil * Fix typo in the Description of 'Get-Oscdimg.ps1' private function (ChrisTitusTech#1743) * Compile Winutil * IPv6 update (ChrisTitusTech#1739) * Compile Winutil * Change ipv6 disable method * Compile Winutil * IPv6 + Teredo * Compile Winutil * IPv6 registry * Compile Winutil * Update Winutil * Compile Winutil * Fix to original command * Compile Winutil --------- Co-authored-by: Joanty24 <[email protected]> Co-authored-by: Chris Titus <[email protected]> * Compile Winutil * Implement New Winget Install Method (ChrisTitusTech#1738) - Removed Get-LatestHash from Install-WinUtilWinget.ps1, replaced by Get-WinUtilWingetLatest.ps1. - Added new Winget Install method in case of choco failing to install. Environment refresh line included. - Get-WinUtilWingetPrerequisites added: Downloads the prerequisites required for the latest version of Winget. - Get-WinUtilWingetLatest added: Uses the GitHub API to find the latest version of Winget and download it along with the accompanied License1.xml file. Fixes: - Removed --scope=machine from winget install command in Install-WinUtilProgramWinget. Non-UWP Apps fail to install if scope is set to machine. Error code: 0x80070005. More information commented in file. * Compile Winutil * Change order for easier launch in README and fix outdated info (ChrisTitusTech#1732) * Update README.md * Update README.md --------- Co-authored-by: NewCodingAI <[email protected]> * Upgrade Fix in ChrisTitusTech#1181 (ChrisTitusTech#1730) * Compile Winutil * Fixed Ventoy drive copy typo and began conversion of DISM commands into DISM cmdlets (ChrisTitusTech#1727) * Fixed Ventoy drive copy typo * DISM cmdlet Update (Part 1) Began replacing basic DISM commands with cmdlets from the DISM module. This change only affects the mount, unmount, and export operations. All other operations still use DISM --------- Co-authored-by: Chris Titus <[email protected]> * Compile Winutil --------- Co-authored-by: CodingWonders <[email protected]> Co-authored-by: ChrisTitusTech <[email protected]> Co-authored-by: Samq64 <[email protected]> Co-authored-by: LoopTJ <[email protected]> Co-authored-by: Roc Wang <[email protected]> Co-authored-by: Jes Herring <[email protected]> Co-authored-by: ogfrm <[email protected]> Co-authored-by: LeeDowA <[email protected]> Co-authored-by: Peter Gallwas <[email protected]> Co-authored-by: Mr.k <[email protected]> Co-authored-by: Joan Solana Raduà <[email protected]> Co-authored-by: Joanty24 <[email protected]> Co-authored-by: Rux <[email protected]> Co-authored-by: ModernTTY <[email protected]> Co-authored-by: NewCodingAI <[email protected]> Co-authored-by: Justawildwolf <[email protected]>
- Loading branch information
1 parent
5cd75c0
commit 54a5752
Showing
13 changed files
with
336 additions
and
89 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
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,23 @@ | ||
function Get-WinUtilWingetLatest { | ||
<# | ||
.SYNOPSIS | ||
Uses GitHub API to check for the latest release of Winget. | ||
.DESCRIPTION | ||
This function grabs the latest version of Winget and returns the download path to Install-WinUtilWinget for installation. | ||
#> | ||
|
||
Try{ | ||
# Grabs the latest release of Winget from the Github API for the install process. | ||
$response = Invoke-RestMethod -Uri "https://api.github.com/repos/microsoft/Winget-cli/releases/latest" -Method Get -ErrorAction Stop | ||
$latestVersion = $response.tag_name #Stores version number of latest release. | ||
$licenseWingetUrl = $response.assets.browser_download_url[0] #Index value for License file. | ||
Write-Host "Latest Version:`t$($latestVersion)`n" | ||
$assetUrl = $response.assets.browser_download_url[2] #Index value for download URL. | ||
Invoke-WebRequest -Uri $licenseWingetUrl -OutFile $ENV:TEMP\License1.xml | ||
# The only pain is that the msixbundle for winget-cli is 246MB. In some situations this can take a bit, with slower connections. | ||
Invoke-WebRequest -Uri $assetUrl -OutFile $ENV:TEMP\Microsoft.DesktopAppInstaller.msixbundle | ||
} | ||
Catch{ | ||
throw [WingetFailedInstall]::new('Failed to get latest Winget release and license') | ||
} | ||
} |
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,29 @@ | ||
function Get-WinUtilWingetPrerequisites { | ||
<# | ||
.SYNOPSIS | ||
Downloads the Winget Prereqs. | ||
.DESCRIPTION | ||
Downloads Prereqs for Winget. Version numbers are coded as variables and can be updated as uncommonly as Microsoft updates the prereqs. | ||
#> | ||
|
||
# I don't know of a way to detect the prereqs automatically, so if someone has a better way of defining these, that would be great. | ||
# Microsoft.VCLibs version rarely changes, but for future compatibility I made it a variable. | ||
$versionVCLibs = "14.00" | ||
$fileVCLibs = "https://aka.ms/Microsoft.VCLibs.x64.${versionVCLibs}.Desktop.appx" | ||
# Write-Host "$fileVCLibs" | ||
# Microsoft.UI.Xaml version changed recently, so I made the version numbers variables. | ||
$versionUIXamlMinor = "2.8" | ||
$versionUIXamlPatch = "2.8.6" | ||
$fileUIXaml = "https://github.com/microsoft/microsoft-ui-xaml/releases/download/v${versionUIXamlPatch}/Microsoft.UI.Xaml.${versionUIXamlMinor}.x64.appx" | ||
# Write-Host "$fileUIXaml" | ||
|
||
Try{ | ||
Write-Host "Downloading Microsoft.VCLibs Dependency..." | ||
Invoke-WebRequest -Uri $fileVCLibs -OutFile $ENV:TEMP\Microsoft.VCLibs.x64.Desktop.appx | ||
Write-Host "Downloading Microsoft.UI.Xaml Dependency...`n" | ||
Invoke-WebRequest -Uri $fileUIXaml -OutFile $ENV:TEMP\Microsoft.UI.Xaml.x64.appx | ||
} | ||
Catch{ | ||
throw [WingetFailedInstall]::new('Failed to install prerequsites') | ||
} | ||
} |
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
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
Oops, something went wrong.