-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add one-time-packages to automatic repo
add one-time-packages to automatic repo
- Loading branch information
Showing
10 changed files
with
184 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. --> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
<metadata> | ||
<id>gridmove</id> | ||
<title>GridMove</title> | ||
<version>{{PackageVersion}}</version> | ||
<authors>Joao Paiva</authors> | ||
<owners>doc</owners> | ||
<summary>GridMove is a program that aims at making windows management easier. It helps you with this task by defining a visual grid on your desktop, to which you can easily snap windows. </summary> | ||
<description>GridMove is a Windows program that aims at making windows management easier. It helps you with this task by defining a visual grid on your desktop, to which you can easily snap windows. It is built with AutoHotkey, a scripting language for desktop automation for Windows.</description> | ||
<projectUrl>http://jgpaiva.dcmembers.com/gridmove.html</projectUrl> | ||
<tags>grid move gridmove snap</tags> | ||
<packageSourceUrl>https://github.com/aronovgj/choco-auto</packageSourceUrl> | ||
<copyright></copyright> | ||
<licenseUrl>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</licenseUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<iconUrl>https://cdn.rawgit.com/aronovgj/chocolatey/master/icons/gridmove.ico</iconUrl> | ||
<releaseNotes></releaseNotes> | ||
</metadata> | ||
<files> | ||
<file src="tools\**" target="tools" /> | ||
</files> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
$packageName = '{{PackageName}}' | ||
$url = '{{DownloadUrl}}' | ||
|
||
Stop-Process -ProcessName gridmove* | ||
$packageArgs = @{ | ||
packageName = $packageName | ||
fileType = 'exe' | ||
url = $url | ||
silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' | ||
softwareName = $packageName | ||
checksum = '{{Checksum}}' | ||
checksumType = 'sha256' | ||
} | ||
|
||
Install-ChocolateyPackage @packageArgs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
$packageName = 'gridmove' | ||
$fileType = 'exe' | ||
$silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART' | ||
$uninstallerPath = "${env:programfiles(x86)}\GridMove\unins000.exe" | ||
try { | ||
Uninstall-ChocolateyPackage $packageName $fileType $silentArgs $uninstallerPath | ||
Write-ChocolateySuccess $packageName | ||
} catch { | ||
Write-ChocolateyFailure $packageName $($_.Exception.Message) | ||
throw | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. --> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
<metadata> | ||
<id>inssider</id> | ||
<title>inSSIDer</title> | ||
<version>3.1.2.12</version> | ||
<authors>metageek</authors> | ||
<owners>doc</owners> | ||
<summary>inSSIDer for Home gives you visibility into your Wi-Fi environment, showing you the security, signal strength, MAC address, and channel of all access points in your area.</summary> | ||
<description>inSSIDer for Home gives you visibility into your Wi-Fi environment, showing you the security, signal strength, MAC address, and channel of all access points in your area. Since 2008 inSSIDer has been the standard Wi-Fi discovery tool for millions of Wi-Fi users worldwide. | ||
|
||
Note: The program is not free anymore. 3.1.2.1 is the last free version. | ||
</description> | ||
<projectUrl>http://www.inssider.com/</projectUrl> | ||
<tags>ssid wlan network band frequency signal channel mac security</tags> | ||
<copyright></copyright> | ||
<licenseUrl>https://en.wikipedia.org/wiki/Freeware</licenseUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<iconUrl>https://cdn.rawgit.com/aronovgj/chocolatey/master/icons/inssider.png</iconUrl> | ||
<packageSourceUrl>https://github.com/aronovgj/choco-auto</packageSourceUrl> | ||
<dependencies> | ||
<dependency id="autohotkey.portable" /> | ||
</dependencies> | ||
<releaseNotes></releaseNotes> | ||
</metadata> | ||
<files> | ||
<file src="tools\**" target="tools" /> | ||
</files> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
$url = '{{DownloadUrl}}' | ||
$packageName = '{{PackageName}}' | ||
|
||
$packageArgs = @{ | ||
packageName = $packageName | ||
fileType = 'msi' | ||
url = $url | ||
silentArgs = '/passive' | ||
softwareName = $packageName | ||
checksum = '{{Checksum}}' | ||
checksumType = 'sha256' | ||
} | ||
|
||
Install-ChocolateyPackage @packageArgs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
$packageName = 'inssider' | ||
$version = '3.1.2.1' | ||
$fileType = 'MSI' | ||
$validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx | ||
$scriptPath = Split-Path -parent $MyInvocation.MyCommand.Definition | ||
$ahkFile = "$scriptPath\uninstallInSSIDer.ahk" | ||
|
||
function Find-CID { | ||
param([String]$croot, [string]$cdname, [string]$version) | ||
|
||
if (Test-Path $croot) { | ||
Get-ChildItem -Force -Path $croot | foreach { | ||
$CurrentKey = (Get-ItemProperty -Path $_.PsPath) | ||
if ($CurrentKey -match $cdname -and $CurrentKey -match $version) { | ||
return $CurrentKey.PsChildName | ||
} | ||
} | ||
} | ||
return $null | ||
} | ||
|
||
$uroot = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall' | ||
$uroot64 = 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall' | ||
$registryPath = Find-CID $uroot "inSSIDer" "$version" | ||
if ($registryPath -eq $null) { | ||
# try 64bit registry | ||
$registryPath = Find-CID $uroot64 "inSSIDer" "$version" | ||
} | ||
if ($registryPath -eq $null) { | ||
} else { | ||
Start-Process 'AutoHotkey' $ahkFile | ||
Uninstall-ChocolateyPackage $packageName $fileType $registryPath -validExitCodes @(0) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
WinWait, ahk_class #32770, , 500 | ||
ControlClick, Button1, ahk_class #32770 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. --> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
<metadata> | ||
<id>myhotkey</id> | ||
<title>MyHotkey</title> | ||
<version>{{PackageVersion}}</version> | ||
<authors>Horst Scheuer</authors> | ||
<owners>doc</owners> | ||
<summary>Provides some Hotkeys. E.g. allows you to drag or resize a window with Alt + right mouse button or Alt + left mouse button</summary> | ||
<description>Provides some Hotkeys. E.g. allows you to drag or resize a window with Alt + right mouse button or Alt + left mouse button. The software is only available in German.</description> | ||
<projectUrl>https://horstscheuer.net/win-x-menue-windows-7/</projectUrl> | ||
<tags>MyHotkey hotkey</tags> | ||
<copyright></copyright> | ||
<licenseUrl>http://creativecommons.org/licenses/by-nc-sa/3.0/deed.de</licenseUrl> | ||
<packageSourceUrl>https://github.com/aronovgj/choco-auto</packageSourceUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<iconUrl>https://cdn.rawgit.com/aronovgj/chocolatey/master/icons/myhotkey.png</iconUrl> | ||
<releaseNotes></releaseNotes> | ||
</metadata> | ||
<files> | ||
<file src="tools\**" target="tools" /> | ||
</files> | ||
</package> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
$packageName = '{{PackageName}}' | ||
$url = '{{DownloadUrl}}' | ||
$fileName = "myHotkey.exe" | ||
$linkName = "myHotkey.lnk" | ||
$destdir = $(Split-Path -parent $MyInvocation.MyCommand.Definition) | ||
|
||
$packageArgs = @{ | ||
packageName = $packageName | ||
unzipLocation = $destdir | ||
fileType = 'zip' | ||
url = $url | ||
softwareName = $packageName | ||
checksum = '{{Checksum}}' | ||
checksumType = 'sha256' | ||
} | ||
|
||
Install-ChocolateyZipPackage @packageArgs | ||
|
||
#install start menu shortcut | ||
$programs = [environment]::GetFolderPath([environment+specialfolder]::Programs) | ||
$shortcutFilePath = Join-Path $programs $linkName | ||
$targetPath = Join-Path $destdir $fileName | ||
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
$linkName = "myHotkey.lnk" | ||
$programs = [environment]::GetFolderPath([environment+specialfolder]::Programs) | ||
$shortcutFilePath = Join-Path $programs $linkName | ||
|
||
if(Test-Path $shortcutFilePath) { | ||
del $shortcutFilePath | ||
} |