Browse Source

13.06/2021 v5.2.7

pull/197/head
Dmitry Nefedov 4 years ago
committed by GitHub
parent
commit
1b05be6225
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      Sophia/LTSC/Functions.ps1
  2. 2
      Sophia/LTSC/Localizations/cn-CN/Sophia.psd1
  3. 2
      Sophia/LTSC/Localizations/de-DE/Sophia.psd1
  4. 2
      Sophia/LTSC/Localizations/en-US/Sophia.psd1
  5. 2
      Sophia/LTSC/Localizations/es-ES/Sophia.psd1
  6. 2
      Sophia/LTSC/Localizations/fr-FR/Sophia.psd1
  7. 2
      Sophia/LTSC/Localizations/hu-HU/Sophia.psd1
  8. 2
      Sophia/LTSC/Localizations/it-IT/Sophia.psd1
  9. 1
      Sophia/LTSC/Localizations/pt-BR/Sophia.psd1
  10. 2
      Sophia/LTSC/Localizations/ru-RU/Sophia.psd1
  11. 2
      Sophia/LTSC/Localizations/tr-TR/Sophia.psd1
  12. 2
      Sophia/LTSC/Localizations/uk-UA/Sophia.psd1
  13. 4
      Sophia/LTSC/Manifest/Sophia.psd1
  14. 144
      Sophia/LTSC/Module/Sophia.psm1
  15. 23
      Sophia/LTSC/Sophia.ps1

8
Sophia/LTSC/Functions.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
The TAB completion for functions and their arguments
Version: v5.2.6
Date: 01.06.2021
Version: v5.2.7
Date: 13.06.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & oZ-Zo
@ -66,10 +66,10 @@ function Sophia
Clear-Host
$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script for LTSC v5.2.6 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & oz-zo, 2014–2021"
$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script for LTSC v5.2.7 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & oz-zo, 2014–2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Sophia.psd1 -PassThru -Force
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force
Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations

2
Sophia/LTSC/Localizations/cn-CN/Sophia.psd1

@ -44,6 +44,7 @@ ErrorsFile = 文件
ErrorsMessage = 错误/警告
Add = 添加
AllFilesFilter = 所有文件 (*.*)|*.*
Browse = 浏览
Change = 更改
DialogBoxOpening = 显示对话窗口
Disable = 禁用
@ -64,7 +65,6 @@ Open = 打开
Patient = 请等待
Restore = 恢复
Run = 运行
Select = 选择
SelectAll = 全选
Skip = 跳过
Skipped = 已跳过

2
Sophia/LTSC/Localizations/de-DE/Sophia.psd1

@ -44,6 +44,7 @@ ErrorsFile = Datei
ErrorsMessage = Fehler/Warnungen
Add = Hinzufügen
AllFilesFilter = Alle Dateien (*.*)|*.*
Browse = Durchsuche
Change = Ändern
DialogBoxOpening = Anzeigen des Dialogfensters...
Disable = Deaktivieren
@ -64,7 +65,6 @@ Open = Öffnen
Patient = Bitte Warten...
Restore = Wiederherstellen
Run = Starten
Select = Wählen Sie
SelectAll = Wählen Sie Alle
Skip = Überspringen
Skipped = Übersprungen

2
Sophia/LTSC/Localizations/en-US/Sophia.psd1

@ -44,6 +44,7 @@ ErrorsFile = File
ErrorsMessage = Errors/Warnings
Add = Add
AllFilesFilter = All Files (*.*)|*.*
Browse = Browse
Change = Change
DialogBoxOpening = Displaying the dialog box...
Disable = Disable
@ -64,7 +65,6 @@ Open = Open
Patient = Please wait...
Restore = Restore
Run = Run
Select = Select
SelectAll = Select all
Skip = Skip
Skipped = Skipped

2
Sophia/LTSC/Localizations/es-ES/Sophia.psd1

@ -44,6 +44,7 @@ ErrorsFile = Archivo
ErrorsMessage = Errores/Advertencias
Add = Agregar
AllFilesFilter = Todos los archivos (*.*)|*.*
Browse = Examinar
Change = Cambio
DialogBoxOpening = Viendo el cuadro de diálogo...
Disable = Desactivar
@ -64,7 +65,6 @@ Open = Abierta
Patient = Por favor espere...
Restore = Restaurar
Run = Iniciar
Select = Seleccionar
SelectAll = Seleccionar todo
Skip = Omitir
Skipped = Omitido

2
Sophia/LTSC/Localizations/fr-FR/Sophia.psd1

@ -44,6 +44,7 @@ ErrorsFile = Fichier
ErrorsMessage = Erreurs/Avertissements
Add = Ajouter
AllFilesFilter = Tous les Fichiers (*.*)|*.*
Browse = Parcourir
Change = Changer
DialogBoxOpening = Afficher la boîte de dialogue...
Disable = Désactiver
@ -64,7 +65,6 @@ Open = Ouvert
Patient = Veuillez patienter...
Restore = Restaurer
Run = Démarrer
Select = Sélectionner
SelectAll = Tout sélectionner
Skip = Passer
Skipped = Passé

2
Sophia/LTSC/Localizations/hu-HU/Sophia.psd1

@ -44,6 +44,7 @@ ErrorsFile = Fájl
ErrorsMessage = Hibák/Figyelmeztetések
Add = Hozzáadás
AllFilesFilter = Összes fájl (*.*)|*.*
Browse = Pregledavati
Change = Szerkesztés
DialogBoxOpening = Párbeszédablak megjelenítése...
Disable = Kikapcsolás
@ -64,7 +65,6 @@ Open = Megnyitás
Patient = Kérem várjon...
Restore = Visszaállítás
Run = Futtatás
Select = Kijelölés
SelectAll = Összes kijelölése
Skip = Átugrás
Skipped = Átugorva

2
Sophia/LTSC/Localizations/it-IT/Sophia.psd1

@ -44,6 +44,7 @@ ErrorsFile = File
ErrorsMessage = Errori/avvisi
Add = Inserisci
AllFilesFilter = Tutti i file (*.*)|*.*
Browse = Sfogliare
Change = Modificare
DialogBoxOpening = Visualizzazione della finestra di dialogo...
Disable = Disattivare
@ -64,7 +65,6 @@ Open = Aperto
Patient = Attendere prego...
Restore = Ristabilire
Run = Eseguire
Select = Selezionare
SelectAll = Seleziona tutto
Skip = Salta
Skipped = Saltato

1
Sophia/LTSC/Localizations/pt-BR/Sophia.psd1

@ -44,6 +44,7 @@ ErrorsFile = Arquivo
ErrorsMessage = Erros/Avisos
Add = Adicionar
AllFilesFilter = Todos os arquivos (*.*)|*.*
Browse = Procurar
Change = Mudar
DialogBoxOpening = Exibindo a caixa de diálogo...
Disable = Desativar

2
Sophia/LTSC/Localizations/ru-RU/Sophia.psd1

@ -44,6 +44,7 @@ ErrorsFile = Файл
ErrorsMessage = Ошибки/предупреждения
Add = Добавить
AllFilesFilter = Все файлы (*.*)|*.*
Browse = Обзор
Change = Изменить
DialogBoxOpening = Диалоговое окно открывается...
Disable = Отключить
@ -64,7 +65,6 @@ Open = Открыть
Patient = Пожалуйста, подождите...
Restore = Восстановить
Run = Запустить
Select = Выбрать
SelectAll = Выбрать всё
Skip = Пропустить
Skipped = Пропущено

2
Sophia/LTSC/Localizations/tr-TR/Sophia.psd1

@ -44,6 +44,7 @@ ErrorsFile = Dosya
ErrorsMessage = Hatalar/Uyarılar
Add = Ekle
AllFilesFilter = Tüm Dosyalar (*.*)|*.*
Browse = Gözat
Change = Değiştir
DialogBoxOpening = İletişim kutusu görüntüleniyor...
Disable = Devre dışı bırak
@ -64,7 +65,6 @@ Open = Açık
Patient = Lütfen bekleyin...
Restore = Onar
Run = Başlat
Select = Seç
SelectAll = Hepsini seç
Skip = Atla
Skipped = Atlandı

2
Sophia/LTSC/Localizations/uk-UA/Sophia.psd1

@ -44,6 +44,7 @@ ErrorsFile = Файл
ErrorsMessage = Помилки/попередження
Add = Додати
AllFilesFilter = Усі файли (*.*)|*.*
Browse = Переглядати
Change = Змінити
DialogBoxOpening = Діалогове вікно відкривається...
Disable = Вимкнути
@ -64,7 +65,6 @@ Open = Відкрити
Patient = Будь ласка, зачекайте...
Restore = Відновити
Run = Запустити
Select = Вибрати
SelectAll = Вибрати все
Skip = Пропустити
Skipped = Пропущено

4
Sophia/LTSC/Manifest/Sophia.psd1

@ -1,6 +1,6 @@
@{
RootModule = 'Sophia.psm1'
ModuleVersion = '5.2.6'
RootModule = '..\Module\Sophia.psm1'
ModuleVersion = '5.2.7'
GUID = 'a36a65ca-70f9-43df-856c-3048fc5e7f01'
Author = 'Dmitry "farag" Nefedov'
Copyright = '(c) 2014–2021 farag & Inestic. All rights reserved'

144
Sophia/LTSC/Module/Sophia.psm1

@ -2,8 +2,8 @@
.SYNOPSIS
"Windows 10 Sophia Script" (LTSC version) is a PowerShell module for Windows 10 fine-tuning and automating the routine tasks
Version: v5.2.6
Date: 01.06.2021
Version: v5.2.7
Date: 13.06.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -137,7 +137,7 @@ function Checkings
{
"0"
{
Invoke-Item -Path $PSScriptRoot\Sophia.ps1
Invoke-Item -Path $PSScriptRoot\..\Sophia.ps1
exit
}
"1"
@ -2632,11 +2632,11 @@ function StorageSense
.SYNOPSIS
Configure Storage Sense running
.PARAMETER Disable
Run Storage Sense every month/during low free disk space
.PARAMETER Month
Run Storage Sense every month
.PARAMETER Enable
Run Storage Sense every month/during low free disk space
.PARAMETER Default
Run Storage Sense during low free disk space
.EXAMPLE
StorageSenseFrequency -Month
@ -4583,73 +4583,73 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int
Add-Type @Signature
}
foreach ($guid in $KnownFolders[$KnownFolder])
foreach ($GUID in $KnownFolders[$KnownFolder])
{
[WinAPI.KnownFolders]::SHSetKnownFolderPath([ref]$guid, 0, 0, $Path)
[WinAPI.KnownFolders]::SHSetKnownFolderPath([ref]$GUID, 0, 0, $Path)
}
(Get-Item -Path $Path -Force).Attributes = "ReadOnly"
}
$UserShellFoldersRegName = @{
"Desktop" = "Desktop"
"Documents" = "Personal"
"Downloads" = "{374DE290-123F-4565-9164-39C4925E467B}"
"Music" = "My Music"
"Pictures" = "My Pictures"
"Videos" = "My Video"
$UserShellFoldersRegistryNames = @{
"Desktop" = "Desktop"
"Documents" = "Personal"
"Downloads" = "{374DE290-123F-4565-9164-39C4925E467B}"
"Music" = "My Music"
"Pictures" = "My Pictures"
"Videos" = "My Video"
}
$UserShellFoldersGUID = @{
"Desktop" = "{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}"
"Documents" = "{F42EE2D3-909F-4907-8871-4C22FC0BF756}"
"Downloads" = "{7D83EE9B-2244-4E70-B1F5-5393042AF1E4}"
"Music" = "{A0C69A99-21C8-4671-8703-7934162FCF1D}"
"Pictures" = "{0DDD015D-B06C-45D5-8C4C-F59713854639}"
"Videos" = "{35286A68-3C57-41A1-BBB1-0EAE73D76C95}"
$UserShellFoldersGUIDs = @{
"Desktop" = "{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}"
"Documents" = "{F42EE2D3-909F-4907-8871-4C22FC0BF756}"
"Downloads" = "{7D83EE9B-2244-4E70-B1F5-5393042AF1E4}"
"Music" = "{A0C69A99-21C8-4671-8703-7934162FCF1D}"
"Pictures" = "{0DDD015D-B06C-45D5-8C4C-F59713854639}"
"Videos" = "{35286A68-3C57-41A1-BBB1-0EAE73D76C95}"
}
# Contents of the hidden desktop.ini file for each type of user folders
$DesktopINI = @{
"Desktop" = "",
"[.ShellClassInfo]",
"LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21769",
"IconResource=%SystemRoot%\system32\imageres.dll,-183"
"Documents" = "",
"[.ShellClassInfo]",
"LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21770",
"IconResource=%SystemRoot%\system32\imageres.dll,-112",
"IconFile=%SystemRoot%\system32\shell32.dll",
"IconIndex=-235"
"Downloads" = "",
"[.ShellClassInfo]","LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21798",
"IconResource=%SystemRoot%\system32\imageres.dll,-184"
"Music" = "",
"[.ShellClassInfo]","LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21790",
"InfoTip=@%SystemRoot%\system32\shell32.dll,-12689",
"IconResource=%SystemRoot%\system32\imageres.dll,-108",
"IconFile=%SystemRoot%\system32\shell32.dll","IconIndex=-237"
"Pictures" = "",
"[.ShellClassInfo]",
"LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21779",
"InfoTip=@%SystemRoot%\system32\shell32.dll,-12688",
"IconResource=%SystemRoot%\system32\imageres.dll,-113",
"IconFile=%SystemRoot%\system32\shell32.dll",
"IconIndex=-236"
"Videos" = "",
"[.ShellClassInfo]",
"LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21791",
"InfoTip=@%SystemRoot%\system32\shell32.dll,-12690",
"IconResource=%SystemRoot%\system32\imageres.dll,-189",
"IconFile=%SystemRoot%\system32\shell32.dll","IconIndex=-238"
"Desktop" = "",
"[.ShellClassInfo]",
"LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21769",
"IconResource=%SystemRoot%\system32\imageres.dll,-183"
"Documents" = "",
"[.ShellClassInfo]",
"LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21770",
"IconResource=%SystemRoot%\system32\imageres.dll,-112",
"IconFile=%SystemRoot%\system32\shell32.dll",
"IconIndex=-235"
"Downloads" = "",
"[.ShellClassInfo]","LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21798",
"IconResource=%SystemRoot%\system32\imageres.dll,-184"
"Music" = "",
"[.ShellClassInfo]","LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21790",
"InfoTip=@%SystemRoot%\system32\shell32.dll,-12689",
"IconResource=%SystemRoot%\system32\imageres.dll,-108",
"IconFile=%SystemRoot%\system32\shell32.dll","IconIndex=-237"
"Pictures" = "",
"[.ShellClassInfo]",
"LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21779",
"InfoTip=@%SystemRoot%\system32\shell32.dll,-12688",
"IconResource=%SystemRoot%\system32\imageres.dll,-113",
"IconFile=%SystemRoot%\system32\shell32.dll",
"IconIndex=-236"
"Videos" = "",
"[.ShellClassInfo]",
"LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21791",
"InfoTip=@%SystemRoot%\system32\shell32.dll,-12690",
"IconResource=%SystemRoot%\system32\imageres.dll,-189",
"IconFile=%SystemRoot%\system32\shell32.dll","IconIndex=-238"
}
# Determining the current user folder path
$UserShellFolderRegValue = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegName[$UserFolder]
if ($UserShellFolderRegValue -ne $FolderPath)
$UserShellFolderRegistryValue = Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersRegistryNames[$UserFolder]
if ($UserShellFolderRegistryValue -ne $FolderPath)
{
if ((Get-ChildItem -Path $UserShellFolderRegValue | Measure-Object).Count -ne 0)
if ((Get-ChildItem -Path $UserShellFolderRegistryValue | Measure-Object).Count -ne 0)
{
Write-Error -Message ($Localization.UserShellFolderNotEmpty -f $UserShellFolderRegValue) -ErrorAction SilentlyContinue
Write-Error -Message ($Localization.UserShellFolderNotEmpty -f $UserShellFolderRegistryValue) -ErrorAction SilentlyContinue
}
# Creating a new folder if there is no one
@ -4661,11 +4661,11 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int
# Removing old desktop.ini
if ($RemoveDesktopINI.IsPresent)
{
Remove-Item -Path "$UserShellFolderRegValue\desktop.ini" -Force
Remove-Item -Path "$UserShellFolderRegistryValue\desktop.ini" -Force
}
KnownFolderPath -KnownFolder $UserFolder -Path $FolderPath
New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersGUID[$UserFolder] -PropertyType ExpandString -Value $FolderPath -Force
New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name $UserShellFoldersGUIDs[$UserFolder] -PropertyType ExpandString -Value $FolderPath -Force
# Save desktop.ini in the UTF-16 LE encoding
Set-Content -Path "$FolderPath\desktop.ini" -Value $DesktopINI[$UserFolder] -Encoding Unicode -Force
@ -4958,9 +4958,9 @@ public static string GetString(uint strId)
$Title = ""
$Message = $Localization.UserFolderSelect -f $DesktopLocalizedString
$Select = $Localization.Select
$Select = $Localization.Browse
$Skip = $Localization.Skip
$Options = "&$Select", "&$Skip"
$Options = "&$Browse", "&$Skip"
$DefaultChoice = 1
$Result = $Host.UI.PromptForChoice($Title, $Message, $Options, $DefaultChoice)
@ -4994,9 +4994,9 @@ public static string GetString(uint strId)
$Title = ""
$Message = $Localization.UserFolderSelect -f $DocumentsLocalizedString
$Select = $Localization.Select
$Select = $Localization.Browse
$Skip = $Localization.Skip
$Options = "&$Select", "&$Skip"
$Options = "&$Browse", "&$Skip"
$DefaultChoice = 1
$Result = $Host.UI.PromptForChoice($Title, $Message, $Options, $DefaultChoice)
@ -5030,9 +5030,9 @@ public static string GetString(uint strId)
$Title = ""
$Message = $Localization.UserFolderSelect -f $DownloadsLocalizedString
$Select = $Localization.Select
$Select = $Localization.Browse
$Skip = $Localization.Skip
$Options = "&$Select", "&$Skip"
$Options = "&$Browse", "&$Skip"
$DefaultChoice = 1
$Result = $Host.UI.PromptForChoice($Title, $Message, $Options, $DefaultChoice)
@ -5066,9 +5066,9 @@ public static string GetString(uint strId)
$Title = ""
$Message = $Localization.UserFolderSelect -f $MusicLocalizedString
$Select = $Localization.Select
$Select = $Localization.Browse
$Skip = $Localization.Skip
$Options = "&$Select", "&$Skip"
$Options = "&$Browse", "&$Skip"
$DefaultChoice = 1
$Result = $Host.UI.PromptForChoice($Title, $Message, $Options, $DefaultChoice)
@ -5102,9 +5102,9 @@ public static string GetString(uint strId)
$Title = ""
$Message = $Localization.UserFolderSelect -f $PicturesLocalizedString
$Select = $Localization.Select
$Select = $Localization.Browse
$Skip = $Localization.Skip
$Options = "&$Select", "&$Skip"
$Options = "&$Browse", "&$Skip"
$DefaultChoice = 1
$Result = $Host.UI.PromptForChoice($Title, $Message, $Options, $DefaultChoice)
@ -5138,9 +5138,9 @@ public static string GetString(uint strId)
$Title = ""
$Message = $Localization.UserFolderSelect -f $VideosLocalizedString
$Select = $Localization.Select
$Select = $Localization.Browse
$Skip = $Localization.Skip
$Options = "&$Select", "&$Skip"
$Options = "&$Browse", "&$Skip"
$DefaultChoice = 1
$Result = $Host.UI.PromptForChoice($Title, $Message, $Options, $DefaultChoice)

23
Sophia/LTSC/Sophia.ps1

@ -2,8 +2,8 @@
.SYNOPSIS
Default preset file for "Windows 10 Sophia Script" (LTSC version)
Version: v5.2.6
Date: 01.06.2021
Version: v5.2.7
Date: 13.06.2021
Copyright (c) 20142021 farag
Copyright (c) 20192021 farag & Inestic
@ -71,10 +71,10 @@ param
Clear-Host
$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script for LTSC v5.2.6 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & oz-zo, 2014–2021"
$Host.UI.RawUI.WindowTitle = "Windows 10 Sophia Script for LTSC v5.2.7 | Made with $([char]::ConvertFromUtf32(0x1F497)) of Windows 10 | $([char]0x00A9) farag & oz-zo, 2014–2021"
Remove-Module -Name Sophia -Force -ErrorAction Ignore
Import-Module -Name $PSScriptRoot\Sophia.psd1 -PassThru -Force
Import-Module -Name $PSScriptRoot\Manifest\Sophia.psd1 -PassThru -Force
Import-LocalizedData -BindingVariable Global:Localization -FileName Sophia -BaseDirectory $PSScriptRoot\Localizations
@ -107,10 +107,10 @@ if ($Functions)
#region Protection
<#
Checkings. If you want to disable a warning message about whether you've customized the preset file remove the "-Warning" argument
The necessary checkings. If you want to disable a warning message about whether you've customized the preset file remove the "-Warning" argument
Please, do not comment out this function
Проверки. Чтобы выключить предупреждение о необходимости настройки пресет-файла, удалите аргумент "-Warning"
Обязательные проверки. Чтобы выключить предупреждение о необходимости настройки пресет-файла, удалите аргумент "-Warning"
Пожалуйста, не комментируйте данную функцию
#>
Checkings -Warning
@ -999,8 +999,15 @@ MSIExtractContext -Add
# Удалить пункт "Извлечь все" из контекстного меню Windows Installer (.msi) (значение по умолчанию)
# MSIExtractContext -Remove
# Add the "Install" item to the .cab archives context menu
# Добавить пункт "Установить" в контекстное меню .cab архивов
<#
Add the "Install" item to the .cab archives context menu
If the .cab file extension type associated to open with a third party app by default, the "Install" context menu item won't be displayed,
so the default association for the .cab file type will be restored forcedly
Добавить пункт "Установить" в контекстное меню .cab архивов
Если .cab файлы ассоциированы со сторонним приложением, пункт "Установить" в контекстное меню не будет отображаться,
поэтому принудительно будет восстановлена ассоциация по умолчанию
#>
CABInstallContext -Add
# Remove the "Install" item from the .cab archives context menu (default value)

Loading…
Cancel
Save