From 1c13a42a93fd6e3d798c01ae94580451ccf025d6 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Wed, 23 May 2018 17:22:16 +0200 Subject: [PATCH] remove skype app in windows 10 --- CLIENT_DATA/delsub32.ins | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CLIENT_DATA/delsub32.ins b/CLIENT_DATA/delsub32.ins index 8d97768..645f037 100644 --- a/CLIENT_DATA/delsub32.ins +++ b/CLIENT_DATA/delsub32.ins @@ -27,6 +27,8 @@ if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows sub_check_exitcode endif +execwith_skypeapp powershell + comment "Delete files" Files_uninstall /32Bit @@ -36,6 +38,10 @@ Registry_uninstall /32Bit comment "Delete program shortcuts" LinkFolder_uninstall +[execwith_skypeapp] +Get-appxpackage -allusers *Microsoft.SkypeApp* | Remove-AppxPackage +Get-AppxPackage -allusers *skypeapp* | Remove-AppxPackage + [Winbatch_uninstall_msi_old] msiexec /x $MsiIdOld$ /qb! REBOOT=ReallySuppress