From 958cea39596174a55c811d6ef12311e8fec5ff6d Mon Sep 17 00:00:00 2001 From: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Date: Sat, 23 Mar 2024 22:34:20 +0100 Subject: [PATCH 1/7] Fix unattended answer file woes for MicroWin (#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 (#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 (#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 (#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 * Update files Force unattended answer file to use UTF-8 encoding --------- Co-authored-by: Chris Titus Co-authored-by: ChrisTitusTech Co-authored-by: Samq64 <81489795+Samq64@users.noreply.github.com> Co-authored-by: Chris Titus Co-authored-by: LoopTJ <34551682+LoopTJ@users.noreply.github.com> Co-authored-by: Roc Wang Co-authored-by: Jes Herring <123990927+jesjess243@users.noreply.github.com> Co-authored-by: ogfrm <96927197+ogfrm@users.noreply.github.com> Co-authored-by: LeeDowA <157072913+LeeDowA@users.noreply.github.com> --- functions/private/Invoke-MicroWin-Helper.ps1 | 2 +- winutil.ps1 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/private/Invoke-MicroWin-Helper.ps1 b/functions/private/Invoke-MicroWin-Helper.ps1 index 38544a9f..58acf581 100644 --- a/functions/private/Invoke-MicroWin-Helper.ps1 +++ b/functions/private/Invoke-MicroWin-Helper.ps1 @@ -377,7 +377,7 @@ function New-Unattend { # Replace the placeholder text with the Specialize pass $unattend = $unattend.Replace("<#REPLACEME#>", $specPass).Trim() } - $unattend | Out-File -FilePath "$env:temp\unattend.xml" -Force + $unattend | Out-File -FilePath "$env:temp\unattend.xml" -Force -Encoding utf8 } function New-CheckInstall { diff --git a/winutil.ps1 b/winutil.ps1 index 52c2a583..86a4b8d5 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -10,7 +10,7 @@ Author : Chris Titus @christitustech Runspace Author: @DeveloperDurp GitHub : https://github.com/ChrisTitusTech - Version : 24.03.21 + Version : 24.03.23 #> param ( [switch]$Debug, @@ -47,7 +47,7 @@ Add-Type -AssemblyName System.Windows.Forms # Variable to sync between runspaces $sync = [Hashtable]::Synchronized(@{}) $sync.PSScriptRoot = $PSScriptRoot -$sync.version = "24.03.21" +$sync.version = "24.03.23" $sync.configs = @{} $sync.ProcessRunning = $false @@ -1110,7 +1110,7 @@ function New-Unattend { # Replace the placeholder text with the Specialize pass $unattend = $unattend.Replace("<#REPLACEME#>", $specPass).Trim() } - $unattend | Out-File -FilePath "$env:temp\unattend.xml" -Force + $unattend | Out-File -FilePath "$env:temp\unattend.xml" -Force -Encoding utf8 } function New-CheckInstall { From bf4be80d3f2e2f0d5cc749a82ba0f8ce42c76689 Mon Sep 17 00:00:00 2001 From: Peter Gallwas Date: Sun, 24 Mar 2024 10:35:39 +1300 Subject: [PATCH 2/7] add tightvnc to address issue #1718 (#1721) --- config/applications.json | 8 ++++++++ xaml/inputApp.xaml | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/config/applications.json b/config/applications.json index d3f4fd18..c0b2c37d 100755 --- a/config/applications.json +++ b/config/applications.json @@ -2270,5 +2270,13 @@ "description": "pyenv for Windows is a simple python version management tool. It lets you easily switch between multiple versions of Python.", "link": "https://pyenv-win.github.io/pyenv-win/", "winget": "na" + }, + "WPFInstalltightvnc": { + "category": "Utilities", + "choco": "TightVNC", + "content": "TightVNC", + "description": "TightVNC is a free and Open Source remote desktop software that lets you access and control a computer over the network. With its intuitive interface, you can interact with the remote screen as if you were sitting in front of it. You can open files, launch applications, and perform other actions on the remote desktop almost as if you were physically there", + "link": "https://www.tightvnc.com/", + "winget": "GlavSoft.TightVNC" } } diff --git a/xaml/inputApp.xaml b/xaml/inputApp.xaml index ce07ac47..5c532c19 100644 --- a/xaml/inputApp.xaml +++ b/xaml/inputApp.xaml @@ -718,7 +718,7 @@ - + @@ -847,6 +847,9 @@ + + + From 28936a4b6e153fa8621507215b3a68092905ec30 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Sat, 23 Mar 2024 21:35:58 +0000 Subject: [PATCH 3/7] Compile Winutil --- winutil.ps1 | 11 +++++++++++ xaml/inputApp.xaml | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/winutil.ps1 b/winutil.ps1 index 86a4b8d5..177a1bf4 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -6953,6 +6953,14 @@ $sync.configs.applications = '{ "description": "pyenv for Windows is a simple python version management tool. It lets you easily switch between multiple versions of Python.", "link": "https://pyenv-win.github.io/pyenv-win/", "winget": "na" + }, + "WPFInstalltightvnc": { + "category": "Utilities", + "choco": "TightVNC", + "content": "TightVNC", + "description": "TightVNC is a free and Open Source remote desktop software that lets you access and control a computer over the network. With its intuitive interface, you can interact with the remote screen as if you were sitting in front of it. You can open files, launch applications, and perform other actions on the remote desktop almost as if you were physically there", + "link": "https://www.tightvnc.com/", + "winget": "GlavSoft.TightVNC" } }' | convertfrom-json $sync.configs.dns = '{ @@ -11593,6 +11601,9 @@ $inputXML = ' + + + diff --git a/xaml/inputApp.xaml b/xaml/inputApp.xaml index 5c532c19..b6b26f8d 100644 --- a/xaml/inputApp.xaml +++ b/xaml/inputApp.xaml @@ -718,7 +718,7 @@ - + From 6edbb0a3ebf95ab11ffac3db2fdce072ea9d6267 Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Sun, 24 Mar 2024 00:37:00 +0300 Subject: [PATCH 4/7] Add 'FireFox ESR' and 'lightshot' Apps to 'application.json' File (#1720) * Add 'FireFox ESR' and 'lightshot' Apps to 'application.json' File * Update 'FireFox ESR' description --- config/applications.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/config/applications.json b/config/applications.json index c0b2c37d..b0cd217b 100755 --- a/config/applications.json +++ b/config/applications.json @@ -535,6 +535,14 @@ "link": "https://www.mozilla.org/en-US/firefox/new/", "winget": "Mozilla.Firefox" }, + "WPFInstallfirefoxesr": { + "category": "Browsers", + "choco": "FirefoxESR", + "content": "Firefox ESR", + "description": "Mozilla Firefox is an open-source web browser known for its customization options, privacy features, and extensions. Firefox ESR (Extended Support Release) receives major updates every 42 weeks with minor updates such as crash fixes, security fixes and policy updates as needed, but at least every four weeks.", + "link": "https://www.mozilla.org/en-US/firefox/new/", + "winget": "Mozilla.Firefox.ESR" + }, "WPFInstallflameshot": { "category": "Multimedia Tools", "choco": "flameshot", @@ -543,6 +551,14 @@ "link": "https://flameshot.org/", "winget": "Flameshot.Flameshot" }, + "WPFInstalllightshot": { + "category": "Multimedia Tools", + "choco": "lightshot", + "content": "Lightshot (Screenshots)", + "description": "Ligthshot is an Easy-to-use, light-weight screenshot software tool, where you can optionally edit your screenshots using different tools, share them via Internet and/or save to disk, and customize the available options.", + "link": "https://app.prntscr.com/", + "winget": "Skillbrains.Lightshot" + }, "WPFInstallfloorp": { "category": "Browsers", "choco": "na", From 103dd5076486f3493bebb738561d3376380dd3d7 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Sat, 23 Mar 2024 21:37:19 +0000 Subject: [PATCH 5/7] Compile Winutil --- winutil.ps1 | 44 +++++++++++++++++++++++++++++++++----------- xaml/inputApp.xaml | 28 +++++++++++++++++----------- 2 files changed, 50 insertions(+), 22 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index 177a1bf4..8fa3c94e 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -5218,6 +5218,14 @@ $sync.configs.applications = '{ "link": "https://www.mozilla.org/en-US/firefox/new/", "winget": "Mozilla.Firefox" }, + "WPFInstallfirefoxesr": { + "category": "Browsers", + "choco": "FirefoxESR", + "content": "Firefox ESR", + "description": "Mozilla Firefox is an open-source web browser known for its customization options, privacy features, and extensions. Firefox ESR (Extended Support Release) receives major updates every 42 weeks with minor updates such as crash fixes, security fixes and policy updates as needed, but at least every four weeks.", + "link": "https://www.mozilla.org/en-US/firefox/new/", + "winget": "Mozilla.Firefox.ESR" + }, "WPFInstallflameshot": { "category": "Multimedia Tools", "choco": "flameshot", @@ -5226,6 +5234,14 @@ $sync.configs.applications = '{ "link": "https://flameshot.org/", "winget": "Flameshot.Flameshot" }, + "WPFInstalllightshot": { + "category": "Multimedia Tools", + "choco": "lightshot", + "content": "Lightshot (Screenshots)", + "description": "Ligthshot is an Easy-to-use, light-weight screenshot software tool, where you can optionally edit your screenshots using different tools, share them via Internet and/or save to disk, and customize the available options.", + "link": "https://app.prntscr.com/", + "winget": "Skillbrains.Lightshot" + }, "WPFInstallfloorp": { "category": "Browsers", "choco": "na", @@ -10781,6 +10797,9 @@ $inputXML = ' + + + @@ -11107,15 +11126,15 @@ $inputXML = ' + + + - - - @@ -11265,6 +11284,9 @@ $inputXML = ' + + + @@ -11288,15 +11310,15 @@ $inputXML = ' + + + - - - @@ -11463,17 +11485,17 @@ $inputXML = ' - - - - - + + + + + diff --git a/xaml/inputApp.xaml b/xaml/inputApp.xaml index b6b26f8d..f6b15667 100644 --- a/xaml/inputApp.xaml +++ b/xaml/inputApp.xaml @@ -27,6 +27,9 @@ + + + @@ -353,15 +356,15 @@ + + + - - - @@ -511,6 +514,9 @@ + + + @@ -534,15 +540,15 @@ + + + - - - @@ -709,17 +715,17 @@ - - - - - + + + + + From 275f087bbc53436e4b72124eb2fff17eadeaed0e Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Thu, 28 Mar 2024 18:42:35 +0300 Subject: [PATCH 6/7] Fix typo in the Description of 'Get-Oscdimg.ps1' private function (#1743) --- functions/private/Get-Oscdimg.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/private/Get-Oscdimg.ps1 b/functions/private/Get-Oscdimg.ps1 index 29634955..47a2eadd 100644 --- a/functions/private/Get-Oscdimg.ps1 +++ b/functions/private/Get-Oscdimg.ps1 @@ -2,7 +2,7 @@ function Get-Oscdimg { <# .DESCRIPTION - This function will get oscdimg file for from github Release foldersand put it into env:temp + This function will download oscdimg file from github Release folders and put it into env:temp folder .EXAMPLE Get-Oscdimg From 389705bf17ecc580d2ed3da325f226c6335f41b2 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Thu, 28 Mar 2024 15:43:00 +0000 Subject: [PATCH 7/7] Compile Winutil --- winutil.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index 8fa3c94e..d3549618 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -10,7 +10,7 @@ Author : Chris Titus @christitustech Runspace Author: @DeveloperDurp GitHub : https://github.com/ChrisTitusTech - Version : 24.03.23 + Version : 24.03.28 #> param ( [switch]$Debug, @@ -47,7 +47,7 @@ Add-Type -AssemblyName System.Windows.Forms # Variable to sync between runspaces $sync = [Hashtable]::Synchronized(@{}) $sync.PSScriptRoot = $PSScriptRoot -$sync.version = "24.03.23" +$sync.version = "24.03.28" $sync.configs = @{} $sync.ProcessRunning = $false @@ -235,7 +235,7 @@ function Get-Oscdimg { <# .DESCRIPTION - This function will get oscdimg file for from github Release foldersand put it into env:temp + This function will download oscdimg file from github Release folders and put it into env:temp folder .EXAMPLE Get-Oscdimg