Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skype 7.39.0.102 #258

Merged
merged 4 commits into from
Aug 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions automatic/_output/skype/7.38.0.101/skype.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata>
<id>skype</id>
<title>Skype</title>
<version>7.38.0.101</version>
<authors>Skype</authors>
<owners>Rob Reynolds</owners>
<summary>Skype - VOIP</summary>
<description>Skype - Install Skype, add your friends as contacts, then call, video call and instant message with them for free. Call people who aren't on Skype too, at really low rates.</description>
<projectUrl>http://www.skype.com</projectUrl>
<packageSourceUrl>https://github.com/ferventcoder/chocolatey-packages/</packageSourceUrl>
<tags>Skype VOIP voice over ip video conferencing admin</tags>
<licenseUrl>http://www.skype.com/intl/en-us/legal/eula/</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://cdn.rawgit.com/ferventcoder/chocolatey-packages/02c21bebe5abb495a56747cbb9b4b5415c933fc0/icons/skype.png</iconUrl>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
<!-- character encoding: “UTF-8” -->
50 changes: 50 additions & 0 deletions automatic/_output/skype/7.38.0.101/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#Install-ChocolateyPackage 'skype' 'exe' '/SILENT /nogoogle /noie /nodesktopicon' 'http://download.skype.com/3694814915aaa38100bfa0933f948e65/partner/59/SkypeSetup.exe'
#Install-ChocolateyPackage 'skype' 'exe' '/SILENT /nogoogle /noie /nodesktopicon' 'https://download.skype.com/msi/SkypeSetup_7.38.0.101.msi'
#Install-ChocolateyPackage 'skype' 'exe' '/SILENT /nogoogle /noie /nodesktopicon' 'http://download.skype.com/SkypeSetupFull.exe'


function isInstalled() {
return Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -match 'Skype\u2122 [\d\.]+$'}
}

$packageName = 'skype'
$fileType = 'msi'
# http://community.skype.com/t5/Windows-archive/Unattended-install/td-p/184628s
$silentArgs = '/qn /norestart STARTSKYPE=FALSE TRANSFORMS=:RemoveDesktopShortcut.mst TRANSFORMS=:RemoveStartup.mst'

$url = 'https://download.skype.com/msi/SkypeSetup_7.38.0.101.msi'

try {

$appInstalled = isInstalled

if ($appInstalled) {
# If Skype (in any version) is already installed on the computer, remove it first, otherwise the
# installation of Skype will fail with an error.
$msiArgs = $('/x' + $appInstalled.IdentifyingNumber + ' ' + $silentArgs)
Write-Host "Uninstalling previous version of Skype, otherwise installing the new version won’t work."
Start-ChocolateyProcessAsAdmin $msiArgs 'msiexec'

# This loop checks every 5 seconds if Skype is already uninstalled.
# Then it proceeds with the download and installation of the Skype
# version specified in the package.
do {
Start-Sleep -Seconds 5
$i += 1

# Break if too much time passed
if ($i -gt 12) {
Write-Error 'Could not uninstall the previous version of Skype.'
break
}

} until (-not (isInstalled))
}

Install-ChocolateyPackage $packageName $fileType $silentArgs $url

} catch {
Write-ChocolateyFailure $packageName $($_.Exception.Message)
throw
}

17 changes: 17 additions & 0 deletions automatic/_output/skype/7.38.0.101/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
$processor = Get-WmiObject Win32_Processor
$is64bit = $processor.AddressWidth -eq 64

if ($is64bit) {
$programUninstallEntryName = "Skype"
$uninstallString = (Get-ItemProperty HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select DisplayName, UninstallString | Where-Object {$_.DisplayName -like "$programUninstallEntryName*"}).UninstallString
} else {
$programUninstallEntryName = "Skype"
$uninstallString = (Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* | Select DisplayName, UninstallString | Where-Object {$_.DisplayName -like "$programUninstallEntryName*"}).UninstallString
} # get the uninstall string of the installed Skype version from the registry

$uninstallString = "$uninstallString" -replace '[{]', '`{' # adding escape character to the braces
$uninstallString = "$uninstallString" -replace '[}]', '`} /passive /norestart' # to work properly with the Invoke-Expression command, add silent arguments

if ($uninstallString -ne "") {
Invoke-Expression "$uninstallString" # start uninstaller
}
22 changes: 22 additions & 0 deletions automatic/_output/skype/7.39.0.102/skype.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata>
<id>skype</id>
<title>Skype</title>
<version>7.39.0.102</version>
<authors>Skype</authors>
<owners>Rob Reynolds</owners>
<summary>Skype - VOIP</summary>
<description>Skype - Install Skype, add your friends as contacts, then call, video call and instant message with them for free. Call people who aren't on Skype too, at really low rates.</description>
<projectUrl>http://www.skype.com</projectUrl>
<packageSourceUrl>https://github.com/ferventcoder/chocolatey-packages/</packageSourceUrl>
<tags>Skype VOIP voice over ip video conferencing admin</tags>
<licenseUrl>http://www.skype.com/intl/en-us/legal/eula/</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://cdn.rawgit.com/ferventcoder/chocolatey-packages/02c21bebe5abb495a56747cbb9b4b5415c933fc0/icons/skype.png</iconUrl>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
<!-- character encoding: “UTF-8” -->
50 changes: 50 additions & 0 deletions automatic/_output/skype/7.39.0.102/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#Install-ChocolateyPackage 'skype' 'exe' '/SILENT /nogoogle /noie /nodesktopicon' 'http://download.skype.com/3694814915aaa38100bfa0933f948e65/partner/59/SkypeSetup.exe'
#Install-ChocolateyPackage 'skype' 'exe' '/SILENT /nogoogle /noie /nodesktopicon' 'https://download.skype.com/msi/SkypeSetup_7.39.0.102.msi'
#Install-ChocolateyPackage 'skype' 'exe' '/SILENT /nogoogle /noie /nodesktopicon' 'http://download.skype.com/SkypeSetupFull.exe'


function isInstalled() {
return Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -match 'Skype\u2122 [\d\.]+$'}
}

$packageName = 'skype'
$fileType = 'msi'
# http://community.skype.com/t5/Windows-archive/Unattended-install/td-p/184628s
$silentArgs = '/qn /norestart STARTSKYPE=FALSE TRANSFORMS=:RemoveDesktopShortcut.mst TRANSFORMS=:RemoveStartup.mst'

$url = 'https://download.skype.com/msi/SkypeSetup_7.39.0.102.msi'

try {

$appInstalled = isInstalled

if ($appInstalled) {
# If Skype (in any version) is already installed on the computer, remove it first, otherwise the
# installation of Skype will fail with an error.
$msiArgs = $('/x' + $appInstalled.IdentifyingNumber + ' ' + $silentArgs)
Write-Host "Uninstalling previous version of Skype, otherwise installing the new version won’t work."
Start-ChocolateyProcessAsAdmin $msiArgs 'msiexec'

# This loop checks every 5 seconds if Skype is already uninstalled.
# Then it proceeds with the download and installation of the Skype
# version specified in the package.
do {
Start-Sleep -Seconds 5
$i += 1

# Break if too much time passed
if ($i -gt 12) {
Write-Error 'Could not uninstall the previous version of Skype.'
break
}

} until (-not (isInstalled))
}

Install-ChocolateyPackage $packageName $fileType $silentArgs $url

} catch {
Write-ChocolateyFailure $packageName $($_.Exception.Message)
throw
}

17 changes: 17 additions & 0 deletions automatic/_output/skype/7.39.0.102/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
$processor = Get-WmiObject Win32_Processor
$is64bit = $processor.AddressWidth -eq 64

if ($is64bit) {
$programUninstallEntryName = "Skype"
$uninstallString = (Get-ItemProperty HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select DisplayName, UninstallString | Where-Object {$_.DisplayName -like "$programUninstallEntryName*"}).UninstallString
} else {
$programUninstallEntryName = "Skype"
$uninstallString = (Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* | Select DisplayName, UninstallString | Where-Object {$_.DisplayName -like "$programUninstallEntryName*"}).UninstallString
} # get the uninstall string of the installed Skype version from the registry

$uninstallString = "$uninstallString" -replace '[{]', '`{' # adding escape character to the braces
$uninstallString = "$uninstallString" -replace '[}]', '`} /passive /norestart' # to work properly with the Invoke-Expression command, add silent arguments

if ($uninstallString -ne "") {
Invoke-Expression "$uninstallString" # start uninstaller
}