Add OSFMount
This commit is contained in:
parent
6a5a944ea0
commit
bbdef56df2
1 changed files with 1 additions and 1 deletions
|
|
@ -341,7 +341,7 @@ if ($MyInvocation.InvocationName -ne ".") {
|
||||||
$RegKey = $Hive.OpenSubKey($RegPath)
|
$RegKey = $Hive.OpenSubKey($RegPath)
|
||||||
$CurValue = $RegKey.GetValue(
|
$CurValue = $RegKey.GetValue(
|
||||||
"Path", $false, [Microsoft.Win32.RegistryValueOptions]::DoNotExpandEnvironmentNames)
|
"Path", $false, [Microsoft.Win32.RegistryValueOptions]::DoNotExpandEnvironmentNames)
|
||||||
$NewValue = "$CurValue;%ProgramFiles%\7-Zip;%ProgramFiles%\wimlib"
|
$NewValue = "$CurValue;%ProgramFiles%\7-Zip;%ProgramFiles%\OSFMount;%ProgramFiles%\wimlib"
|
||||||
Set-ItemProperty -Path "HKLM:\$RegPath" -Name "Path" -Value $NewValue -Force | Out-Null
|
Set-ItemProperty -Path "HKLM:\$RegPath" -Name "Path" -Value $NewValue -Force | Out-Null
|
||||||
$Hive.close()
|
$Hive.close()
|
||||||
$RegKey.close()
|
$RegKey.close()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue