[RESOLVED] Skype Standard version - sharing and improvements
Published: July 3, 2018 - 1:38 PM
Good morning,
We use user accounts that do not have admin rights on the PCs.
And with each Skype update available, users had a login window to authorize the software to perform the update.
The solution for me was to delete the executable file that downloads the update:
I'm sharing my solution, which is rather crude but it works. If you have any ideas for improving it, I'm all ears.
We use user accounts that do not have admin rights on the PCs.
And with each Skype update available, users had a login window to authorize the software to perform the update.
The solution for me was to delete the executable file that downloads the update:
I'm sharing my solution, which is rather crude but it works. If you have any ideas for improving it, I'm all ears.
Code: Select all
# -*- coding: utf-8 -*-
# [Rechercher dans le domaine get.skype.com] https://get.skype.com/go/getskype-full
# Fonctionne aussi avec le downloader
from setuphelpers import *
import os
import shutil
import time
# import all modules
uninstallkey = ["Skype_is1"]
def install():
print('installing lam-skype')
#run(r'"SkypeSetupFull.exe" /VERYSILENT /NOLAUNCH')
install_exe_if_needed('SkypeSetupFull.exe',silentflags='/VERYSILENT /SP- /NOCANCEL /NORESTART /SUPPRESSMSGBOXES /NOLAUNCH',killbefore=['Skype.exe'])
# NOW DISABLE AUTO UPDATE
time.sleep(5)
killalltasks('Skype.exe')
time.sleep(5)
os.system("reg import disable-skype-update.reg")
os.system("powershell Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser -Force")
os.system("powershell -f skype-patch.ps1")
os.system("powershell Set-ExecutionPolicy -ExecutionPolicy restricted -Scope CurrentUser -Force")
print("done")
# SkypeSetupFull.exe /VERYSILENT /SP- /NOCANCEL /NORESTART /SUPPRESSMSGBOXES /NOLAUNCH
Code: Select all
# Get users
$users = Get-ChildItem -Path "C:\Users"
# Loop through users and delete the file
$users | ForEach-Object {
Remove-Item -Path "C:\Users\$($_.Name)\AppData\Roaming\Microsoft\Skype for Desktop\Skype-Setup.exe" -Force
New-Item -ItemType directory -Path "C:\Users\$($_.Name)\AppData\Roaming\Microsoft\Skype for Desktop\Skype-Setup.exe"
}
echo("done")
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Skype\Phone]
"DisableVersionCheck"=dword:00000001