@ -3,39 +3,97 @@
# Take Ownership tweak from: https://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/
function Main ( ) {
Clear-Host
Request-AdminPrivilege # Check admin rights
Get-ChildItem -Recurse $PSScriptRoot \ * . ps * 1 | Unblock-File
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ " download-web-file.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ " get-hardware-info.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ " open-file.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ " manage-software.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ " set-console-style.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ " start-logging.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ " title-templates.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ ui \ " show-message-dialog.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ ui \ " ui-helper.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ utils \ " individual-tweaks.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ utils \ " install-individual-system-apps.psm1 " -Force
Set-ConsoleStyle # Makes the console look cooler
$CurrentFileName = ( Split-Path -Path $PSCommandPath -Leaf ) . Split ( '.' ) [ 0 ]
$CurrentFileLastModified = ( Get-Item " $( Split-Path -Path $PSCommandPath -Leaf ) " ) . LastWriteTimeUtc | Get-Date -Format " yyyy-MM-dd "
( Get-Item " $( Split-Path -Path $PSCommandPath -Leaf ) " ) . LastWriteTimeUtc | Get-Date -Format " yyyy-MM-dd "
Start-Logging -File $CurrentFileName
Write-Caption " $CurrentFileName v $CurrentFileLastModified "
Write-Host " Your Current Folder $pwd "
Write-Host " Script Root Folder $PSScriptRoot "
Open-PowerShellFilesCollection -RelativeLocation " src\scripts " -Scripts " install-package-managers.ps1 " -NoDialog # Install Winget and Chocolatey at the beginning
Write-ScriptLogo # Thanks Figlet
Show-GUI # Load the GUI
Write-Verbose " Restart: $Script:NeedRestart "
If ( $Script:NeedRestart ) {
Request-PcRestart # Prompt options to Restart the PC
[ CmdletBinding ( ) ]
param (
[ Parameter ( Position = 0 ) ]
[ ValidateSet ( 'CLI' , 'GUI' ) ]
[ String ] $Mode = 'GUI'
)
Begin {
$Script:NeedRestart = $false
$Script:DoneTitle = " Information "
$Script:DoneMessage = " Process Completed! "
}
Stop-Logging
Process {
Clear-Host
Request-AdminPrivilege # Check admin rights
Get-ChildItem -Recurse $PSScriptRoot \ * . ps * 1 | Unblock-File
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ " download-web-file.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ " get-hardware-info.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ " open-file.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ " manage-software.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ " set-console-style.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ " start-logging.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ " title-templates.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ ui \ " get-screen-resolution.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ ui \ " new-layout-page.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ ui \ " show-message-dialog.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ lib \ ui \ " ui-helper.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ utils \ " individual-tweaks.psm1 " -Force
Import-Module -DisableNameChecking $PSScriptRoot \ src \ utils \ " install-individual-system-apps.psm1 " -Force
Set-ConsoleStyle
$CurrentFileName = ( Split-Path -Path $PSCommandPath -Leaf ) . Split ( '.' ) [ 0 ]
$CurrentFileLastModified = ( Get-Item " $( Split-Path -Path $PSCommandPath -Leaf ) " ) . LastWriteTimeUtc | Get-Date -Format " yyyy-MM-dd "
( Get-Item " $( Split-Path -Path $PSCommandPath -Leaf ) " ) . LastWriteTimeUtc | Get-Date -Format " yyyy-MM-dd "
Start-Logging -File $CurrentFileName
Write-Caption " $CurrentFileName v $CurrentFileLastModified "
Write-Host " Your Current Folder $pwd "
Write-Host " Script Root Folder $PSScriptRoot "
Open-PowerShellFilesCollection -RelativeLocation " src\scripts " -Scripts " install-package-managers.ps1 " -NoDialog
Write-ScriptLogo
If ( $args ) {
Write-Caption " Arguments: $args "
} Else { Write-Caption " Arguments: None, running GUI " }
If ( $Mode -eq 'CLI' ) {
Open-DebloatScript -Mode $Mode
} Else { Show-GUI }
}
End {
Write-Verbose " Restart: $Script:NeedRestart "
If ( $Script:NeedRestart ) {
Request-PcRestart
}
Stop-Logging
}
}
function Open-DebloatScript {
[ CmdletBinding ( ) ]
param (
[ Parameter ( Position = 0 ) ]
[ ValidateSet ( 'CLI' , 'GUI' ) ]
[ String ] $Mode = 'GUI'
)
$Scripts = @ (
# [Recommended order]
" backup-system.ps1 " ,
" silent-debloat-softwares.ps1 " ,
" optimize-task-scheduler.ps1 " ,
" optimize-services.ps1 " ,
" remove-bloatware-apps.ps1 " ,
" remove-windows-capabilities.ps1 " ,
" optimize-privacy.ps1 " ,
" optimize-performance.ps1 " ,
" personal-tweaks.ps1 " ,
" optimize-security.ps1 " ,
" optimize-windows-features.ps1 "
)
If ( $Mode -eq 'CLI' ) {
Open-PowerShellFilesCollection -RelativeLocation " src\scripts " -Scripts $Scripts -DoneTitle $DoneTitle -DoneMessage $DoneMessage -OpenFromGUI $false
} ElseIf ( $Mode -eq 'GUI' ) {
Open-PowerShellFilesCollection -RelativeLocation " src\scripts " -Scripts $Scripts -DoneTitle $DoneTitle -DoneMessage $DoneMessage
}
$Script:NeedRestart = $true
}
function Request-AdminPrivilege ( ) {
@ -50,53 +108,9 @@ function Show-GUI() {
Add-Type -AssemblyName System . Drawing
[ System.Windows.Forms.Application ] :: EnableVisualStyles ( ) # Rounded Buttons :3
$Script:NeedRestart = $false
$DoneTitle = " Information "
$DoneMessage = " Process Completed! "
Set-UIFont # Load the Layout Font
$ScreenWidth , $ScreenHeight = Get-CurrentResolution # Get the Screen Size
$ScreenProportion = $ScreenWidth / $ScreenHeight # 16:9 ~1.777...
# <===== PERSONAL LAYOUT =====>
# To Scroll
$VerticalScrollWidth = 17
# To Forms
If ( $ScreenProportion -lt 1.5 ) {
$FormWidth = ( $ScreenWidth * 0.99 ) + $VerticalScrollWidth # Small Resolution Width + Scroll Width
$FormHeight = $ScreenHeight * 0.85
} ElseIf ( $ScreenProportion -lt 2.0 ) {
$FormWidth = ( $ScreenWidth * 0.85 ) + $VerticalScrollWidth # Scaled Resolution Width + Scroll Width
$FormHeight = $ScreenHeight * 0.85
} ElseIf ( $ScreenProportion -ge 2.0 ) {
$FormWidth = ( $ScreenWidth * 0.65 ) + $VerticalScrollWidth # Scaled Resolution Width + Scroll Width
$FormHeight = $ScreenHeight * 0.85
}
# To Panels
$NumOfPanels = 4
$PanelWidth = ( $FormWidth / $NumOfPanels ) - ( 2 * ( $VerticalScrollWidth / $NumOfPanels ) ) # - Scroll Width per Panel
$TotalWidth = $PanelWidth * $NumOfPanels
$PanelElementMarginWidth = 0.025
$PanelElementWidth = $PanelWidth - ( $PanelWidth * ( 2 * $PanelElementMarginWidth ) )
$PanelElementX = $PanelWidth * $PanelElementMarginWidth
# To Labels
$TitleLabelHeight = 45
$CaptionLabelHeight = 40
# To Buttons
$ButtonHeight = 30
$DistanceBetweenElements = 5
# To CheckBox
$CheckBoxHeight = 35
# To Fonts
$Header1 = 20
$Header3 = 14
$TitleLabelY = 0
$BBHeight = ( $ButtonHeight * 2 ) + $DistanceBetweenElements
# <===== PERSONAL COLORS =====>
$WarningYellow = " #EED202 "
$White = " #FFFFFF "
@ -111,309 +125,312 @@ function Show-GUI() {
# <===== Specific Layout =====>
$ SystemTweaksHeight = 1125
$ SoftwareInstallHeight = 1725
$ LayoutT1 = New-LayoutPage -NumOfPanels 3 -PanelHeight 960
$ LayoutT2 = New-LayoutPage -NumOfPanels 4 -PanelHeight 1725
# <===== UI =====>
# Main Window:
$Form = New-Form -Width $ FormWidth -Height $ FormHeight -Text " Win Debloat Tools (LeDragoX) | $( Get-SystemSpec ) " -BackColor " $WinDark " -Maximize $false # Loading the specs takes longer time to load the GUI
$Form = New-Form -Width $ LayoutT1. FormWidth -Height $ LayoutT1. FormHeight -Text " Win Debloat Tools (LeDragoX) | $( Get-SystemSpec ) " -BackColor " $WinDark " -Maximize $false # Loading the specs takes longer time to load the GUI
$Form = New-FormIcon -Form $Form -ImageLocation " $PSScriptRoot \src\assets\script-icon-32px.png "
$FormTabControl = New-TabControl -Width ( $ FormWidth - 8 ) -Height ( $ FormHeight - 35 ) -LocationX -4 -LocationY 0
$FormTabControl = New-TabControl -Width ( $ LayoutT1. FormWidth - 8 ) -Height ( $ LayoutT1. FormHeight - 35 ) -LocationX -4 -LocationY 0
$TabSystemTweaks = New-TabPage -Name " Tab1 " -Text " System Tweaks "
$TabSoftwareInstall = New-TabPage -Name " Tab2 " -Text " Software Install "
$TlSystemTweaks = New-Label -Text " System Tweaks " -Width $ TotalWidth -Height $ TitleLabelHeight -LocationX 0 -LocationY $TitleLabelY -FontSize $ Header1 -FontStyle " Bold " -ForeColor $WinBlue
$ClSystemTweaks = New-Label -Text " $CurrentFileName v $CurrentFileLastModified " -Width $ TotalWidth -Height $ CaptionLabelHeight -LocationX 0 - ElementBefore $TlSystemTweaks -MarginTop $ DistanceBetweenElements -ForeColor $White
$TlSystemTweaks = New-Label -Text " System Tweaks " -Width $ LayoutT1. TotalWidth -Height $ LayoutT1. TitleLabelHeight -LocationX 0 -LocationY $TitleLabelY -FontSize $ LayoutT1. Heading [ 0 ] -FontStyle " Bold " -ForeColor $WinBlue
$ClSystemTweaks = New-Label -Text " $CurrentFileName v $CurrentFileLastModified " -Width $ LayoutT1. TotalWidth -Height $ LayoutT1. CaptionLabelHeight -LocationX 0 - FontSize $LayoutT1 . Heading [ 1 ] - ElementBefore $TlSystemTweaks -MarginTop $ LayoutT1. DistanceBetweenElements -ForeColor $White
# ==> Tab 1
$CurrentPanelIndex = 1
$T1Panel1 = New-Panel -Width $PanelWidth -Height $SystemTweaksHeight -LocationX ( $PanelWidth * $CurrentPanelIndex ) -ElementBefore $ClSystemTweaks
$CurrentPanelIndex = 0
$T1Panel1 = New-Panel -Width $LayoutT1 . PanelWidth -Height $LayoutT1 . PanelHeight -LocationX ( $LayoutT1 . PanelWidth * $CurrentPanelIndex ) -ElementBefore $ClSystemTweaks
$CurrentPanelIndex + +
$T1Panel2 = New-Panel -Width $LayoutT1 . PanelWidth -Height $LayoutT1 . PanelHeight -LocationX ( $LayoutT1 . PanelWidth * $CurrentPanelIndex ) -ElementBefore $ClSystemTweaks
$CurrentPanelIndex + +
$T1Panel2 = New-Panel -Width $PanelWidth -Height $SystemTweaksHeight -LocationX ( $PanelWidth * $CurrentPanelIndex ) -ElementBefore $ClSystemTweaks
$T1Panel 3 = New-Panel -Width $LayoutT1 . PanelWidth -Height $LayoutT1 . PanelHeight -LocationX ( $LayoutT1 . PanelWidth * $CurrentPanelIndex ) -ElementBefore $ClSystemTweaks
# ==> T1 Panel 1
$ClDebloatTools = New-Label -Text " System Debloat Tools " -Width $PanelElementWidth -Height $CaptionLabelHeight -LocationX $PanelElementX -LocationY 0
$ApplyTweaks = New-Button -Text " ✔ Apply Tweaks " -Width $PanelElementWidth -Height $BBHeight -LocationX $PanelElementX -ElementBefore $ClDebloatTools -FontSize $Header3 -ForeColor $WinBlue
$UndoTweaks = New-Button -Text " ❌ Undo Tweaks " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $ApplyTweaks -MarginTop $DistanceBetweenElements -ForeColor $WarningYellow
$RemoveMSEdge = New-Button -Text " Remove Microsoft Edge " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $UndoTweaks -MarginTop $DistanceBetweenElements -ForeColor $WarningYellow
$RemoveOneDrive = New-Button -Text " Remove OneDrive " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $RemoveMSEdge -MarginTop $DistanceBetweenElements -ForeColor $WarningYellow
$RemoveXbox = New-Button -Text " Remove Xbox " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $RemoveOneDrive -MarginTop $DistanceBetweenElements -ForeColor $WarningYellow
$PictureBox1 = New-PictureBox -ImageLocation " $PSScriptRoot \src\assets\script-image.png " -Width $PanelElementWidth -Height ( ( $BBHeight * 2 ) + $DistanceBetweenElements ) -LocationX $PanelElementX -ElementBefore $RemoveXbox -MarginTop $DistanceBetweenElements -SizeMode 'Zoom'
$ClInstallSystemApps = New-Label -Text " Install System Apps " -Width $PanelWidth -Height $CaptionLabelHeight -LocationX 0 -ElementBefore $PictureBox1
$InstallCortana = New-Button -Text " Cortana " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $ClInstallSystemApps -MarginTop $DistanceBetweenElements
$InstallDolbyAudio = New-Button -Text " Dolby Audio " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $InstallCortana -MarginTop $DistanceBetweenElements
$InstallMicrosoftEdge = New-Button -Text " Microsoft Edge " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $InstallDolbyAudio -MarginTop $DistanceBetweenElements
$InstallOneDrive = New-Button -Text " OneDrive " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $InstallMicrosoftEdge -MarginTop $DistanceBetweenElements
$InstallPaintPaint3D = New-Button -Text " Paint + Paint 3D " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallOneDrive
$InstallPhoneLink = New-Button -Text " Phone Link " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallPaintPaint3D
$InstallSoundRecorder = New-Button -Text " Sound Recorder " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallPhoneLink
$InstallTaskbarWidgets = New-Button -Text " Taskbar Widgets " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallSoundRecorder
$InstallUWPWMediaPlayer = New-Button -Text " Windows Media Player (UWP) " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $InstallTaskbarWidgets -MarginTop $DistanceBetweenElements
$InstallXbox = New-Button -Text " Xbox " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $InstallUWPWMediaPlayer -MarginTop $DistanceBetweenElements
$ClOtherTools = New-Label -Text " Other Tools " -Width $PanelElementWidth -Height $CaptionLabelHeight -LocationX $PanelElementX -LocationY 0 -ElementBefore $InstallXbox
$RandomizeSystemColor = New-Button -Text " Randomize System Color " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $ClOtherTools -MarginTop $DistanceBetweenElements
$ReinstallBloatApps = New-Button -Text " Reinstall Pre-Installed Apps " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $RandomizeSystemColor -MarginTop $DistanceBetweenElements
$RepairWindows = New-Button -Text " Repair Windows " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $ReinstallBloatApps -MarginTop $DistanceBetweenElements
$ShowDebloatInfo = New-Button -Text " Show Debloat Info " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -ElementBefore $RepairWindows -MarginTop $DistanceBetweenElements
$ClCustomizeFeatures = New-Label -Text " Customize System Features " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CaptionLabelHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 2 ] -ElementBefore $CbAutomaticWindowsUpdate -MarginTop $LayoutT1 . DistanceBetweenElements
$CbDarkTheme = New-CheckBox -Text " Enable Dark Theme " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $ClCustomizeFeatures -MarginTop $LayoutT1 . DistanceBetweenElements
$CbActivityHistory = New-CheckBox -Text " Enable Activity History " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbDarkTheme
$CbBackgroundsApps = New-CheckBox -Text " Enable Background Apps " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbActivityHistory
$CbClipboardHistory = New-CheckBox -Text " Enable Clipboard History " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbBackgroundsApps
$CbClipboardSyncAcrossDevice = New-CheckBox -Text " Enable Clipboard Sync Across Devices " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbClipboardHistory
$CbCortana = New-CheckBox -Text " Enable Cortana " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbClipboardSyncAcrossDevice
$CbOldVolumeControl = New-CheckBox -Text " Enable Old Volume Control " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbCortana
$CbOnlineSpeechRecognition = New-CheckBox -Text " Enable Online Speech Recognition " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbOldVolumeControl
$CbPhoneLink = New-CheckBox -Text " Enable Phone Link " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbOnlineSpeechRecognition
$CbPhotoViewer = New-CheckBox -Text " Enable Photo Viewer " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbPhoneLink
$CbSearchAppForUnknownExt = New-CheckBox -Text " Enable Search App for Unknown Ext. " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbPhotoViewer
$CbTelemetry = New-CheckBox -Text " Enable Telemetry " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbSearchAppForUnknownExt
$CbWSearchService = New-CheckBox -Text " Enable WSearch Service " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbTelemetry
$CbXboxGameBarDVRandMode = New-CheckBox -Text " Enable Xbox Game Bar/DVR/Mode " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbWSearchService
# ==> T1 Panel 2
$ClWindowsUpdate = New-Label -Text " Windows Update " -Width $PanelElementWidth -Height $CaptionLabelHeight -LocationX $PanelElementX -LocationY 0
$CbAutomaticWindowsUpdate = New-CheckBox -Text " Enable Automatic Windows Update " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $ClWindowsUpdate -MarginTop $DistanceBetweenElements
$ClCustomizeFeatures = New-Label -Text " Customize System Features " -Width $PanelElementWidth -Height $CaptionLabelHeight -LocationX $PanelElementX -ElementBefore $CbAutomaticWindowsUpdate -MarginTop $DistanceBetweenElements
$CbDarkTheme = New-CheckBox -Text " Enable Dark Theme " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $ClCustomizeFeatures -MarginTop $DistanceBetweenElements
$CbActivityHistory = New-CheckBox -Text " Enable Activity History " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbDarkTheme
$CbBackgroundsApps = New-CheckBox -Text " Enable Background Apps " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbActivityHistory
$CbClipboardHistory = New-CheckBox -Text " Enable Clipboard History " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbBackgroundsApps
$CbClipboardSyncAcrossDevice = New-CheckBox -Text " Enable Clipboard Sync Across Devices " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbClipboardHistory
$CbCortana = New-CheckBox -Text " Enable Cortana " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbClipboardSyncAcrossDevice
$CbOldVolumeControl = New-CheckBox -Text " Enable Old Volume Control " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbCortana
$CbOnlineSpeechRecognition = New-CheckBox -Text " Enable Online Speech Recognition " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbOldVolumeControl
$CbPhoneLink = New-CheckBox -Text " Enable Phone Link " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbOnlineSpeechRecognition
$CbPhotoViewer = New-CheckBox -Text " Enable Photo Viewer " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbPhoneLink
$CbSearchAppForUnknownExt = New-CheckBox -Text " Enable Search App for Unknown Ext. " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbPhotoViewer
$CbTelemetry = New-CheckBox -Text " Enable Telemetry " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbSearchAppForUnknownExt
$CbWSearchService = New-CheckBox -Text " Enable WSearch Service " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbTelemetry
$CbXboxGameBarDVRandMode = New-CheckBox -Text " Enable Xbox Game Bar/DVR/Mode " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbWSearchService
$ClOptionalFeatures = New-Label -Text " Optional Features " -Width $PanelWidth -Height $CaptionLabelHeight -LocationX 0 -ElementBefore $CbXboxGameBarDVRandMode
$CbInternetExplorer = New-CheckBox -Text " Internet Explorer " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $ClOptionalFeatures
$CbPrintToPDFServices = New-CheckBox -Text " Printing-PrintToPDFServices-Features " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbInternetExplorer
$CbPrintingXPSServices = New-CheckBox -Text " Printing-XPSServices-Features " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbPrintToPDFServices
$CbWindowsMediaPlayer = New-CheckBox -Text " Windows Media Player " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbPrintingXPSServices
$ClMiscFeatures = New-Label -Text " Miscellaneous Features " -Width $PanelWidth -Height $CaptionLabelHeight -LocationX 0 -ElementBefore $CbWindowsMediaPlayer
$CbEncryptedDNS = New-CheckBox -Text " Enable Encrypted DNS " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $ClMiscFeatures
$CbGodMode = New-CheckBox -Text " Enable God Mode " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbEncryptedDNS
$CbMouseNaturalScroll = New-CheckBox -Text " Enable Mouse Natural Scroll " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbGodMode
$CbTakeOwnership = New-CheckBox -Text " Enable Take Ownership menu " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbMouseNaturalScroll
$CbFastShutdownPCShortcut = New-CheckBox -Text " Enable Fast Shutdown shortcut " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $CbTakeOwnership
$ClDebloatTools = New-Label -Text " System Debloat Tools " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CaptionLabelHeight -LocationX $LayoutT1 . PanelElementX -LocationY 0 -FontSize $LayoutT1 . Heading [ 2 ]
$ApplyTweaks = New-Button -Text " Apply Tweaks " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -ElementBefore $ClDebloatTools -FontSize $LayoutT1 . Heading [ 3 ] -FontStyle 'Bold' -ForeColor $WinBlue
$UndoTweaks = New-Button -Text " Undo Tweaks " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $ApplyTweaks -MarginTop $LayoutT1 . DistanceBetweenElements -ForeColor $WarningYellow
$RemoveMSEdge = New-Button -Text " Remove Microsoft Edge " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $UndoTweaks -MarginTop $LayoutT1 . DistanceBetweenElements -ForeColor $WarningYellow
$RemoveOneDrive = New-Button -Text " Remove OneDrive " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $RemoveMSEdge -MarginTop $LayoutT1 . DistanceBetweenElements -ForeColor $WarningYellow
$RemoveXbox = New-Button -Text " Remove Xbox " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $RemoveOneDrive -MarginTop $LayoutT1 . DistanceBetweenElements -ForeColor $WarningYellow
$PictureBox1 = New-PictureBox -ImageLocation " $PSScriptRoot \src\assets\script-image.png " -Width $LayoutT1 . PanelElementWidth -Height ( ( $LayoutT1 . ButtonHeight * 4 ) + ( $LayoutT1 . DistanceBetweenElements * 4 ) ) -LocationX $LayoutT1 . PanelElementX -ElementBefore $RemoveXbox -MarginTop $LayoutT1 . DistanceBetweenElements -SizeMode 'Zoom'
$ClInstallSystemApps = New-Label -Text " Install System Apps " -Width $LayoutT1 . PanelWidth -Height $LayoutT1 . CaptionLabelHeight -LocationX 0 -FontSize $LayoutT1 . Heading [ 2 ] -ElementBefore $PictureBox1
$InstallCortana = New-Button -Text " Cortana " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $ClInstallSystemApps -MarginTop $LayoutT1 . DistanceBetweenElements
$InstallDolbyAudio = New-Button -Text " Dolby Audio " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $InstallCortana -MarginTop $LayoutT1 . DistanceBetweenElements
$InstallMicrosoftEdge = New-Button -Text " Microsoft Edge " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $InstallDolbyAudio -MarginTop $LayoutT1 . DistanceBetweenElements
$InstallOneDrive = New-Button -Text " OneDrive " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $InstallMicrosoftEdge -MarginTop $LayoutT1 . DistanceBetweenElements
$InstallPaintPaint3D = New-Button -Text " Paint + Paint 3D " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $InstallOneDrive
$InstallPhoneLink = New-Button -Text " Phone Link " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $InstallPaintPaint3D
$InstallSoundRecorder = New-Button -Text " Sound Recorder " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $InstallPhoneLink
$InstallTaskbarWidgets = New-Button -Text " Taskbar Widgets " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $InstallSoundRecorder
$InstallUWPWMediaPlayer = New-Button -Text " Windows Media Player (UWP) " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $InstallTaskbarWidgets -MarginTop $LayoutT1 . DistanceBetweenElements
$InstallXbox = New-Button -Text " Xbox " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $InstallUWPWMediaPlayer -MarginTop $LayoutT1 . DistanceBetweenElements
$ClOtherTools = New-Label -Text " Other Tools " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CaptionLabelHeight -LocationX $LayoutT1 . PanelElementX -LocationY 0 -FontSize $LayoutT1 . Heading [ 2 ] -ElementBefore $InstallXbox
$RandomizeSystemColor = New-Button -Text " Randomize System Color " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $ClOtherTools -MarginTop $LayoutT1 . DistanceBetweenElements
$ReinstallBloatApps = New-Button -Text " Reinstall Pre-Installed Apps " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $RandomizeSystemColor -MarginTop $LayoutT1 . DistanceBetweenElements
$RepairWindows = New-Button -Text " Repair Windows " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $ReinstallBloatApps -MarginTop $LayoutT1 . DistanceBetweenElements
$ShowDebloatInfo = New-Button -Text " Show Debloat Info " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . ButtonHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $RepairWindows -MarginTop $LayoutT1 . DistanceBetweenElements
# ==> T1 Panel 3
$ClWindowsUpdate = New-Label -Text " Windows Update " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CaptionLabelHeight -LocationX $LayoutT1 . PanelElementX -LocationY 0 -FontSize $LayoutT1 . Heading [ 2 ]
$CbAutomaticWindowsUpdate = New-CheckBox -Text " Enable Automatic Windows Update " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $ClWindowsUpdate -MarginTop $LayoutT1 . DistanceBetweenElements
$ClOptionalFeatures = New-Label -Text " Optional Features " -Width $LayoutT1 . PanelWidth -Height $LayoutT1 . CaptionLabelHeight -LocationX 0 -FontSize $LayoutT1 . Heading [ 2 ] -ElementBefore $CbAutomaticWindowsUpdate
$CbInternetExplorer = New-CheckBox -Text " Internet Explorer " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $ClOptionalFeatures
$CbPrintToPDFServices = New-CheckBox -Text " Printing-PrintToPDFServices-Features " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbInternetExplorer
$CbPrintingXPSServices = New-CheckBox -Text " Printing-XPSServices-Features " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbPrintToPDFServices
$CbWindowsMediaPlayer = New-CheckBox -Text " Windows Media Player " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbPrintingXPSServices
$ClMiscFeatures = New-Label -Text " Miscellaneous Features " -Width $LayoutT1 . PanelWidth -Height $LayoutT1 . CaptionLabelHeight -LocationX 0 -FontSize $LayoutT1 . Heading [ 2 ] -ElementBefore $CbWindowsMediaPlayer
$CbEncryptedDNS = New-CheckBox -Text " Enable Encrypted DNS " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $ClMiscFeatures
$CbGodMode = New-CheckBox -Text " Enable God Mode " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbEncryptedDNS
$CbMouseNaturalScroll = New-CheckBox -Text " Enable Mouse Natural Scroll " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbGodMode
$CbTakeOwnership = New-CheckBox -Text " Enable Take Ownership menu " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbMouseNaturalScroll
$CbFastShutdownPCShortcut = New-CheckBox -Text " Enable Fast Shutdown shortcut " -Width $LayoutT1 . PanelElementWidth -Height $LayoutT1 . CheckBoxHeight -LocationX $LayoutT1 . PanelElementX -FontSize $LayoutT1 . Heading [ 3 ] -ElementBefore $CbTakeOwnership
# ==> Tab 2
$TlSoftwareInstall = New-Label -Text " Software Install " -Width $TotalWidth -Height $TitleLabelHeight -LocationX 0 -LocationY $TitleLabelY -FontSize $Header1 -FontStyle " Bold " -ForeColor $WinBlue
$ClSoftwareInstall = New-Label -Text " Package Managers: Winget and Chocolatey " -Width $TotalWidth -Height $CaptionLabelHeight -LocationX 0 -ElementBefore $TlSoftwareInstall -MarginTop $DistanceBetweenElements -ForeColor $White
$TlSoftwareInstall = New-Label -Text " Software Install " -Width $ LayoutT2. TotalWidth -Height $ LayoutT2. TitleLabelHeight -LocationX 0 -LocationY $TitleLabelY -FontSize $ LayoutT2. Heading [ 0 ] -FontStyle " Bold " -ForeColor $WinBlue
$ClSoftwareInstall = New-Label -Text " Package Managers: Winget and Chocolatey " -Width $ LayoutT2. TotalWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX 0 - FontSize $LayoutT1 . Heading [ 1 ] - ElementBefore $TlSoftwareInstall -MarginTop $ LayoutT2. DistanceBetweenElements -ForeColor $White
$CurrentPanelIndex = 0
$T2Panel1 = New-Panel -Width $PanelWidth -Height $SoftwareInstallHeight -LocationX ( $PanelWidth * $CurrentPanelIndex ) -ElementBefore $ClSoftwareInstall
$T2Panel1 = New-Panel -Width $ LayoutT2. PanelWidth -Height $LayoutT2 . PanelHeight -LocationX ( $LayoutT2 . PanelWidth * $CurrentPanelIndex ) -ElementBefore $ClSoftwareInstall
$CurrentPanelIndex + +
$T2Panel2 = New-Panel -Width $PanelWidth -Height $SoftwareInstallHeight -LocationX ( $PanelWidth * $CurrentPanelIndex ) -ElementBefore $ClSoftwareInstall
$T2Panel2 = New-Panel -Width $ LayoutT2. PanelWidth -Height $LayoutT2 . PanelHeight -LocationX ( $LayoutT2 . PanelWidth * $CurrentPanelIndex ) -ElementBefore $ClSoftwareInstall
$CurrentPanelIndex + +
$T2Panel3 = New-Panel -Width $PanelWidth -Height $SoftwareInstallHeight -LocationX ( $PanelWidth * $CurrentPanelIndex ) -ElementBefore $ClSoftwareInstall
$T2Panel3 = New-Panel -Width $ LayoutT2. PanelWidth -Height $LayoutT2 . PanelHeight -LocationX ( $LayoutT2 . PanelWidth * $CurrentPanelIndex ) -ElementBefore $ClSoftwareInstall
$CurrentPanelIndex + +
$T2Panel4 = New-Panel -Width $ PanelWidth -Height $SoftwareInstallHeight -LocationX ( $ PanelWidth * $CurrentPanelIndex ) -ElementBefore $ClSoftwareInstall
$T2Panel4 = New-Panel -Width $ LayoutT2. PanelWidth -Height $LayoutT2 . PanelHeight -LocationX ( $LayoutT2 . PanelWidth * $CurrentPanelIndex ) -ElementBefore $ClSoftwareInstall
# ==> T2 Panel 1
$UpgradeAll = New-Button -Text " Upgrade All Softwares " -Width $ PanelElementWidth -Height $ ButtonHeight -LocationX $ PanelElementX -LocationY 0
$ClCpuGpuDrivers = New-Label -Text " CPU/GPU Drivers " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $UpgradeAll
$InstallAmdRyzenChipsetDriver = New-CheckBox -Text " AMD Ryzen Chipset Driver " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClCpuGpuDrivers -ForeColor $AmdRyzenPrimaryColor
$InstallIntelDSA = New-CheckBox -Text " Intel® DSA " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallAmdRyzenChipsetDriver -ForeColor $IntelPrimaryColor
$InstallNvidiaGeForceExperience = New-CheckBox -Text " NVIDIA GeForce Experience " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallIntelDSA -ForeColor $NVIDIAPrimaryColor
$InstallNVCleanstall = New-CheckBox -Text " NVCleanstall " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallNvidiaGeForceExperience
$ClApplicationRequirements = New-Label -Text " Application Requirements " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallNVCleanstall
$InstallDirectX = New-CheckBox -Text " DirectX End-User Runtime " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClApplicationRequirements
$InstallMsDotNetFramework = New-CheckBox -Text " Microsoft .NET Framework " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallDirectX
$InstallMsVCppX64 = New-CheckBox -Text " MSVC Redist 2005-2022 (x64) " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallMsDotNetFramework
$InstallMsVCppX86 = New-CheckBox -Text " MSVC Redist 2005-2022 (x86) " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallMsVCppX64
$ClFileCompression = New-Label -Text " File Compression " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallMsVCppX86
$Install7Zip = New-CheckBox -Text " 7-Zip " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClFileCompression
$InstallWinRar = New-CheckBox -Text " WinRAR (Trial) " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $Install7Zip
$ClDocuments = New-Label -Text " Document Editors/Readers " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallWinRar
$InstallAdobeReaderDC = New-CheckBox -Text " Adobe Reader DC (x64) " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClDocuments
$InstallLibreOffice = New-CheckBox -Text " LibreOffice " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallAdobeReaderDC
$InstallOnlyOffice = New-CheckBox -Text " ONLYOFFICE DesktopEditors " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallLibreOffice
$InstallPDFCreator = New-CheckBox -Text " PDFCreator (PDF Converter) " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallOnlyOffice
$InstallPowerBi = New-CheckBox -Text " Power BI " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallPDFCreator
$InstallSumatraPDF = New-CheckBox -Text " Sumatra PDF " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallPowerBi
$ClTorrent = New-Label -Text " Torrent " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallSumatraPDF
$InstallqBittorrent = New-CheckBox -Text " qBittorrent " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClTorrent
$ClAcademicResearch = New-Label -Text " Academic Research " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallqBittorrent
$InstallZotero = New-CheckBox -Text " Zotero " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClAcademicResearch
$Cl2fa = New-Label -Text " 2-Factor Authentication " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallZotero
$InstallTwilioAuthy = New-CheckBox -Text " Twilio Authy " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $Cl2fa
$ClBootableUsb = New-Label -Text " Bootable USB " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallTwilioAuthy
$InstallBalenaEtcher = New-CheckBox -Text " Etcher " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClBootableUsb
$InstallRufus = New-CheckBox -Text " Rufus " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallBalenaEtcher
$InstallVentoy = New-CheckBox -Text " Ventoy " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallRufus
$ClVirtualMachines = New-Label -Text " Virtual Machines " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallVentoy
$InstallOracleVirtualBox = New-CheckBox -Text " Oracle VM VirtualBox " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClVirtualMachines
$InstallQemu = New-CheckBox -Text " QEMU " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallOracleVirtualBox
$InstallVmWarePlayer = New-CheckBox -Text " VMware Workstation Player " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallQemu
$ClCloudStorage = New-Label -Text " Cloud Storage " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallVmWarePlayer
$InstallDropbox = New-CheckBox -Text " Dropbox " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClCloudStorage
$InstallGoogleDrive = New-CheckBox -Text " Google Drive " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallDropbox
$ClUICustomization = New-Label -Text " UI Customization " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallGoogleDrive
$InstallRoundedTB = New-CheckBox -Text " RoundedTB " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClUICustomization
$InstallTranslucentTB = New-CheckBox -Text " TranslucentTB " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallRoundedTB
$UpgradeAll = New-Button -Text " Upgrade All Softwares " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. ButtonHeight -LocationX $ LayoutT2. PanelElementX -LocationY 0 -FontSize $LayoutT2 . Heading [ 3 ] -FontStyle 'Bold' -ForeColor $WinBlue
$ClCpuGpuDrivers = New-Label -Text " CPU/GPU Drivers " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $UpgradeAll
$InstallAmdRyzenChipsetDriver = New-CheckBox -Text " AMD Ryzen Chipset Driver " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClCpuGpuDrivers -ForeColor $AmdRyzenPrimaryColor
$InstallIntelDSA = New-CheckBox -Text " Intel® DSA " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallAmdRyzenChipsetDriver -ForeColor $IntelPrimaryColor
$InstallNvidiaGeForceExperience = New-CheckBox -Text " NVIDIA GeForce Experience " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallIntelDSA -ForeColor $NVIDIAPrimaryColor
$InstallNVCleanstall = New-CheckBox -Text " NVCleanstall " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallNvidiaGeForceExperience
$ClApplicationRequirements = New-Label -Text " Application Requirements " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallNVCleanstall
$InstallDirectX = New-CheckBox -Text " DirectX End-User Runtime " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClApplicationRequirements
$InstallMsDotNetFramework = New-CheckBox -Text " Microsoft .NET Framework " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallDirectX
$InstallMsVCppX64 = New-CheckBox -Text " MSVC Redist 2005-2022 (x64) " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallMsDotNetFramework
$InstallMsVCppX86 = New-CheckBox -Text " MSVC Redist 2005-2022 (x86) " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallMsVCppX64
$ClFileCompression = New-Label -Text " File Compression " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallMsVCppX86
$Install7Zip = New-CheckBox -Text " 7-Zip " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClFileCompression
$InstallWinRar = New-CheckBox -Text " WinRAR (Trial) " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $Install7Zip
$ClDocuments = New-Label -Text " Document Editors/Readers " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallWinRar
$InstallAdobeReaderDC = New-CheckBox -Text " Adobe Reader DC (x64) " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClDocuments
$InstallLibreOffice = New-CheckBox -Text " LibreOffice " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallAdobeReaderDC
$InstallOnlyOffice = New-CheckBox -Text " ONLYOFFICE DesktopEditors " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallLibreOffice
$InstallPDFCreator = New-CheckBox -Text " PDFCreator (PDF Converter) " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallOnlyOffice
$InstallPowerBi = New-CheckBox -Text " Power BI " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallPDFCreator
$InstallSumatraPDF = New-CheckBox -Text " Sumatra PDF " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallPowerBi
$ClTorrent = New-Label -Text " Torrent " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallSumatraPDF
$InstallqBittorrent = New-CheckBox -Text " qBittorrent " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClTorrent
$ClAcademicResearch = New-Label -Text " Academic Research " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallqBittorrent
$InstallZotero = New-CheckBox -Text " Zotero " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClAcademicResearch
$Cl2fa = New-Label -Text " 2-Factor Authentication " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallZotero
$InstallTwilioAuthy = New-CheckBox -Text " Twilio Authy " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $Cl2fa
$ClBootableUsb = New-Label -Text " Bootable USB " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallTwilioAuthy
$InstallBalenaEtcher = New-CheckBox -Text " Etcher " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClBootableUsb
$InstallRufus = New-CheckBox -Text " Rufus " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallBalenaEtcher
$InstallVentoy = New-CheckBox -Text " Ventoy " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallRufus
$ClVirtualMachines = New-Label -Text " Virtual Machines " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallVentoy
$InstallOracleVirtualBox = New-CheckBox -Text " Oracle VM VirtualBox " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClVirtualMachines
$InstallQemu = New-CheckBox -Text " QEMU " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallOracleVirtualBox
$InstallVmWarePlayer = New-CheckBox -Text " VMware Workstation Player " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallQemu
$ClCloudStorage = New-Label -Text " Cloud Storage " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallVmWarePlayer
$InstallDropbox = New-CheckBox -Text " Dropbox " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClCloudStorage
$InstallGoogleDrive = New-CheckBox -Text " Google Drive " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallDropbox
$ClUICustomization = New-Label -Text " UI Customization " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallGoogleDrive
$InstallRoundedTB = New-CheckBox -Text " RoundedTB " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClUICustomization
$InstallTranslucentTB = New-CheckBox -Text " TranslucentTB " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallRoundedTB
# ==> T2 Panel 2
$InstallSelected = New-Button -Text " Install Selected " -Width $ PanelElementWidth -Height $ ButtonHeight -LocationX $ PanelElementX -LocationY 0 -FontStyle " Bold "
$ClWebBrowsers = New-Label -Text " Web Browsers " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallSelected
$InstallBraveBrowser = New-CheckBox -Text " Brave Browser " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClWebBrowsers
$InstallGoogleChrome = New-CheckBox -Text " Google Chrome " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallBraveBrowser
$InstallMozillaFirefox = New-CheckBox -Text " Mozilla Firefox " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallGoogleChrome
$ClAudioVideoTools = New-Label -Text " Audio/Video Tools " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallMozillaFirefox
$InstallAudacity = New-CheckBox -Text " Audacity (Editor) " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClAudioVideoTools
$InstallMpcHc = New-CheckBox -Text " MPC-HC (Player) " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallAudacity
$InstallVlc = New-CheckBox -Text " VLC (Player) " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallMpcHc
$ClImageTools = New-Label -Text " Image Tools " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallVlc
$InstallGimp = New-CheckBox -Text " GIMP " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClImageTools
$InstallInkscape = New-CheckBox -Text " Inkscape " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallGimp
$InstallIrfanView = New-CheckBox -Text " IrfanView " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallInkscape
$InstallKrita = New-CheckBox -Text " Krita " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallIrfanView
$InstallPaintNet = New-CheckBox -Text " Paint.NET " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallKrita
$InstallShareX = New-CheckBox -Text " ShareX (Screenshots/GIFs) " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallPaintNet
$ClStreamingServices = New-Label -Text " Streaming Services " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallShareX
$InstallAmazonPrimeVideo = New-CheckBox -Text " Amazon Prime Video " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClStreamingServices
$InstallDisneyPlus = New-CheckBox -Text " Disney+ " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallAmazonPrimeVideo
$InstallNetflix = New-CheckBox -Text " Netflix " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallDisneyPlus
$InstallSpotify = New-CheckBox -Text " Spotify " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallNetflix
$ClPlanningProductivity = New-Label -Text " Planning/Productivity " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallSpotify
$InstallNotion = New-CheckBox -Text " Notion " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClPlanningProductivity
$InstallObsidian = New-CheckBox -Text " Obsidian " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallNotion
$ClUtilities = New-Label -Text " ⚒ Utilities " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallObsidian
$InstallCpuZ = New-CheckBox -Text " CPU-Z " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClUtilities
$InstallCrystalDiskInfo = New-CheckBox -Text " Crystal Disk Info " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallCpuZ
$InstallCrystalDiskMark = New-CheckBox -Text " Crystal Disk Mark " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallCrystalDiskInfo
$InstallGeekbench 5 = New-CheckBox -Text " Geekbench 5 " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallCrystalDiskMark
$InstallGpuZ = New-CheckBox -Text " GPU-Z " -Width $ PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallGeekbench5
$InstallHwInfo = New-CheckBox -Text " HWiNFO " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallGpuZ
$InstallInternetDownloadManager = New-CheckBox -Text " Internet Download Manager (Trial) " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallHwInfo
$InstallMsiAfterburner = New-CheckBox -Text " MSI Afterburner " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallInternetDownloadManager
$InstallRtxVoice = New-CheckBox -Text " RTX Voice " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallMsiAfterburner
$InstallVoicemod = New-CheckBox -Text " Voicemod " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallRtxVoice
$InstallVoiceMeeter = New-CheckBox -Text " Voicemeeter Potato " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallVoicemod
$InstallWizTree = New-CheckBox -Text " WizTree " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallVoiceMeeter
$ClNetworkManagement = New-Label -Text " Network Management " -Width $ PanelElementWidth -Height $ CaptionLabelHeight -LocationX $ PanelElementX -ElementBefore $InstallWizTree
$InstallHamachi = New-CheckBox -Text " Hamachi (LAN) " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $ClNetworkManagement
$InstallPuTty = New-CheckBox -Text " PuTTY " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallHamachi
$InstallRadminVpn = New-CheckBox -Text " Radmin VPN (LAN) " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallPuTty
$InstallWinScp = New-CheckBox -Text " WinSCP " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallRadminVpn
$InstallWireshark = New-CheckBox -Text " Wireshark " -Width $ PanelElementWidth -Height $ CheckBoxHeight -LocationX $ PanelElementX -ElementBefore $InstallWinScp
$InstallSelected = New-Button -Text " Install Selected " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. ButtonHeight -LocationX $ LayoutT2. PanelElementX -LocationY 0 -FontSize $LayoutT2 . Heading [ 3 ] -FontStyle " Bold "
$ClWebBrowsers = New-Label -Text " Web Browsers " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallSelected
$InstallBraveBrowser = New-CheckBox -Text " Brave Browser " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClWebBrowsers
$InstallGoogleChrome = New-CheckBox -Text " Google Chrome " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallBraveBrowser
$InstallMozillaFirefox = New-CheckBox -Text " Mozilla Firefox " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallGoogleChrome
$ClAudioVideoTools = New-Label -Text " Audio/Video Tools " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallMozillaFirefox
$InstallAudacity = New-CheckBox -Text " Audacity (Editor) " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClAudioVideoTools
$InstallMpcHc = New-CheckBox -Text " MPC-HC (Player) " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallAudacity
$InstallVlc = New-CheckBox -Text " VLC (Player) " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallMpcHc
$ClImageTools = New-Label -Text " Image Tools " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallVlc
$InstallGimp = New-CheckBox -Text " GIMP " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClImageTools
$InstallInkscape = New-CheckBox -Text " Inkscape " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallGimp
$InstallIrfanView = New-CheckBox -Text " IrfanView " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallInkscape
$InstallKrita = New-CheckBox -Text " Krita " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallIrfanView
$InstallPaintNet = New-CheckBox -Text " Paint.NET " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallKrita
$InstallShareX = New-CheckBox -Text " ShareX (Screenshots/GIFs) " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallPaintNet
$ClStreamingServices = New-Label -Text " Streaming Services " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallShareX
$InstallAmazonPrimeVideo = New-CheckBox -Text " Amazon Prime Video " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClStreamingServices
$InstallDisneyPlus = New-CheckBox -Text " Disney+ " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallAmazonPrimeVideo
$InstallNetflix = New-CheckBox -Text " Netflix " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallDisneyPlus
$InstallSpotify = New-CheckBox -Text " Spotify " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallNetflix
$ClPlanningProductivity = New-Label -Text " Planning/Productivity " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallSpotify
$InstallNotion = New-CheckBox -Text " Notion " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClPlanningProductivity
$InstallObsidian = New-CheckBox -Text " Obsidian " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallNotion
$ClUtilities = New-Label -Text " ⚒ Utilities " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallObsidian
$InstallCpuZ = New-CheckBox -Text " CPU-Z " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClUtilities
$InstallCrystalDiskInfo = New-CheckBox -Text " Crystal Disk Info " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallCpuZ
$InstallCrystalDiskMark = New-CheckBox -Text " Crystal Disk Mark " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallCrystalDiskInfo
$InstallGeekbench 6 = New-CheckBox -Text " Geekbench 6 " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallCrystalDiskMark
$InstallGpuZ = New-CheckBox -Text " GPU-Z " -Width $ LayoutT2. PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallGeekbench6
$InstallHwInfo = New-CheckBox -Text " HWiNFO " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallGpuZ
$InstallInternetDownloadManager = New-CheckBox -Text " Internet Download Manager (Trial) " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallHwInfo
$InstallMsiAfterburner = New-CheckBox -Text " MSI Afterburner " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallInternetDownloadManager
$InstallRtxVoice = New-CheckBox -Text " RTX Voice " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallMsiAfterburner
$InstallVoicemod = New-CheckBox -Text " Voicemod " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallRtxVoice
$InstallVoiceMeeter = New-CheckBox -Text " Voicemeeter Potato " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallVoicemod
$InstallWizTree = New-CheckBox -Text " WizTree " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallVoiceMeeter
$ClNetworkManagement = New-Label -Text " Network Management " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CaptionLabelHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallWizTree
$InstallHamachi = New-CheckBox -Text " Hamachi (LAN) " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClNetworkManagement
$InstallPuTty = New-CheckBox -Text " PuTTY " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallHamachi
$InstallRadminVpn = New-CheckBox -Text " Radmin VPN (LAN) " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallPuTty
$InstallWinScp = New-CheckBox -Text " WinSCP " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallRadminVpn
$InstallWireshark = New-CheckBox -Text " Wireshark " -Width $ LayoutT2. PanelElementWidth -Height $ LayoutT2. CheckBoxHeight -LocationX $ LayoutT2. PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallWinScp
# ==> T2 Panel 3
$UninstallMode = New-Button -Text " [OFF] Uninstall Mode " -Width $PanelElementWidth -Height $ButtonHeight -LocationX $PanelElementX -LocationY 0 -FontStyle " Bold "
$ClCommunication = New-Label -Text " Communication " -Width $PanelElementWidth -Height $CaptionLabelHeight -LocationX $PanelElementX -ElementBefore $UninstallMode
$InstallDiscord = New-CheckBox -Text " Discord " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $ClCommunication
$InstallMSTeams = New-CheckBox -Text " Microsoft Teams " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallDiscord
$InstallRocketChat = New-CheckBox -Text " Rocket Chat " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallMSTeams
$InstallSignal = New-CheckBox -Text " Signal " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallRocketChat
$InstallSkype = New-CheckBox -Text " Skype " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallSignal
$InstallSlack = New-CheckBox -Text " Slack " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallSkype
$InstallTelegramDesktop = New-CheckBox -Text " Telegram Desktop " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallSlack
$InstallWhatsAppDesktop = New-CheckBox -Text " WhatsApp Desktop " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallTelegramDesktop
$InstallZoom = New-CheckBox -Text " Zoom " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallWhatsAppDesktop
$ClGaming = New-Label -Text " Gaming " -Width $PanelElementWidth -Height $CaptionLabelHeight -LocationX $PanelElementX -ElementBefore $InstallZoom
$InstallBorderlessGaming = New-CheckBox -Text " Borderless Gaming " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $ClGaming
$InstallEADesktop = New-CheckBox -Text " EA Desktop " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallBorderlessGaming
$InstallEpicGamesLauncher = New-CheckBox -Text " Epic Games Launcher " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallEADesktop
$InstallGogGalaxy = New-CheckBox -Text " GOG Galaxy " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallEpicGamesLauncher
$InstallSteam = New-CheckBox -Text " Steam " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallGogGalaxy
$InstallUbisoftConnect = New-CheckBox -Text " Ubisoft Connect " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallSteam
$ClRemoteConnection = New-Label -Text " Remote Connection " -Width $PanelElementWidth -Height $CaptionLabelHeight -LocationX $PanelElementX -ElementBefore $InstallUbisoftConnect
$InstallAnyDesk = New-CheckBox -Text " AnyDesk " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $ClRemoteConnection
$InstallParsec = New-CheckBox -Text " Parsec " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallAnyDesk
$InstallScrCpy = New-CheckBox -Text " ScrCpy (Android) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallParsec
$InstallTeamViewer = New-CheckBox -Text " Team Viewer " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallScrCpy
$ClRecordingAndStreaming = New-Label -Text " Recording and Streaming " -Width $PanelElementWidth -Height $CaptionLabelHeight -LocationX $PanelElementX -ElementBefore $InstallTeamViewer
$InstallElgatoStreamDeck = New-CheckBox -Text " Elgato Stream Deck " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $ClRecordingAndStreaming
$InstallHandBrake = New-CheckBox -Text " HandBrake (Transcode) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallElgatoStreamDeck
$InstallObsStudio = New-CheckBox -Text " OBS Studio " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallHandBrake
$InstallStreamlabs = New-CheckBox -Text " Streamlabs " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallObsStudio
$ClEmulation = New-Label -Text " Emulation " -Width $PanelElementWidth -Height $CaptionLabelHeight -LocationX $PanelElementX -ElementBefore $InstallStreamlabs
$InstallBSnesHd = New-CheckBox -Text " BSnes HD (SNES) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $ClEmulation
$InstallCemu = New-CheckBox -Text " Cemu (Wii U) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallBSnesHd
$InstallDolphin = New-CheckBox -Text " Dolphin Stable (GC/Wii) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallCemu
$InstallKegaFusion = New-CheckBox -Text " Kega Fusion (Sega Genesis) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallDolphin
$InstallMGba = New-CheckBox -Text " mGBA (GBA) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallKegaFusion
$InstallPCSX2 = New-CheckBox -Text " PCSX2 Stable (PS2 | Portable) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallMGba
$InstallPPSSPP = New-CheckBox -Text " PPSSPP (PSP) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallPCSX2
$InstallProject64 = New-CheckBox -Text " Project64 Dev (N64) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallPPSSPP
$InstallRetroArch = New-CheckBox -Text " RetroArch (All In One) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallProject64
$InstallRyujinx = New-CheckBox -Text " Ryujinx (Switch) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallRetroArch
$InstallSnes9x = New-CheckBox -Text " Snes9x (SNES) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallRyujinx
$UninstallMode = New-Button -Text " [OFF] Uninstall Mode " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . ButtonHeight -LocationX $LayoutT2 . PanelElementX -LocationY 0 -FontSize $LayoutT2 . Heading [ 3 ] -FontStyle " Bold "
$ClCommunication = New-Label -Text " Communication " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CaptionLabelHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $UninstallMode
$InstallDiscord = New-CheckBox -Text " Discord " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClCommunication
$InstallMSTeams = New-CheckBox -Text " Microsoft Teams " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallDiscord
$InstallRocketChat = New-CheckBox -Text " Rocket Chat " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallMSTeams
$InstallSignal = New-CheckBox -Text " Signal " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallRocketChat
$InstallSkype = New-CheckBox -Text " Skype " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallSignal
$InstallSlack = New-CheckBox -Text " Slack " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallSkype
$InstallTelegramDesktop = New-CheckBox -Text " Telegram Desktop " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallSlack
$InstallWhatsAppDesktop = New-CheckBox -Text " WhatsApp Desktop " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallTelegramDesktop
$InstallZoom = New-CheckBox -Text " Zoom " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallWhatsAppDesktop
$ClGaming = New-Label -Text " Gaming " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CaptionLabelHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallZoom
$InstallBorderlessGaming = New-CheckBox -Text " Borderless Gaming " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClGaming
$InstallEADesktop = New-CheckBox -Text " EA Desktop " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallBorderlessGaming
$InstallEpicGamesLauncher = New-CheckBox -Text " Epic Games Launcher " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallEADesktop
$InstallGogGalaxy = New-CheckBox -Text " GOG Galaxy " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallEpicGamesLauncher
$InstallSteam = New-CheckBox -Text " Steam " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallGogGalaxy
$InstallUbisoftConnect = New-CheckBox -Text " Ubisoft Connect " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallSteam
$ClRemoteConnection = New-Label -Text " Remote Connection " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CaptionLabelHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallUbisoftConnect
$InstallAnyDesk = New-CheckBox -Text " AnyDesk " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClRemoteConnection
$InstallParsec = New-CheckBox -Text " Parsec " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallAnyDesk
$InstallScrCpy = New-CheckBox -Text " ScrCpy (Android) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallParsec
$InstallTeamViewer = New-CheckBox -Text " Team Viewer " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallScrCpy
$ClRecordingAndStreaming = New-Label -Text " Recording and Streaming " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CaptionLabelHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallTeamViewer
$InstallElgatoStreamDeck = New-CheckBox -Text " Elgato Stream Deck " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClRecordingAndStreaming
$InstallHandBrake = New-CheckBox -Text " HandBrake (Transcode) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallElgatoStreamDeck
$InstallObsStudio = New-CheckBox -Text " OBS Studio " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallHandBrake
$InstallStreamlabs = New-CheckBox -Text " Streamlabs " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallObsStudio
$ClEmulation = New-Label -Text " Emulation " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CaptionLabelHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallStreamlabs
$InstallBSnesHd = New-CheckBox -Text " BSnes HD (SNES) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClEmulation
$InstallCemu = New-CheckBox -Text " Cemu (Wii U) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallBSnesHd
$InstallDolphin = New-CheckBox -Text " Dolphin Stable (GC/Wii) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallCemu
$InstallKegaFusion = New-CheckBox -Text " Kega Fusion (Sega Genesis) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallDolphin
$InstallMGba = New-CheckBox -Text " mGBA (GBA) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallKegaFusion
$InstallPPSSPP = New-CheckBox -Text " PPSSPP (PSP) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallMGba
$InstallProject64 = New-CheckBox -Text " Project64 Dev (N64) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallPPSSPP
$InstallRetroArch = New-CheckBox -Text " RetroArch (All In One) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallProject64
$InstallRyujinx = New-CheckBox -Text " Ryujinx (Switch) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallRetroArch
$InstallSnes9x = New-CheckBox -Text " Snes9x (SNES) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallRyujinx
# ==> T2 Panel 4
$ClTextEditors = New-Label -Text " Text Editors/IDEs " -Width $PanelElementWidth -Height $CaptionLabelHeight -LocationX $PanelElementX -LocationY ( $ButtonHeight + $DistanceBetweenElements )
$InstallAtom = New-CheckBox -Text " Atom " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $ClTextEditors
$InstallJetBrainsToolbox = New-CheckBox -Text " JetBrains Toolbox " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallAtom
$InstallNotepadPlusPlus = New-CheckBox -Text " Notepad++ " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallJetBrainsToolbox
$InstallVisualStudioCommunity = New-CheckBox -Text " Visual Studio 2022 Community " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallNotepadPlusPlus
$InstallVSCode = New-CheckBox -Text " VS Code " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallVisualStudioCommunity
$InstallVSCodium = New-CheckBox -Text " VS Codium " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallVSCode
$ClWsl = New-Label -Text " Windows Subsystem For Linux " -Width $PanelElementWidth -Height $CaptionLabelHeight -LocationX $PanelElementX -ElementBefore $InstallVSCodium
$InstallWSL = New-CheckBox -Text " Install WSL " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $ClWsl -ForeColor $WinBlue
$InstallArchWSL = New-CheckBox -Text " ArchWSL (x64) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallWSL -ForeColor $WinBlue
$InstallDebian = New-CheckBox -Text " Debian GNU/Linux " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallArchWSL
$InstallKaliLinux = New-CheckBox -Text " Kali Linux Rolling " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallDebian
$InstallOpenSuse = New-CheckBox -Text " Open SUSE 42 " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallKaliLinux
$InstallSles = New-CheckBox -Text " SLES v12 " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallOpenSuse
$InstallUbuntu = New-CheckBox -Text " Ubuntu " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallSles
$InstallUbuntu16Lts = New-CheckBox -Text " Ubuntu 16.04 LTS " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallUbuntu
$InstallUbuntu18Lts = New-CheckBox -Text " Ubuntu 18.04 LTS " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallUbuntu16Lts
$InstallUbuntu20Lts = New-CheckBox -Text " Ubuntu 20.04 LTS " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallUbuntu18Lts
$ClDevelopment = New-Label -Text " ⌨ Development on Windows " -Width $PanelElementWidth -Height $CaptionLabelHeight -LocationX $PanelElementX -ElementBefore $InstallUbuntu20Lts
$InstallWindowsTerminal = New-CheckBox -Text " Windows Terminal " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $ClDevelopment
$InstallNerdFonts = New-CheckBox -Text " Install Nerd Fonts " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallWindowsTerminal -ForeColor $WinBlue
$InstallGitGnupgSshSetup = New-CheckBox -Text " Git + GnuPG + SSH (Setup) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallNerdFonts -ForeColor $WinBlue
$InstallAdb = New-CheckBox -Text " Android Debug Bridge (ADB) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallGitGnupgSshSetup
$InstallAndroidStudio = New-CheckBox -Text " Android Studio " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallAdb
$InstallDockerDesktop = New-CheckBox -Text " Docker Desktop " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallAndroidStudio
$InstallInsomnia = New-CheckBox -Text " Insomnia " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallDockerDesktop
$InstallJavaJdks = New-CheckBox -Text " Java - Adoptium JDK 8/11/18 " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallInsomnia
$InstallJavaJre = New-CheckBox -Text " Java - Oracle JRE " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallJavaJdks
$InstallMySql = New-CheckBox -Text " MySQL " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallJavaJre
$InstallNodeJs = New-CheckBox -Text " NodeJS " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallMySql
$InstallNodeJsLts = New-CheckBox -Text " NodeJS LTS " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallNodeJs
$InstallPostgreSql = New-CheckBox -Text " PostgreSQL " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallNodeJsLts
$InstallPython3 = New-CheckBox -Text " Python 3 " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallPostgreSql
$InstallPythonAnaconda3 = New-CheckBox -Text " Python - Anaconda3 " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallPython3
$InstallRuby = New-CheckBox -Text " Ruby " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallPythonAnaconda3
$InstallRubyMsys = New-CheckBox -Text " Ruby (MSYS2) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallRuby
$InstallRustGnu = New-CheckBox -Text " Rust (GNU) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallRubyMsys
$InstallRustMsvc = New-CheckBox -Text " Rust (MSVC) " -Width $PanelElementWidth -Height $CheckBoxHeight -LocationX $PanelElementX -ElementBefore $InstallRustGnu
$ClTextEditors = New-Label -Text " Text Editors/IDEs " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CaptionLabelHeight -LocationX $LayoutT2 . PanelElementX -LocationY ( $LayoutT2 . ButtonHeight + $LayoutT2 . DistanceBetweenElements ) -FontSize $LayoutT2 . Heading [ 2 ]
$InstallJetBrainsToolbox = New-CheckBox -Text " JetBrains Toolbox " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClTextEditors
$InstallNotepadPlusPlus = New-CheckBox -Text " Notepad++ " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallJetBrainsToolbox
$InstallVisualStudioCommunity = New-CheckBox -Text " Visual Studio 2022 Community " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallNotepadPlusPlus
$InstallVSCode = New-CheckBox -Text " VS Code " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallVisualStudioCommunity
$InstallVSCodium = New-CheckBox -Text " VS Codium " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallVSCode
$ClWsl = New-Label -Text " Windows Subsystem For Linux " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CaptionLabelHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallVSCodium
$InstallWSL = New-CheckBox -Text " Install WSL " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClWsl -ForeColor $WinBlue
$InstallArchWSL = New-CheckBox -Text " ArchWSL (x64) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallWSL -ForeColor $WinBlue
$InstallDebian = New-CheckBox -Text " Debian GNU/Linux " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallArchWSL
$InstallKaliLinux = New-CheckBox -Text " Kali Linux Rolling " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallDebian
$InstallOpenSuse = New-CheckBox -Text " Open SUSE 42 " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallKaliLinux
$InstallSles = New-CheckBox -Text " SLES v12 " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallOpenSuse
$InstallUbuntu = New-CheckBox -Text " Ubuntu " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallSles
$InstallUbuntu16Lts = New-CheckBox -Text " Ubuntu 16.04 LTS " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallUbuntu
$InstallUbuntu18Lts = New-CheckBox -Text " Ubuntu 18.04 LTS " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallUbuntu16Lts
$InstallUbuntu20Lts = New-CheckBox -Text " Ubuntu 20.04 LTS " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallUbuntu18Lts
$ClDevelopment = New-Label -Text " ⌨ Development on Windows " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CaptionLabelHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 2 ] -ElementBefore $InstallUbuntu20Lts
$InstallWindowsTerminal = New-CheckBox -Text " Windows Terminal " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $ClDevelopment
$InstallNerdFonts = New-CheckBox -Text " Install Nerd Fonts " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallWindowsTerminal -ForeColor $WinBlue
$InstallGitGnupgSshSetup = New-CheckBox -Text " Git + GnuPG + SSH (Setup) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallNerdFonts -ForeColor $WinBlue
$InstallAdb = New-CheckBox -Text " Android Debug Bridge (ADB) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallGitGnupgSshSetup
$InstallAndroidStudio = New-CheckBox -Text " Android Studio " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallAdb
$InstallDockerDesktop = New-CheckBox -Text " Docker Desktop " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallAndroidStudio
$InstallInsomnia = New-CheckBox -Text " Insomnia " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallDockerDesktop
$InstallJavaJdks = New-CheckBox -Text " Java - Adoptium JDK 8/11/18 " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallInsomnia
$InstallJavaJre = New-CheckBox -Text " Java - Oracle JRE " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallJavaJdks
$InstallMySql = New-CheckBox -Text " MySQL " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallJavaJre
$InstallNodeJs = New-CheckBox -Text " NodeJS " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallMySql
$InstallNodeJsLts = New-CheckBox -Text " NodeJS LTS " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallNodeJs
$InstallPostgreSql = New-CheckBox -Text " PostgreSQL " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallNodeJsLts
$InstallPython3 = New-CheckBox -Text " Python 3 " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallPostgreSql
$InstallPythonAnaconda3 = New-CheckBox -Text " Python - Anaconda3 " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallPython3
$InstallRuby = New-CheckBox -Text " Ruby " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallPythonAnaconda3
$InstallRubyMsys = New-CheckBox -Text " Ruby (MSYS2) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallRuby
$InstallRustGnu = New-CheckBox -Text " Rust (GNU) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallRubyMsys
$InstallRustMsvc = New-CheckBox -Text " Rust (MSVC) " -Width $LayoutT2 . PanelElementWidth -Height $LayoutT2 . CheckBoxHeight -LocationX $LayoutT2 . PanelElementX -FontSize $LayoutT2 . Heading [ 3 ] -ElementBefore $InstallRustGnu
# Add TabControl to the Form
$Form . Controls . AddRange ( @ ( $FormTabControl ) )
# Tabs
$FormTabControl . Controls . AddRange ( @ ( $TabSystemTweaks , $TabSoftwareInstall ) )
$TabSystemTweaks . Controls . AddRange ( @ ( $TlSystemTweaks , $ClSystemTweaks , $T1Panel1 , $T1Panel2 ))
$TabSystemTweaks . Controls . AddRange ( @ ( $TlSystemTweaks , $ClSystemTweaks , $T1Panel1 , $T1Panel2 , $T1Panel3 ))
$TabSoftwareInstall . Controls . AddRange ( @ ( $TlSoftwareInstall , $ClSoftwareInstall , $T2Panel1 , $T2Panel2 , $T2Panel3 , $T2Panel4 ) )
# Add Elements to each Tab Panel
$T1Panel1 . Controls . AddRange ( @ ( $ClDebloatTools , $ApplyTweaks , $UndoTweaks , $RemoveMSEdge , $RemoveOneDrive , $RemoveXbox , $PictureBox1 ) )
$T1Panel1 . Controls . AddRange ( @ ( $ClInstallSystemApps , $InstallCortana , $InstallDolbyAudio , $InstallMicrosoftEdge , $InstallOneDrive , $InstallPaintPaint3D , $InstallTaskbarWidgets , $InstallUWPWMediaPlayer , $InstallPhoneLink , $InstallSoundRecorder , $InstallXbox ) )
$T1Panel1 . Controls . AddRange ( @ ( $ClOtherTools , $RandomizeSystemColor , $ReinstallBloatApps , $RepairWindows , $ShowDebloatInfo ) )
$T1Panel2 . Controls . AddRange ( @ ( $ClWindowsUpdate , $CbAutomaticWindowsUpdate , $ClCustomizeFeatures , $CbDarkTheme , $CbActivityHistory , $CbBackgroundsApps , $CbClipboardHistory , $CbClipboardSyncAcrossDevice , $CbCortana , $CbOldVolumeControl , $CbOnlineSpeechRecognition , $CbPhoneLink , $CbPhotoViewer , $CbSearchAppForUnknownExt , $CbTelemetry , $CbWSearchService , $CbXboxGameBarDVRandMode ) )
$T1Panel2 . Controls . AddRange ( @ ( $ClOptionalFeatures , $CbInternetExplorer , $CbPrintToPDFServices , $CbPrintingXPSServices , $CbWindowsMediaPlayer ) )
$T1Panel2 . Controls . AddRange ( @ ( $ClMiscFeatures , $CbEncryptedDNS , $CbGodMode , $CbMouseNaturalScroll , $CbTakeOwnership , $CbFastShutdownPCShortcut ) )
$T1Panel1 . Controls . AddRange ( @ ( $ClCustomizeFeatures , $CbDarkTheme , $CbActivityHistory , $CbBackgroundsApps , $CbClipboardHistory , $CbClipboardSyncAcrossDevice , $CbCortana , $CbOldVolumeControl , $CbOnlineSpeechRecognition , $CbPhoneLink , $CbPhotoViewer , $CbSearchAppForUnknownExt , $CbTelemetry , $CbWSearchService , $CbXboxGameBarDVRandMode ) )
$T1Panel2 . Controls . AddRange ( @ ( $ClDebloatTools , $ApplyTweaks , $UndoTweaks , $RemoveMSEdge , $RemoveOneDrive , $RemoveXbox , $PictureBox1 ) )
$T1Panel2 . Controls . AddRange ( @ ( $ClInstallSystemApps , $InstallCortana , $InstallDolbyAudio , $InstallMicrosoftEdge , $InstallOneDrive , $InstallPaintPaint3D , $InstallTaskbarWidgets , $InstallUWPWMediaPlayer , $InstallPhoneLink , $InstallSoundRecorder , $InstallXbox ) )
$T1Panel2 . Controls . AddRange ( @ ( $ClOtherTools , $RandomizeSystemColor , $ReinstallBloatApps , $RepairWindows , $ShowDebloatInfo ) )
$T1Panel3 . Controls . AddRange ( @ ( $ClWindowsUpdate , $CbAutomaticWindowsUpdate ) )
$T1Panel3 . Controls . AddRange ( @ ( $ClOptionalFeatures , $CbInternetExplorer , $CbPrintToPDFServices , $CbPrintingXPSServices , $CbWindowsMediaPlayer ) )
$T1Panel3 . Controls . AddRange ( @ ( $ClMiscFeatures , $CbEncryptedDNS , $CbGodMode , $CbMouseNaturalScroll , $CbTakeOwnership , $CbFastShutdownPCShortcut ) )
$T2Panel1 . Controls . AddRange ( @ ( $UpgradeAll ) )
$T2Panel1 . Controls . AddRange ( @ ( $ClCpuGpuDrivers , $InstallAmdRyzenChipsetDriver , $InstallIntelDSA , $InstallNvidiaGeForceExperience , $InstallNVCleanstall ) )
@ -433,40 +450,24 @@ function Show-GUI() {
$T2Panel2 . Controls . AddRange ( @ ( $ClImageTools , $InstallGimp , $InstallInkscape , $InstallIrfanView , $InstallKrita , $InstallPaintNet , $InstallShareX ) )
$T2Panel2 . Controls . AddRange ( @ ( $ClStreamingServices , $InstallAmazonPrimeVideo , $InstallDisneyPlus , $InstallNetflix , $InstallSpotify ) )
$T2Panel2 . Controls . AddRange ( @ ( $ClPlanningProductivity , $InstallNotion , $InstallObsidian ) )
$T2Panel2 . Controls . AddRange ( @ ( $ClUtilities , $InstallCpuZ , $InstallCrystalDiskInfo , $InstallCrystalDiskMark , $InstallGeekbench 5 , $InstallGpuZ , $InstallHwInfo , $InstallInternetDownloadManager , $InstallMsiAfterburner , $InstallRtxVoice , $InstallVoicemod , $InstallVoiceMeeter , $InstallWizTree ) )
$T2Panel2 . Controls . AddRange ( @ ( $ClUtilities , $InstallCpuZ , $InstallCrystalDiskInfo , $InstallCrystalDiskMark , $InstallGeekbench 6 , $InstallGpuZ , $InstallHwInfo , $InstallInternetDownloadManager , $InstallMsiAfterburner , $InstallRtxVoice , $InstallVoicemod , $InstallVoiceMeeter , $InstallWizTree ) )
$T2Panel2 . Controls . AddRange ( @ ( $ClNetworkManagement , $InstallHamachi , $InstallPuTty , $InstallRadminVpn , $InstallWinScp , $InstallWireshark ) )
$T2Panel3 . Controls . AddRange ( @ ( $UninstallMode ) )
$T2Panel3 . Controls . AddRange ( @ ( $ClCommunication , $InstallDiscord , $InstallMSTeams , $InstallRocketChat , $InstallSignal , $InstallSkype , $InstallSlack , $InstallTelegramDesktop , $InstallWhatsAppDesktop , $InstallZoom ) )
$T2Panel3 . Controls . AddRange ( @ ( $ClGaming , $InstallBorderlessGaming , $InstallEADesktop , $InstallEpicGamesLauncher , $InstallGogGalaxy , $InstallSteam , $InstallUbisoftConnect ) )
$T2Panel3 . Controls . AddRange ( @ ( $ClRemoteConnection , $InstallAnyDesk , $InstallParsec , $InstallScrCpy , $InstallTeamViewer ) )
$T2Panel3 . Controls . AddRange ( @ ( $ClRecordingAndStreaming , $InstallElgatoStreamDeck , $InstallHandBrake , $InstallObsStudio , $InstallStreamlabs ) )
$T2Panel3 . Controls . AddRange ( @ ( $ClEmulation , $InstallBSnesHd , $InstallCemu , $InstallDolphin , $InstallKegaFusion , $InstallMGba , $InstallP CSX2, $InstallP PSSPP, $InstallProject64 , $InstallRetroArch , $InstallRyujinx , $InstallSnes9x ) )
$T2Panel4 . Controls . AddRange ( @ ( $ClTextEditors , $Install Atom, $Install JetBrainsToolbox, $InstallNotepadPlusPlus , $InstallVisualStudioCommunity , $InstallVSCode , $InstallVSCodium ) )
$T2Panel3 . Controls . AddRange ( @ ( $ClEmulation , $InstallBSnesHd , $InstallCemu , $InstallDolphin , $InstallKegaFusion , $InstallMGba , $InstallP PSSPP, $InstallProject64 , $InstallRetroArch , $InstallRyujinx , $InstallSnes9x ) )
$T2Panel4 . Controls . AddRange ( @ ( $ClTextEditors , $Install JetBrainsToolbox, $InstallNotepadPlusPlus , $InstallVisualStudioCommunity , $InstallVSCode , $InstallVSCodium ) )
$T2Panel4 . Controls . AddRange ( @ ( $ClWsl , $InstallWSL , $InstallArchWSL , $InstallDebian , $InstallKaliLinux , $InstallOpenSuse , $InstallSles , $InstallUbuntu , $InstallUbuntu16Lts , $InstallUbuntu18Lts , $InstallUbuntu20Lts ) )
$T2Panel4 . Controls . AddRange ( @ ( $ClDevelopment , $InstallWindowsTerminal , $InstallNerdFonts , $InstallGitGnupgSshSetup , $InstallAdb , $InstallAndroidStudio , $InstallDockerDesktop , $InstallInsomnia , $InstallJavaJdks , $InstallJavaJre , $InstallMySql , $InstallNodeJs , $InstallNodeJsLts , $InstallPostgreSql , $InstallPython3 , $InstallPythonAnaconda3 , $InstallRuby , $InstallRubyMsys , $InstallRustGnu , $InstallRustMsvc ) )
# <===== CLICK EVENTS =====>
$ApplyTweaks . Add_Click ( {
$Scripts = @ (
# [Recommended order]
" backup-system.ps1 " ,
" silent-debloat-softwares.ps1 " ,
" optimize-task-scheduler.ps1 " ,
" optimize-services.ps1 " ,
" remove-bloatware-apps.ps1 " ,
" remove-windows-capabilities.ps1 " ,
" optimize-privacy.ps1 " ,
" optimize-performance.ps1 " ,
" personal-tweaks.ps1 " ,
" optimize-security.ps1 " ,
" optimize-windows-features.ps1 "
)
Open-PowerShellFilesCollection -RelativeLocation " src\scripts " -Scripts $Scripts -DoneTitle $DoneTitle -DoneMessage $DoneMessage
$PictureBox1 . imageLocation = " $PSScriptRoot \src\assets\script-image2.png "
Open-DebloatScript
$PictureBox1 . ImageLocation = " $PSScriptRoot \src\assets\script-image2.png "
$Form . Update ( )
$Script:NeedRestart = $true
} )
$UndoTweaks . Add_Click ( {
@ -482,6 +483,9 @@ function Show-GUI() {
" optimize-windows-features.ps1 " ,
" reinstall-pre-installed-apps.ps1 "
)
$PictureBox1 . ImageLocation = " $PSScriptRoot \src\assets\peepo-leaving.gif "
$PictureBox1 . SizeMode = 'StretchImage'
$Form . Update ( )
Open-PowerShellFilesCollection -RelativeLocation " src\scripts " -Scripts $Scripts -DoneTitle $DoneTitle -DoneMessage $DoneMessage
$Global:Revert = $false
} )
@ -492,13 +496,13 @@ function Show-GUI() {
$RemoveOneDrive . Add_Click ( {
Open-PowerShellFilesCollection -RelativeLocation " src\scripts " -Scripts @ ( " remove-onedrive.ps1 " ) -DoneTitle $DoneTitle -DoneMessage $DoneMessage
$PictureBox1 . i mageLocation = " $PSScriptRoot \src\assets\script-image2.png "
$PictureBox1 . I mageLocation = " $PSScriptRoot \src\assets\script-image2.png "
$Form . Update ( )
} )
$RemoveXbox . Add_Click ( {
Open-PowerShellFilesCollection -RelativeLocation " src\scripts " -Scripts @ ( " remove-xbox.ps1 " ) -DoneTitle $DoneTitle -DoneMessage $DoneMessage
$PictureBox1 . i mageLocation = " $PSScriptRoot \src\assets\script-image2.png "
$PictureBox1 . I mageLocation = " $PSScriptRoot \src\assets\script-image2.png "
$Form . Update ( )
} )
@ -968,7 +972,7 @@ function Show-GUI() {
}
If ( $InstallBraveBrowser . CheckState -eq " Checked " ) {
$AppsSelected . WingetApps . Add ( " Brave Software .BraveBrowser " )
$AppsSelected . WingetApps . Add ( " Brave .Brave" )
$InstallBraveBrowser . CheckState = " Unchecked "
}
@ -1072,9 +1076,9 @@ function Show-GUI() {
$InstallCrystalDiskMark . CheckState = " Unchecked "
}
If ( $InstallGeekbench 5 . CheckState -eq " Checked " ) {
$AppsSelected . WingetApps . Add ( " PrimateLabs.Geekbench. 5 " )
$InstallGeekbench 5 . CheckState = " Unchecked "
If ( $InstallGeekbench 6 . CheckState -eq " Checked " ) {
$AppsSelected . WingetApps . Add ( " PrimateLabs.Geekbench. 6 " )
$InstallGeekbench 6 . CheckState = " Unchecked "
}
If ( $InstallGpuZ . CheckState -eq " Checked " ) {
@ -1282,11 +1286,6 @@ function Show-GUI() {
$InstallMGba . CheckState = " Unchecked "
}
If ( $InstallPCSX2 . CheckState -eq " Checked " ) {
$AppsSelected . ChocolateyApps . Add ( " pcsx2.portable " )
$InstallPCSX2 . CheckState = " Unchecked "
}
If ( $InstallPPSSPP . CheckState -eq " Checked " ) {
$AppsSelected . WingetApps . Add ( " PPSSPPTeam.PPSSPP " )
$InstallPPSSPP . CheckState = " Unchecked "
@ -1298,7 +1297,7 @@ function Show-GUI() {
}
If ( $InstallRetroArch . CheckState -eq " Checked " ) {
$AppsSelected . ChocolateyApps. Add ( " retroa rch" )
$AppsSelected . WingetApps. Add ( " Libretro.RetroA rch" )
$InstallRetroArch . CheckState = " Unchecked "
}
@ -1312,11 +1311,6 @@ function Show-GUI() {
$InstallSnes9x . CheckState = " Unchecked "
}
If ( $InstallAtom . CheckState -eq " Checked " ) {
$AppsSelected . WingetApps . Add ( " GitHub.Atom " )
$InstallAtom . CheckState = " Unchecked "
}
If ( $InstallJetBrainsToolbox . CheckState -eq " Checked " ) {
$AppsSelected . WingetApps . Add ( " JetBrains.Toolbox " )
$InstallJetBrainsToolbox . CheckState = " Unchecked "
@ -1508,26 +1502,26 @@ function Show-GUI() {
$SoftwareList + = Install-Software -Name " Apps from selection " -Packages $AppsSelected . WingetApps -NoDialog
}
If ( $AppsSelected . MSStoreApps ) {
$SoftwareList + = " `n " + ( Install-Software -Name " Apps from selection " -Packages $AppsSelected . MSStoreApps - ViaMSStore -NoDialog )
$SoftwareList + = " `n " + ( Install-Software -Name " Apps from selection " -Packages $AppsSelected . MSStoreApps - PackageProvider 'MsStore' -NoDialog )
}
If ( $AppsSelected . ChocolateyApps ) {
$SoftwareList + = " `n " + ( Install-Software -Name " Apps from selection " -Packages $AppsSelected . ChocolateyApps - ViaChocolatey -NoDialog )
$SoftwareList + = " `n " + ( Install-Software -Name " Apps from selection " -Packages $AppsSelected . ChocolateyApps - PackageProvider 'Chocolatey' -NoDialog )
}
If ( $AppsSelected . WSLDistros ) {
$SoftwareList + = " `n " + ( Install-Software -Name " Apps from selection " -Packages $AppsSelected . WSLDistros - ViaWSL -NoDialog )
$SoftwareList + = " `n " + ( Install-Software -Name " Apps from selection " -Packages $AppsSelected . WSLDistros - PackageProvider 'WSL' -NoDialog )
}
} Else {
If ( $AppsSelected . WingetApps ) {
$SoftwareList + = Uninstall-Software -Name " Apps from selection " -Packages $AppsSelected . WingetApps -NoDialog
}
If ( $AppsSelected . MSStoreApps ) {
$SoftwareList + = " `n " + ( Uninstall-Software -Name " Apps from selection " -Packages $AppsSelected . MSStoreApps - ViaMSStore -NoDialog )
$SoftwareList + = " `n " + ( Uninstall-Software -Name " Apps from selection " -Packages $AppsSelected . MSStoreApps - PackageProvider 'MsStore' -NoDialog )
}
If ( $AppsSelected . ChocolateyApps ) {
$SoftwareList + = " `n " + ( Uninstall-Software -Name " Apps from selection " -Packages $AppsSelected . ChocolateyApps - ViaChocolatey -NoDialog )
$SoftwareList + = " `n " + ( Uninstall-Software -Name " Apps from selection " -Packages $AppsSelected . ChocolateyApps - PackageProvider 'Chocolatey' -NoDialog )
}
If ( $AppsSelected . WSLDistros ) {
$SoftwareList + = " `n " + ( Uninstall-Software -Name " Apps from selection " -Packages $AppsSelected . WSLDistros - ViaWSL -NoDialog )
$SoftwareList + = " `n " + ( Uninstall-Software -Name " Apps from selection " -Packages $AppsSelected . WSLDistros - PackageProvider 'WSL' -NoDialog )
}
}
@ -1542,10 +1536,12 @@ function Show-GUI() {
$Script:UninstallSwitch = $false
$InstallSelected . Text = " Install Selected "
$UninstallMode . Text = " [OFF] Uninstall Mode "
$UninstallMode . ForeColor = $White
} Else {
$Script:UninstallSwitch = $true
$InstallSelected . Text = " Uninstall Selected "
$UninstallMode . Text = " [ON] Uninstall Mode "
$UninstallMode . ForeColor = $WarningYellow
}
} )
@ -1553,4 +1549,8 @@ function Show-GUI() {
$Form . Dispose ( ) # When done, dispose of the GUI
}
Main
If ( $args ) {
Main -Mode $args [ 0 ]
} Else {
Main
}