Skip to content

Commit

Permalink
gsuite-migration-tool
Browse files Browse the repository at this point in the history
  • Loading branch information
tunisiano187 committed Jul 8, 2024
1 parent 616d517 commit 1f091a7
Show file tree
Hide file tree
Showing 6 changed files with 165 additions and 1 deletion.
1 change: 0 additions & 1 deletion automatic/git-annex/update.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
$ErrorActionPreference = 'Stop'
import-module Chocolatey-AU
Import-Module ..\..\scripts\au_extensions.psm1
Import-Module "$PSScriptRoot\..\..\scripts\au_extensions.psm1"
choco upgrade -y autohotkey

$releases = 'https://downloads.kitenet.net/git-annex/windows/current/git-annex-installer.exe.info'
Expand Down
38 changes: 38 additions & 0 deletions automatic/gsuite-migration-outlook/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[![](https://img.shields.io/chocolatey/v/gsuite-migration-outlook?color=green&label=gsuite-migration-outlook)](https://chocolatey.org/packages/gsuite-migration-outlook) [![](https://img.shields.io/chocolatey/dt/gsuite-migration-outlook)](https://chocolatey.org/packages/gsuite-migration-outlook)

## G Suite Migration for Microsoft Outlook® (GSMMO) (Install)

![Screenshot of G Suite Migration for Microsoft Outlook in progress](https://tools.google.com/dlpage/res/outlookmigration/gammo-output.gif)

Now you can migrate email, contacts and calendar data from Microsoft Outlook® profiles and PST files to G Suite.

### Feature Overview

- Perform a user driven individual migration
- Selectively migrate email, calendar or contacts (or any combination thereof)

### System Requirements
- Google Apps Free Edition
- G Suite
- G Suite for Education
- G Suite for Government

- Windows XP (32 bit) SP3
- Windows Vista (32 and 64 bit) SP1
- Windows 7 (32 and 64 bit)
- Windows 8 (32 and 64 bit)
- Windows 10 (32 and 64 bit)

- Microsoft Outlook 2003® SP3
- Microsoft Outlook 2007® SP2
- Microsoft Outlook 2010® (32 and 64 bit)
- Microsoft Outlook 2013® (32 and 64 bit)
- Microsoft Outlook 2016® (32 and 64 bit)

#### [choco://gsuite-migration-outlook](choco://gsuite-migration-outlook)
To use choco:// protocol URLs, install [(unofficial) choco:// Protocol support](https://chocolatey.org/packages/choco-protocol-support)

### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)

Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/choco-packages@f986b7f5de3afc021180256752805698d4efbc38/icons/patreon.png)](https://www.patreon.com/tunisiano)
61 changes: 61 additions & 0 deletions automatic/gsuite-migration-outlook/gsuite-migration-outlook.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>gsuite-migration-outlook</id>
<version>4.3.2.0</version>
<title>G Suite Migration for Microsoft Outlook® (GSMMO) (Install)</title>
<authors>Google</authors>
<owners>tunisiano</owners>
<licenseUrl>https://gsuite.google.com/terms/standard_terms.html</licenseUrl>
<projectUrl>https://tools.google.com/dlpage/outlookmigration</projectUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/tunisiano187/Choco-packages@e8e9dc1db0530fbd0d7bbf9a802ebad161079794/icons/gsuite-migration-outlook.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description><![CDATA[## G Suite Migration for Microsoft Outlook® (GSMMO) (Install)
![Screenshot of G Suite Migration for Microsoft Outlook in progress](https://tools.google.com/dlpage/res/outlookmigration/gammo-output.gif)
Now you can migrate email, contacts and calendar data from Microsoft Outlook® profiles and PST files to G Suite.
### Feature Overview
- Perform a user driven individual migration
- Selectively migrate email, calendar or contacts (or any combination thereof)
### System Requirements
- Google Apps Free Edition
- G Suite
- G Suite for Education
- G Suite for Government
- Windows XP (32 bit) SP3
- Windows Vista (32 and 64 bit) SP1
- Windows 7 (32 and 64 bit)
- Windows 8 (32 and 64 bit)
- Windows 10 (32 and 64 bit)
- Microsoft Outlook 2003® SP3
- Microsoft Outlook 2007® SP2
- Microsoft Outlook 2010® (32 and 64 bit)
- Microsoft Outlook 2013® (32 and 64 bit)
- Microsoft Outlook 2016® (32 and 64 bit)
#### [choco://gsuite-migration-outlook](choco://gsuite-migration-outlook)
To use choco:// protocol URLs, install [(unofficial) choco:// Protocol support ](https://chocolatey.org/packages/choco-protocol-support)
### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Choco-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
]]></description>
<summary>GSMMO - a tool to migrate Microsoft Outlook data to G Suite.</summary>
<releaseNotes>https://support.google.com/a/users/answer/1283788</releaseNotes>
<copyright>Google</copyright>
<tags>gsmmo gammo gsuite google migration outlook</tags>
<packageSourceUrl>https://github.com/tunisiano187/Choco-packages/tree/master/automatic/gsuite-migration-outlook</packageSourceUrl>
<docsUrl>https://support.google.com/a/answer/176213</docsUrl>
<bugTrackerUrl>https://support.google.com/a/users/answer/1283788</bugTrackerUrl>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
26 changes: 26 additions & 0 deletions automatic/gsuite-migration-outlook/tools/ChocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
$packageName = 'gsuite-migration-outlook'
$installerType = 'EXE'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://dl.google.com/outlookmigration/enterprise_outlookmigration.msi'
$checksum = '9314162D813C3644AC546ED0265BCBC1A1B878329B1B2A7E669FA993A1AAA6B3'
$url64 = 'https://dl.google.com/dl/outlookmigration/x64/enterprise_outlookmigration.msi'
$checksum64 = '32DFEAB7715B8D0CA823E77B7BBC3DFEB59D48FD21BB06FF6109E578DB0AF515'
$checksumType = 'sha256'
$silentArgs = '/silent /installsource silent /install'
$validExitCodes = @(0)

$packageArgs = @{
packageName = $packageName
fileType = 'EXE'
url = $url
url64 = $url64
softwareName = 'Google Apps Migration for Microsoft Outlook*'
checksum = $checksum
checksum64 = $checksum64
checksumType = $checksumType
silentArgs = $silentArgs
validExitCodes= $validExitCodes
}

Install-ChocolateyPackage @packageArgs

40 changes: 40 additions & 0 deletions automatic/gsuite-migration-outlook/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
$ErrorActionPreference = 'Stop'
import-module Chocolatey-AU
Import-Module ..\..\scripts\au_extensions.psm1

$releases = 'https://support.google.com/a/answer/1283788'

function global:au_SearchReplace {
@{
'tools/chocolateyInstall.ps1' = @{
"(^[$]url(32)?\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'"
"(^[$]checksum(32)?\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'"
"(^[$]checksumType(32)?\s*=\s*)('.*')" = "`$1'$($Latest.ChecksumType32)'"
"(^[$]url64\s*=\s*)('.*')" = "`$1'$($Latest.URL64)'"
"(^[$]checksum64\s*=\s*)('.*')" = "`$1'$($Latest.Checksum64)'"
}
}
}


function global:au_AfterUpdate($Package) {
Invoke-VirusTotalScan $Package
}

function global:au_GetLatest {
$page = Invoke-WebRequest -Uri $releases
$regexPattern = 'Release notes for (\d+(\.\d+)*)'
$versionMatch = $page.Content | Select-String -Pattern $regexPattern -AllMatches
$version = $versionMatch.Matches[0].Groups[1].Value

$url32 = "https://dl.google.com/outlookmigration/enterprise_outlookmigration.msi"
$url64 = "https://dl.google.com/dl/outlookmigration/x64/enterprise_outlookmigration.msi"
. ..\..\scripts\Get-FileVersion.ps1
$FileInfo = Get-FileVersion $url32
$FileInfo64 = Get-FileVersion $url64

$Latest = @{ URL32 = $url32; Version = $version; Checksum32 = $FileInfo.Checksum; ChecksumType32 = $FileInfo.ChecksumType; URL64 = $url64; Checksum64 = $FileInfo64.Checksum; ChecksumType64 = $FileInfo.ChecksumType }
return $Latest
}

update -ChecksumFor none -NoCheckChocoVersion
Binary file added icons/gsuite-migration-outlook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1f091a7

Please sign in to comment.