diff --git a/dist/win/contrib/version170-migrate-settings.ps1 b/dist/win/contrib/version170-migrate-settings.ps1 index bc1c34954..a88912ef6 100644 --- a/dist/win/contrib/version170-migrate-settings.ps1 +++ b/dist/win/contrib/version170-migrate-settings.ps1 @@ -12,7 +12,7 @@ Get-ChildItem $profileList | ForEach-Object { $_.GetValue("ProfileImagePath") } if($profileNameMatches.Count -eq 1) { #check if the last path part is contained in the local user name list #otherwise do not touch it - return $localUsers.Contains($matches[0].Groups[1].Value) + return $localUsers.Contains($profileNameMatches[0].Groups[1].Value) } else { return $false; } @@ -22,9 +22,8 @@ Get-ChildItem $profileList | ForEach-Object { $_.GetValue("ProfileImagePath") } #No settings file, nothing to do. return; } - $settings = Get-Content -Path $settingsPath | ConvertFrom-Json - if($settings.preferredVolumeImpl -eq "FUSE") { + if($settings.preferredVolumeImpl -ne "FUSE") { #Fuse not used, nothing to do return; } diff --git a/dist/win/resources/main.wxs b/dist/win/resources/main.wxs index 58b72b5b4..91315c3f7 100644 --- a/dist/win/resources/main.wxs +++ b/dist/win/resources/main.wxs @@ -133,7 +133,7 @@ - + @@ -185,7 +185,7 @@ NOT Installed OR REINSTALL - NOT Installed OR REINSTALL + NOT Installed OR REINSTALL