mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
18 lines
919 B
PowerShell
18 lines
919 B
PowerShell
|
|
param($installPath, $toolsPath, $package, $project)
|
||
|
|
|
||
|
|
$sqliteReference = $project.Object.References.Find("SQLite.WinRT81, version=3.8.7.4")
|
||
|
|
|
||
|
|
if ($sqliteReference -eq $null) {
|
||
|
|
Write-Host "Unable to find a reference to the extension SDK SQLite for Windows Runtime (Windows 8.1)."
|
||
|
|
Write-Host "Verify that the reference to the extension SDK SQLite for Windows Runtime (Windows 8.1) has already been removed."
|
||
|
|
} else {
|
||
|
|
$sqliteReference.Remove()
|
||
|
|
Write-Host "Successfully removed the reference to the extension SDK SQLite for Windows Runtime (Windows 8.1)."
|
||
|
|
}
|
||
|
|
|
||
|
|
# This is the global uninstall file
|
||
|
|
$rootInstall = [System.IO.Path]::Combine($toolsPath, '../uninstall.ps1')
|
||
|
|
$rootToolsPath = [System.IO.Path]::Combine($toolsPath, '../')
|
||
|
|
Write-Host $rootInstall
|
||
|
|
. $rootInstall -installPath $installPath -toolsPath $rootToolsPath -package $package -project $project
|