<#
setup.ps1

ARM Development Studio 5
Place x86 and x64 zip files in sub-directory named setup.
Script chooses appropriate installer and unpacks with 7-Zip.
Setup is run with SKIP_DRIVERS=1
Trusted Publisher Certs are then installed, followed by the drivers.

Sailer, Adam 2016.05.11 #>
$invoke = split-path -path $myinvocation.mycommand.path -parent $os = gwmi Win32_OperatingSystem $proc = gwmi Win32_Processor $whatIf = $false $unpack = "$env:TEMP\Unpack"
$license = @" SERVER your.server.domain 0 8224 USE_SERVER "@
Function KillApps
{
    write-host "`n`n@@ Called KillApps" -fore Magenta
get-process | ? { $_.Path -imatch '\\ds-' }
get-process | ? { $_.Path -imatch '\\ds-' } | stop-process -force
dir $env:TEMP | remove-item -recurse -force -ea SilentlyContinue
}
Function Uninstall {     Param([string]$inp)
write-host "`n`n@@ Called Uninstall" -fore Magenta
if (!$inp) { Return }
$paths = @(
'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall',
'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall'
) | ? { test-path $_ }
dir $paths | % { gp $_.PsPath } | ? { $_.DisplayName -imatch $inp } | % { $item = $_
$item.UninstallString | % {
$array = $_.Split('/') $app = $array[0]; $options = "/s /$($array[1])"
if ($_ -imatch 'msiexec') { $array = $_.Split(' {}') $app = $array[0]; $options = "/qn /x {$($array[2])} /norestart"
}
write-host "`nUninstall : $($item.DisplayName) $($item.DisplayVersion)"
write-host $app -fore DarkGray             write-host $options -fore DarkGray
if (!$whatIf) {
$process = Start-Process -FilePath $app -ArgumentList $options -Wait -Passthru
$process.ExitCode | ? { $_ -ne 0 } | % { write $_; exit $_ }
}
}
}
}

Function Unpack { write-host "`n`n@@ Called Unpack" -fore Magenta
$7z = get-item "$env:ProgramFiles\7-Zip\7z.exe" -ea SilentlyContinue if (!$7z) { exit 7 }
dir $env:TEMP | remove-item -recurse -force -ea SilentlyContinue
$ident = 'x86' if (($proc.AddressWidth -eq 64) -and ($proc.DataWidth -eq 64)) { $ident = 'x64' }
dir $invoke\setup -recurse -include *.zip | ? { $_ -imatch $ident } | % {
$options = "x -o`"$unpack`" `"$_`" -y" write-host "Unpack : $($_.Name)"
if (!$whatIf)
{
$process = Start-Process -FilePath $7z -ArgumentList $options -Wait -Passthru
$process.ExitCode | ? { $_ -ne 0 } | % { write $_; exit $_ }
}
}
}
Function Setup { write-host "`n`n@@ Called Setup" -fore Magenta
dir $unpack -recurse -include *.msi | % { $app = $_
        $options = "/qn /i `"$app`" /norestart /l*v `"$env:TEMP\ds5.log`" EULA=1 SKIP_DRIVERS=1"
write-host "Setup : $($app.Name)"
        write-host $options -fore DarkGray
if (!$whatIf)
{
$process = Start-Process -FilePath msiexec.exe -ArgumentList $options -Wait -Passthru
$process.ExitCode | ? { $_ -ne 0 } | % { write $_; exit $_ }
}
    }
}
Function Drivers {
write-host "`n`n@@ Called Drivers" -for Magenta
## Certs
$map = @{
'HKLM:\SOFTWARE\Microsoft\SystemCertificates\TrustedPublisher\Certificates\0B72C117C7EA28124BCC63BABA4711100E1BEC98' = [byte[]](0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x0b,0x72,0xc1,0x17,0xc7,0xea,0x28,0x12,0x4b,0xcc,0x63,0xba,0xba,0x47,0x11,0x10,0x0e,0x1b,0xec,0x98,0x04,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x92,0x7b,0xad,0x73,0xee,0xde,0xca,0x40,0x53,0xce,0xcf,0xdd,0xb3,0xb4,0x79,0x53,0x19,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x39,0x1b,0x1e,0x1b,0xfb,0x2d,0x86,0xd4,0x86,0xcf,0x82,0xb9,0x25,0x50,0x32,0x38,0x14,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0xf3,0xbb,0xc4,0x9e,0xc4,0x1c,0xdd,0xc7,0xe9,0xfd,0x14,0x0f,0x78,0xdf,0x09,0x13,0x51,0x83,0x2d,0xc3,0x0f,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0xf9,0x21,0xf3,0xb7,0x88,0x56,0x41,0x57,0xb7,0xc8,0x69,0x15,0x9f,0x86,0x43,0x61,0xc7,0x1e,0xe0,0x55,0x20,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x05,0x00,0x00,0x30,0x82,0x05,0x69,0x30,0x82,0x04,0x51,0xa0,0x03,0x02,0x01,0x02,0x02,0x10,0x37,0xa3,0x03,0xcb,0x19,0x2b,0x12,0x87,0xf8,0x0c,0xcc,0x9f,0x27,0xd7,0x45,0x0e,0x30,0x0d,0x06,0x09,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x01,0x01,0x05,0x05,0x00,0x30,0x81,0xb4,0x31,0x0b,0x30,0x09,0x06,0x03,0x55,0x04,0x06,0x13,0x02,0x55,0x53,0x31,0x17,0x30,0x15,0x06,0x03,0x55,0x04,0x0a,0x13,0x0e,0x56,0x65,0x72,0x69,0x53,0x69,0x67,0x6e,0x2c,0x20,0x49,0x6e,0x63,0x2e,0x31,0x1f,0x30,0x1d,0x06,0x03,0x55,0x04,0x0b,0x13,0x16,0x56,0x65,0x72,0x69,0x53,0x69,0x67,0x6e,0x20,0x54,0x72,0x75,0x73,0x74,0x20,0x4e,0x65,0x74,0x77,0x6f,0x72,0x6b,0x31,0x3b,0x30,0x39,0x06,0x03,0x55,0x04,0x0b,0x13,0x32,0x54,0x65,0x72,0x6d,0x73,0x20,0x6f,0x66,0x20,0x75,0x73,0x65,0x20,0x61,0x74,0x20,0x68,0x74,0x74,0x70,0x73,0x3a,0x2f,0x2f,0x77,0x77,0x77,0x2e,0x76,0x65,0x72,0x69,0x73,0x69,0x67,0x6e,0x2e,0x63,0x6f,0x6d,0x2f,0x72,0x70,0x61,0x20,0x28,0x63,0x29,0x31,0x30,0x31,0x2e,0x30,0x2c,0x06,0x03,0x55,0x04,0x03,0x13,0x25,0x56,0x65,0x72,0x69,0x53,0x69,0x67,0x6e,0x20,0x43,0x6c,0x61,0x73,0x73,0x20,0x33,0x20,0x43,0x6f,0x64,0x65,0x20,0x53,0x69,0x67,0x6e,0x69,0x6e,0x67,0x20,0x32,0x30,0x31,0x30,0x20,0x43,0x41,0x30,0x1e,0x17,0x0d,0x31,0x33,0x30,0x31,0x32,0x38,0x30,0x30,0x30,0x30,0x30,0x30,0x5a,0x17,0x0d,0x31,0x34,0x30,0x32,0x30,0x34,0x32,0x33,0x35,0x39,0x35,0x39,0x5a,0x30,0x81,0xac,0x31,0x0b,0x30,0x09,0x06,0x03,0x55,0x04,0x06,0x13,0x02,0x47,0x42,0x31,0x17,0x30,0x15,0x06,0x03,0x55,0x04,0x08,0x13,0x0e,0x43,0x61,0x6d,0x62,0x72,0x69,0x64,0x67,0x65,0x73,0x68,0x69,0x72,0x65,0x31,0x12,0x30,0x10,0x06,0x03,0x55,0x04,0x07,0x13,0x09,0x43,0x61,0x6d,0x62,0x72,0x69,0x64,0x67,0x65,0x31,0x10,0x30,0x0e,0x06,0x03,0x55,0x04,0x0a,0x14,0x07,0x41,0x52,0x4d,0x20,0x4c,0x74,0x64,0x31,0x0c,0x30,0x0a,0x06,0x03,0x55,0x04,0x0b,0x14,0x03,0x53,0x44,0x44,0x31,0x3e,0x30,0x3c,0x06,0x03,0x55,0x04,0x0b,0x13,0x35,0x44,0x69,0x67,0x69,0x74,0x61,0x6c,0x20,0x49,0x44,0x20,0x43,0x6c,0x61,0x73,0x73,0x20,0x33,0x20,0x2d,0x20,0x4d,0x69,0x63,0x72,0x6f,0x73,0x6f,0x66,0x74,0x20,0x53,0x6f,0x66,0x74,0x77,0x61,0x72,0x65,0x20,0x56,0x61,0x6c,0x69,0x64,0x61,0x74,0x69,0x6f,0x6e,0x20,0x76,0x32,0x31,0x10,0x30,0x0e,0x06,0x03,0x55,0x04,0x03,0x14,0x07,0x41,0x52,0x4d,0x20,0x4c,0x74,0x64,0x30,0x82,0x01,0x22,0x30,0x0d,0x06,0x09,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x01,0x01,0x01,0x05,0x00,0x03,0x82,0x01,0x0f,0x00,0x30,0x82,0x01,0x0a,0x02,0x82,0x01,0x01,0x00,0xc1,0xb7,0x56,0x9a,0x75,0x43,0xba,0x88,0x85,0x66,0x41,0xee,0x03,0x22,0xd7,0xec,0xae,0x46,0x6f,0x01,0x03,0xad,0x2b,0xe5,0x0f,0xc1,0x6f,0xf0,0x17,0x49,0xbf,0x19,0x45,0x5a,0x80,0xf7,0x89,0x99,0x41,0xc8,0xef,0xc2,0x27,0xdc,0x5b,0x8d,0x3b,0xf2,0x93,0x3f,0x53,0xe9,0x99,0x0d,0xcc,0x2d,0x9a,0xc0,0x5f,0x17,0xa5,0x31,0x7f,0xcd,0x14,0xd5,0xd5,0x27,0x84,0x2f,0xab,0x86,0xe7,0x51,0x7d,0x56,0xbb,0x80,0x06,0x1a,0xc0,0xcd,0xce,0x56,0x49,0x4a,0x78,0xaf,0x2e,0xe9,0xda,0x4c,0x91,0x52,0x2e,0x22,0x61,0xb6,0x43,0xcf,0x73,0x90,0xf9,0x9a,0x28,0x23,0xdd,0x11,0xbd,0x74,0x32,0xbb,0xcb,0x1e,0xe3,0x34,0xcc,0x71,0xd5,0xc1,0xd3,0xad,0xab,0xd0,0xc9,0x6f,0xc0,0xd1,0x2b,0xd2,0xe9,0x37,0x2a,0xaf,0x9f,0x6f,0xe4,0x89,0x5c,0x13,0x0e,0x27,0xaa,0xfc,0x39,0x55,0x97,0x2a,0xcd,0xf9,0x6c,0xb1,0x90,0xbb,0x85,0x46,0x5d,0xe8,0x37,0x55,0x8d,0x0f,0xc0,0x18,0x9c,0xd1,0x98,0x07,0xa5,0x90,0x99,0x12,0x00,0xce,0xb6,0x40,0x7a,0x27,0x7c,0x6d,0x48,0x7a,0x94,0x12,0xc4,0xfa,0x59,0xa6,0xb7,0x73,0x47,0xf0,0x38,0x7b,0x4a,0xd7,0x5c,0x13,0x2a,0x06,0xa4,0xdb,0x88,0xcf,0x14,0xb2,0x0f,0xc6,0x33,0x42,0x45,0x73,0xca,0x3c,0xe3,0xb2,0xac,0x26,0x69,0x88,0x95,0x09,0x2c,0x10,0x5d,0x68,0x3f,0xb9,0x62,0xcc,0xce,0xab,0xc5,0x8c,0xda,0x82,0x8c,0xbd,0xdf,0x63,0x35,0xeb,0xe2,0x26,0xc7,0x60,0x8c,0xe8,0xfc,0xd4,0x32,0x0f,0x09,0x57,0x19,0x5f,0x02,0x03,0x01,0x00,0x01,0xa3,0x82,0x01,0x7b,0x30,0x82,0x01,0x77,0x30,0x09,0x06,0x03,0x55,0x1d,0x13,0x04,0x02,0x30,0x00,0x30,0x0e,0x06,0x03,0x55,0x1d,0x0f,0x01,0x01,0xff,0x04,0x04,0x03,0x02,0x07,0x80,0x30,0x40,0x06,0x03,0x55,0x1d,0x1f,0x04,0x39,0x30,0x37,0x30,0x35,0xa0,0x33,0xa0,0x31,0x86,0x2f,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x63,0x73,0x63,0x33,0x2d,0x32,0x30,0x31,0x30,0x2d,0x63,0x72,0x6c,0x2e,0x76,0x65,0x72,0x69,0x73,0x69,0x67,0x6e,0x2e,0x63,0x6f,0x6d,0x2f,0x43,0x53,0x43,0x33,0x2d,0x32,0x30,0x31,0x30,0x2e,0x63,0x72,0x6c,0x30,0x44,0x06,0x03,0x55,0x1d,0x20,0x04,0x3d,0x30,0x3b,0x30,0x39,0x06,0x0b,0x60,0x86,0x48,0x01,0x86,0xf8,0x45,0x01,0x07,0x17,0x03,0x30,0x2a,0x30,0x28,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x02,0x01,0x16,0x1c,0x68,0x74,0x74,0x70,0x73,0x3a,0x2f,0x2f,0x77,0x77,0x77,0x2e,0x76,0x65,0x72,0x69,0x73,0x69,0x67,0x6e,0x2e,0x63,0x6f,0x6d,0x2f,0x63,0x70,0x73,0x30,0x13,0x06,0x03,0x55,0x1d,0x25,0x04,0x0c,0x30,0x0a,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x03,0x03,0x30,0x71,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x01,0x01,0x04,0x65,0x30,0x63,0x30,0x24,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x86,0x18,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x6f,0x63,0x73,0x70,0x2e,0x76,0x65,0x72,0x69,0x73,0x69,0x67,0x6e,0x2e,0x63,0x6f,0x6d,0x30,0x3b,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x30,0x02,0x86,0x2f,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x63,0x73,0x63,0x33,0x2d,0x32,0x30,0x31,0x30,0x2d,0x61,0x69,0x61,0x2e,0x76,0x65,0x72,0x69,0x73,0x69,0x67,0x6e,0x2e,0x63,0x6f,0x6d,0x2f,0x43,0x53,0x43,0x33,0x2d,0x32,0x30,0x31,0x30,0x2e,0x63,0x65,0x72,0x30,0x1f,0x06,0x03,0x55,0x1d,0x23,0x04,0x18,0x30,0x16,0x80,0x14,0xcf,0x99,0xa9,0xea,0x7b,0x26,0xf4,0x4b,0xc9,0x8e,0x8f,0xd7,0xf0,0x05,0x26,0xef,0xe3,0xd2,0xa7,0x9d,0x30,0x11,0x06,0x09,0x60,0x86,0x48,0x01,0x86,0xf8,0x42,0x01,0x01,0x04,0x04,0x03,0x02,0x04,0x10,0x30,0x16,0x06,0x0a,0x2b,0x06,0x01,0x04,0x01,0x82,0x37,0x02,0x01,0x1b,0x04,0x08,0x30,0x06,0x01,0x01,0x00,0x01,0x01,0xff,0x30,0x0d,0x06,0x09,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x01,0x01,0x05,0x05,0x00,0x03,0x82,0x01,0x01,0x00,0x9b,0x5d,0xf1,0x9e,0xef,0x3a,0xdc,0xfc,0xf8,0x02,0xfb,0xa5,0x75,0x40,0x1d,0x7e,0x2a,0x64,0x15,0xcb,0xa1,0x2d,0x37,0xb9,0xe3,0x2e,0x76,0x93,0xb7,0x99,0xda,0x37,0x2f,0x19,0x94,0x2e,0x6b,0xdb,0x3a,0x32,0x18,0xbf,0xf2,0x01,0x9e,0x68,0xcc,0x07,0xfc,0x21,0x41,0xaf,0x9c,0xec,0x83,0x85,0x88,0x31,0x7e,0x08,0xf7,0x4e,0x38,0xd3,0x8b,0xfb,0x76,0x9a,0x76,0xbc,0xef,0x4e,0x02,0x14,0xe4,0x50,0xab,0xe5,0x1c,0x18,0x54,0xd1,0xe6,0x67,0x08,0x45,0x54,0x42,0x4d,0x2c,0xb1,0x7d,0x63,0x7f,0x45,0x23,0x3a,0xbb,0xa3,0x7a,0xd5,0xcb,0x40,0x3c,0x76,0xab,0x2f,0x8d,0x9a,0xc7,0xf9,0x6d,0x96,0xd7,0x31,0x3c,0x54,0x1e,0xc0,0x83,0x27,0x53,0x32,0x54,0x92,0xb5,0xe4,0x33,0x5a,0x95,0x0b,0x9d,0x6d,0xdb,0xca,0xee,0xd8,0xb2,0x8e,0x80,0x72,0x5b,0x01,0x32,0x8b,0x32,0xf8,0x3f,0x4a,0x9c,0x0c,0xa9,0xb7,0x3d,0x92,0x8b,0x60,0x06,0xde,0x3f,0x49,0x53,0xef,0x2e,0xaf,0xe8,0xeb,0x9d,0x56,0xdc,0x78,0x85,0x02,0x53,0x74,0x9a,0x83,0xb8,0xe8,0xb2,0x1b,0x89,0xc8,0xc2,0xa4,0xe2,0x6a,0x8e,0xe4,0xfb,0x1b,0xf6,0x0b,0x9c,0xf7,0x84,0x86,0x5d,0xc4,0xc0,0x3b,0x00,0x2f,0x8b,0xf6,0x30,0x39,0xd3,0x32,0x4f,0x47,0x4b,0x8d,0x40,0xfb,0x84,0x2d,0x41,0xb8,0xc1,0xd2,0x47,0x8f,0x50,0x58,0x97,0x01,0xe1,0xd3,0x27,0x23,0xd5,0x70,0xdb,0x9d,0xc5,0x0b,0x43,0x81,0xf2,0x92,0xa3,0x81,0x20,0x6f,0x58,0x0a,0xa4,0xc1,0x71,0x88,0xd0,0xd7,0xe6,0x08,0x3f);
'HKLM:\SOFTWARE\Microsoft\SystemCertificates\TrustedPublisher\Certificates\1478840F2848FCCDD91AE1CD5C5A7B7CAF11B24D' = [byte[]](0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x14,0x78,0x84,0x0f,0x28,0x48,0xfc,0xcd,0xd9,0x1a,0xe1,0xcd,0x5c,0x5a,0x7b,0x7c,0xaf,0x11,0xb2,0x4d,0x04,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0xf9,0xc9,0x25,0xe8,0x2f,0x0e,0xdd,0x2e,0x67,0xdd,0x71,0x1a,0x34,0xca,0xe3,0xd5,0x19,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0xf1,0x14,0xcc,0x06,0x65,0x6d,0xcb,0xbb,0x44,0xb7,0x3f,0x26,0xf0,0x76,0x82,0xaa,0x14,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x9c,0x8f,0xe9,0x97,0x55,0x11,0xe9,0x87,0x7c,0xa8,0x9a,0x42,0x8b,0xb7,0xd1,0x77,0xbc,0x02,0xe3,0x37,0x0f,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x05,0x99,0xe1,0xfc,0x04,0xdc,0x2a,0x8c,0x6f,0xe2,0x07,0xe8,0x1f,0x8a,0x67,0x32,0x52,0xbf,0x34,0xd3,0x6a,0xad,0x5d,0x68,0x64,0x80,0x28,0x15,0xe4,0x8a,0x5b,0x43,0x20,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0xe9,0x04,0x00,0x00,0x30,0x82,0x04,0xe5,0x30,0x82,0x03,0xcd,0xa0,0x03,0x02,0x01,0x02,0x02,0x10,0x39,0x4c,0x0f,0x4c,0xad,0xf2,0x41,0x1d,0x68,0x3b,0xbd,0x8a,0x7f,0x2b,0x64,0x64,0x30,0x0d,0x06,0x09,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x01,0x01,0x0b,0x05,0x00,0x30,0x7f,0x31,0x0b,0x30,0x09,0x06,0x03,0x55,0x04,0x06,0x13,0x02,0x55,0x53,0x31,0x1d,0x30,0x1b,0x06,0x03,0x55,0x04,0x0a,0x13,0x14,0x53,0x79,0x6d,0x61,0x6e,0x74,0x65,0x63,0x20,0x43,0x6f,0x72,0x70,0x6f,0x72,0x61,0x74,0x69,0x6f,0x6e,0x31,0x1f,0x30,0x1d,0x06,0x03,0x55,0x04,0x0b,0x13,0x16,0x53,0x79,0x6d,0x61,0x6e,0x74,0x65,0x63,0x20,0x54,0x72,0x75,0x73,0x74,0x20,0x4e,0x65,0x74,0x77,0x6f,0x72,0x6b,0x31,0x30,0x30,0x2e,0x06,0x03,0x55,0x04,0x03,0x13,0x27,0x53,0x79,0x6d,0x61,0x6e,0x74,0x65,0x63,0x20,0x43,0x6c,0x61,0x73,0x73,0x20,0x33,0x20,0x53,0x48,0x41,0x32,0x35,0x36,0x20,0x43,0x6f,0x64,0x65,0x20,0x53,0x69,0x67,0x6e,0x69,0x6e,0x67,0x20,0x43,0x41,0x30,0x1e,0x17,0x0d,0x31,0x36,0x30,0x31,0x32,0x32,0x30,0x30,0x30,0x30,0x30,0x30,0x5a,0x17,0x0d,0x31,0x37,0x30,0x32,0x31,0x30,0x32,0x33,0x35,0x39,0x35,0x39,0x5a,0x30,0x6c,0x31,0x0b,0x30,0x09,0x06,0x03,0x55,0x04,0x06,0x13,0x02,0x47,0x42,0x31,0x17,0x30,0x15,0x06,0x03,0x55,0x04,0x08,0x0c,0x0e,0x43,0x61,0x6d,0x62,0x72,0x69,0x64,0x67,0x65,0x73,0x68,0x69,0x72,0x65,0x31,0x12,0x30,0x10,0x06,0x03,0x55,0x04,0x07,0x0c,0x09,0x43,0x61,0x6d,0x62,0x72,0x69,0x64,0x67,0x65,0x31,0x10,0x30,0x0e,0x06,0x03,0x55,0x04,0x0a,0x0c,0x07,0x41,0x52,0x4d,0x20,0x4c,0x74,0x64,0x31,0x0c,0x30,0x0a,0x06,0x03,0x55,0x04,0x0b,0x0c,0x03,0x53,0x44,0x44,0x31,0x10,0x30,0x0e,0x06,0x03,0x55,0x04,0x03,0x0c,0x07,0x41,0x52,0x4d,0x20,0x4c,0x74,0x64,0x30,0x82,0x01,0x22,0x30,0x0d,0x06,0x09,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x01,0x01,0x01,0x05,0x00,0x03,0x82,0x01,0x0f,0x00,0x30,0x82,0x01,0x0a,0x02,0x82,0x01,0x01,0x00,0xa2,0xeb,0x2e,0xbb,0x78,0xb8,0xa5,0x4a,0x09,0x12,0x8d,0xf2,0x7d,0xbf,0xac,0x3f,0xdb,0x9e,0x82,0x7b,0x59,0x3f,0xb6,0x92,0x41,0x47,0x01,0x1d,0x24,0x37,0xad,0x4b,0x98,0x16,0xc0,0xd6,0x2b,0x44,0x96,0x9f,0x2e,0xff,0x54,0x12,0x04,0xe8,0x44,0xcc,0x9b,0xc1,0x36,0xf0,0xae,0x99,0x84,0x46,0x05,0x74,0xe6,0x8c,0xb8,0x98,0x82,0x04,0x4a,0x04,0x01,0xb5,0xd7,0x3e,0x3e,0x30,0xf9,0x22,0x3d,0x54,0x8f,0x40,0x77,0x81,0x33,0xe8,0xbd,0xde,0x55,0x13,0x82,0x6c,0x9e,0x90,0xf0,0x71,0xa1,0x8f,0x99,0xa6,0xca,0xf2,0xc1,0x82,0x5d,0x07,0xfe,0x3f,0x3e,0x64,0x6c,0xe6,0xcd,0x29,0x15,0x1f,0x28,0x2b,0xfa,0xd7,0xdd,0x48,0x70,0x75,0x8c,0x21,0xf7,0xfe,0xd4,0xab,0x4c,0xbf,0xad,0xee,0x0b,0xe8,0x0f,0x25,0x53,0x1e,0xd2,0x5b,0xfc,0xbf,0x4a,0xbc,0xba,0xf9,0xbb,0x38,0xfd,0x93,0x76,0xaf,0x8d,0x6f,0xcd,0xfd,0xb6,0xc5,0xfd,0x9a,0x30,0x1a,0xfe,0x39,0x59,0x55,0xc3,0xb2,0x5c,0xe6,0x3e,0x9a,0x19,0x67,0xac,0xe9,0xdf,0x00,0xd0,0xa2,0x42,0xa1,0x12,0xe6,0x88,0xd8,0x37,0x9a,0x8c,0xeb,0x55,0x6c,0x26,0x47,0x37,0x1e,0x8b,0xb1,0xf6,0x59,0x1e,0xcf,0x12,0x49,0xdf,0x1d,0x69,0x04,0xff,0xaf,0xa5,0xf5,0xfa,0x05,0x9e,0x18,0x21,0x50,0x1b,0xe5,0xeb,0x29,0xae,0x96,0xaa,0xed,0x98,0xde,0xea,0xa8,0x36,0x28,0xa1,0xc6,0xb2,0xb8,0xd9,0xc4,0x48,0x3a,0x8b,0x1c,0x80,0xb6,0x37,0xf7,0xc0,0x4c,0xb0,0x96,0x39,0x33,0x7f,0x47,0x74,0xfb,0xde,0xf3,0x02,0x03,0x01,0x00,0x01,0xa3,0x82,0x01,0x6e,0x30,0x82,0x01,0x6a,0x30,0x09,0x06,0x03,0x55,0x1d,0x13,0x04,0x02,0x30,0x00,0x30,0x0e,0x06,0x03,0x55,0x1d,0x0f,0x01,0x01,0xff,0x04,0x04,0x03,0x02,0x07,0x80,0x30,0x13,0x06,0x03,0x55,0x1d,0x25,0x04,0x0c,0x30,0x0a,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x03,0x03,0x30,0x66,0x06,0x03,0x55,0x1d,0x20,0x04,0x5f,0x30,0x5d,0x30,0x5b,0x06,0x0b,0x60,0x86,0x48,0x01,0x86,0xf8,0x45,0x01,0x07,0x17,0x03,0x30,0x4c,0x30,0x23,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x02,0x01,0x16,0x17,0x68,0x74,0x74,0x70,0x73,0x3a,0x2f,0x2f,0x64,0x2e,0x73,0x79,0x6d,0x63,0x62,0x2e,0x63,0x6f,0x6d,0x2f,0x63,0x70,0x73,0x30,0x25,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x02,0x02,0x30,0x19,0x1a,0x17,0x68,0x74,0x74,0x70,0x73,0x3a,0x2f,0x2f,0x64,0x2e,0x73,0x79,0x6d,0x63,0x62,0x2e,0x63,0x6f,0x6d,0x2f,0x72,0x70,0x61,0x30,0x1f,0x06,0x03,0x55,0x1d,0x23,0x04,0x18,0x30,0x16,0x80,0x14,0x96,0x3b,0x53,0xf0,0x79,0x33,0x97,0xaf,0x7d,0x83,0xef,0x2e,0x2b,0xcc,0xca,0xb7,0x86,0x1e,0x72,0x66,0x30,0x2b,0x06,0x03,0x55,0x1d,0x1f,0x04,0x24,0x30,0x22,0x30,0x20,0xa0,0x1e,0xa0,0x1c,0x86,0x1a,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x73,0x76,0x2e,0x73,0x79,0x6d,0x63,0x62,0x2e,0x63,0x6f,0x6d,0x2f,0x73,0x76,0x2e,0x63,0x72,0x6c,0x30,0x57,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x01,0x01,0x04,0x4b,0x30,0x49,0x30,0x1f,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x86,0x13,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x73,0x76,0x2e,0x73,0x79,0x6d,0x63,0x64,0x2e,0x63,0x6f,0x6d,0x30,0x26,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x30,0x02,0x86,0x1a,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x73,0x76,0x2e,0x73,0x79,0x6d,0x63,0x62,0x2e,0x63,0x6f,0x6d,0x2f,0x73,0x76,0x2e,0x63,0x72,0x74,0x30,0x11,0x06,0x09,0x60,0x86,0x48,0x01,0x86,0xf8,0x42,0x01,0x01,0x04,0x04,0x03,0x02,0x04,0x10,0x30,0x16,0x06,0x0a,0x2b,0x06,0x01,0x04,0x01,0x82,0x37,0x02,0x01,0x1b,0x04,0x08,0x30,0x06,0x01,0x01,0x00,0x01,0x01,0xff,0x30,0x0d,0x06,0x09,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x01,0x01,0x0b,0x05,0x00,0x03,0x82,0x01,0x01,0x00,0x1f,0x0f,0x49,0x37,0xe3,0x30,0x1e,0x6b,0x6e,0x14,0x10,0xef,0xa6,0x16,0x47,0x06,0x14,0x9a,0xce,0x47,0x6b,0xa3,0x06,0x4f,0x3b,0x50,0x4b,0xc0,0x86,0xda,0x2b,0x9f,0x2b,0x4e,0xe6,0x58,0x19,0x26,0x5b,0x7b,0xae,0xdf,0xc4,0x5d,0xbc,0x78,0x76,0xa4,0x0a,0xda,0xe1,0x99,0xce,0xad,0x28,0x48,0x23,0xfa,0xf7,0x77,0xf1,0xbb,0x9a,0xe2,0xff,0xee,0xf9,0x75,0x78,0x89,0x73,0x44,0xb8,0xe8,0xb7,0x52,0x5b,0x56,0xd2,0xef,0x30,0x49,0xe4,0xc7,0xd5,0xf1,0x98,0x88,0xb4,0x61,0xbf,0x43,0x62,0xc3,0x3e,0x8e,0x27,0x1a,0xc9,0x15,0xc9,0xd0,0x87,0x65,0xe8,0xf9,0x68,0xc6,0x92,0x6d,0x61,0xba,0x9c,0xc9,0xfe,0x3c,0x1b,0x44,0xce,0x67,0x30,0xd5,0x79,0x63,0xe2,0x00,0x01,0xe7,0x54,0x60,0x37,0x72,0xaa,0x9a,0xf1,0x48,0xdc,0xb4,0x0f,0xf7,0x4c,0xb3,0x3d,0x22,0xf1,0x09,0x36,0xe8,0xc5,0xc4,0xd7,0x80,0x76,0xd2,0xa8,0xac,0xe4,0x18,0x9d,0xf7,0x6e,0x0a,0x61,0x02,0x7f,0x34,0xbd,0xe5,0x23,0xeb,0xf6,0xb2,0x3b,0x41,0x41,0xe9,0xb0,0x37,0x2d,0x9d,0x71,0x43,0x7d,0x11,0xf7,0x25,0xaa,0x41,0x09,0xe2,0x41,0xbe,0x28,0x5c,0x5b,0xf3,0xb9,0xbb,0xef,0x4e,0xb0,0x48,0x53,0x60,0x8f,0x8f,0x2b,0x76,0x7d,0x83,0x3d,0x01,0x5e,0x2f,0xeb,0x76,0xa6,0x96,0xf7,0x49,0x55,0x4c,0xa9,0x83,0xc5,0x27,0xb9,0xf0,0x13,0xe3,0xdd,0xb4,0x89,0x80,0x1f,0xc1,0x73,0xd4,0x87,0xc9,0x94,0xdb,0x4a,0x8c,0xc1,0x25,0xd5,0x0f,0x3a,0x35,0x7b,0x17,0x2c,0x57,0x2d,0x72);
'HKLM:\SOFTWARE\Microsoft\SystemCertificates\TrustedPublisher\Certificates\BD3E61B2BE4391E714ECD5A008AC18D47B46D1CF' = [byte[]](0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0xbd,0x3e,0x61,0xb2,0xbe,0x43,0x91,0xe7,0x14,0xec,0xd5,0xa0,0x08,0xac,0x18,0xd4,0x7b,0x46,0xd1,0xcf,0x04,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0xdf,0xb2,0xce,0x4c,0xe8,0xa4,0x57,0xe1,0x6c,0xe5,0xcc,0xa2,0xc9,0x4b,0x76,0xf8,0x19,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x27,0x1b,0x53,0xb7,0xf7,0x38,0xd2,0xb4,0x5b,0xc6,0xb2,0xc9,0x7a,0xcd,0x51,0x07,0x14,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0xa4,0x89,0x20,0x93,0xe1,0xe4,0x3d,0x97,0x66,0x31,0xa5,0xc8,0x32,0xce,0xeb,0x94,0x02,0xbc,0x44,0x24,0x0f,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0xb3,0x73,0x99,0xcf,0x1b,0x44,0x52,0xea,0x9a,0x4e,0x65,0xe1,0x3f,0xf0,0xd8,0x00,0x94,0x47,0xbf,0x03,0x9f,0x98,0x9b,0xd8,0x25,0xf8,0xfa,0x31,0x9a,0x9e,0x69,0xab,0x20,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0xe9,0x04,0x00,0x00,0x30,0x82,0x04,0xe5,0x30,0x82,0x03,0xcd,0xa0,0x03,0x02,0x01,0x02,0x02,0x10,0x21,0x89,0x26,0xea,0x60,0x28,0x37,0x02,0xf4,0x65,0xb3,0x2d,0xc1,0x92,0xfc,0xf8,0x30,0x0d,0x06,0x09,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x01,0x01,0x0b,0x05,0x00,0x30,0x7f,0x31,0x0b,0x30,0x09,0x06,0x03,0x55,0x04,0x06,0x13,0x02,0x55,0x53,0x31,0x1d,0x30,0x1b,0x06,0x03,0x55,0x04,0x0a,0x13,0x14,0x53,0x79,0x6d,0x61,0x6e,0x74,0x65,0x63,0x20,0x43,0x6f,0x72,0x70,0x6f,0x72,0x61,0x74,0x69,0x6f,0x6e,0x31,0x1f,0x30,0x1d,0x06,0x03,0x55,0x04,0x0b,0x13,0x16,0x53,0x79,0x6d,0x61,0x6e,0x74,0x65,0x63,0x20,0x54,0x72,0x75,0x73,0x74,0x20,0x4e,0x65,0x74,0x77,0x6f,0x72,0x6b,0x31,0x30,0x30,0x2e,0x06,0x03,0x55,0x04,0x03,0x13,0x27,0x53,0x79,0x6d,0x61,0x6e,0x74,0x65,0x63,0x20,0x43,0x6c,0x61,0x73,0x73,0x20,0x33,0x20,0x53,0x48,0x41,0x32,0x35,0x36,0x20,0x43,0x6f,0x64,0x65,0x20,0x53,0x69,0x67,0x6e,0x69,0x6e,0x67,0x20,0x43,0x41,0x30,0x1e,0x17,0x0d,0x31,0x35,0x30,0x31,0x31,0x33,0x30,0x30,0x30,0x30,0x30,0x30,0x5a,0x17,0x0d,0x31,0x36,0x30,0x32,0x30,0x39,0x32,0x33,0x35,0x39,0x35,0x39,0x5a,0x30,0x6c,0x31,0x0b,0x30,0x09,0x06,0x03,0x55,0x04,0x06,0x13,0x02,0x47,0x42,0x31,0x17,0x30,0x15,0x06,0x03,0x55,0x04,0x08,0x0c,0x0e,0x43,0x61,0x6d,0x62,0x72,0x69,0x64,0x67,0x65,0x73,0x68,0x69,0x72,0x65,0x31,0x12,0x30,0x10,0x06,0x03,0x55,0x04,0x07,0x0c,0x09,0x43,0x61,0x6d,0x62,0x72,0x69,0x64,0x67,0x65,0x31,0x10,0x30,0x0e,0x06,0x03,0x55,0x04,0x0a,0x0c,0x07,0x41,0x52,0x4d,0x20,0x4c,0x74,0x64,0x31,0x0c,0x30,0x0a,0x06,0x03,0x55,0x04,0x0b,0x0c,0x03,0x53,0x44,0x44,0x31,0x10,0x30,0x0e,0x06,0x03,0x55,0x04,0x03,0x0c,0x07,0x41,0x52,0x4d,0x20,0x4c,0x74,0x64,0x30,0x82,0x01,0x22,0x30,0x0d,0x06,0x09,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x01,0x01,0x01,0x05,0x00,0x03,0x82,0x01,0x0f,0x00,0x30,0x82,0x01,0x0a,0x02,0x82,0x01,0x01,0x00,0xc1,0xe9,0xfb,0x49,0x41,0xe6,0xef,0x72,0x25,0x61,0xad,0xf8,0x22,0x42,0xd2,0x0b,0xd2,0x32,0xaf,0x56,0xcf,0x9f,0x25,0xb0,0x5b,0xa8,0x69,0x4f,0xf5,0x93,0xaf,0xd0,0xc9,0x3f,0xfd,0xc2,0x51,0x79,0x57,0x8c,0x42,0x59,0x9a,0x83,0x52,0x94,0x13,0x31,0x40,0xbf,0xb1,0xa7,0x2b,0xe7,0xc8,0x63,0x07,0x1c,0x91,0x70,0x78,0x86,0xdc,0xaf,0xb5,0x41,0x0d,0x60,0x81,0x99,0xb9,0x77,0x46,0x33,0x05,0xd5,0xa9,0x35,0x65,0xf5,0x50,0x59,0x13,0xe9,0xb0,0x50,0x73,0x6b,0x83,0xf6,0xbb,0xcb,0x48,0x5c,0xcf,0x85,0xed,0x30,0xf6,0xdc,0xeb,0x16,0xdd,0x14,0x89,0xd1,0xa3,0x7c,0xd6,0xd1,0x13,0x77,0xc6,0xcb,0xb5,0xd9,0x4a,0x7f,0xcd,0x88,0x68,0xdf,0x9d,0xf2,0xc4,0x74,0x3d,0x2b,0x2b,0xa8,0x61,0x7b,0x36,0xe9,0x5d,0x05,0x5e,0x72,0x1b,0xd5,0x62,0xa9,0x1d,0xbc,0xbb,0x28,0x15,0xb8,0xfd,0x9e,0x81,0x3f,0xf3,0x99,0x53,0xc9,0xb4,0xca,0x83,0x30,0xe1,0x0e,0x14,0xbf,0x24,0x63,0x9b,0x3f,0xb4,0x15,0x40,0x14,0x49,0x4e,0x9d,0x70,0x0f,0x9b,0xcf,0x6b,0x6c,0x17,0x13,0x09,0xeb,0xd9,0x7d,0xbe,0x31,0x4f,0xfb,0xd9,0x76,0x4c,0xb0,0x71,0x69,0xec,0xd2,0xe4,0xa3,0x5c,0x66,0x8d,0x35,0x4c,0x7a,0x4f,0x9b,0xda,0x38,0xb7,0x96,0x13,0x56,0x67,0x87,0x42,0x3d,0x21,0xb0,0x0b,0xf7,0xa1,0x80,0xbc,0xbb,0xac,0x17,0xb2,0xfd,0x35,0x50,0x22,0xcd,0x34,0x85,0xf4,0x88,0xff,0xdb,0x3f,0x78,0x99,0xb8,0x8c,0xa3,0xc4,0x46,0xc5,0x1c,0xca,0xab,0x2f,0x2c,0xdd,0x02,0x03,0x01,0x00,0x01,0xa3,0x82,0x01,0x6e,0x30,0x82,0x01,0x6a,0x30,0x09,0x06,0x03,0x55,0x1d,0x13,0x04,0x02,0x30,0x00,0x30,0x0e,0x06,0x03,0x55,0x1d,0x0f,0x01,0x01,0xff,0x04,0x04,0x03,0x02,0x07,0x80,0x30,0x13,0x06,0x03,0x55,0x1d,0x25,0x04,0x0c,0x30,0x0a,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x03,0x03,0x30,0x66,0x06,0x03,0x55,0x1d,0x20,0x04,0x5f,0x30,0x5d,0x30,0x5b,0x06,0x0b,0x60,0x86,0x48,0x01,0x86,0xf8,0x45,0x01,0x07,0x17,0x03,0x30,0x4c,0x30,0x23,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x02,0x01,0x16,0x17,0x68,0x74,0x74,0x70,0x73,0x3a,0x2f,0x2f,0x64,0x2e,0x73,0x79,0x6d,0x63,0x62,0x2e,0x63,0x6f,0x6d,0x2f,0x63,0x70,0x73,0x30,0x25,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x02,0x02,0x30,0x19,0x1a,0x17,0x68,0x74,0x74,0x70,0x73,0x3a,0x2f,0x2f,0x64,0x2e,0x73,0x79,0x6d,0x63,0x62,0x2e,0x63,0x6f,0x6d,0x2f,0x72,0x70,0x61,0x30,0x1f,0x06,0x03,0x55,0x1d,0x23,0x04,0x18,0x30,0x16,0x80,0x14,0x96,0x3b,0x53,0xf0,0x79,0x33,0x97,0xaf,0x7d,0x83,0xef,0x2e,0x2b,0xcc,0xca,0xb7,0x86,0x1e,0x72,0x66,0x30,0x2b,0x06,0x03,0x55,0x1d,0x1f,0x04,0x24,0x30,0x22,0x30,0x20,0xa0,0x1e,0xa0,0x1c,0x86,0x1a,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x73,0x76,0x2e,0x73,0x79,0x6d,0x63,0x62,0x2e,0x63,0x6f,0x6d,0x2f,0x73,0x76,0x2e,0x63,0x72,0x6c,0x30,0x57,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x01,0x01,0x04,0x4b,0x30,0x49,0x30,0x1f,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x86,0x13,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x73,0x76,0x2e,0x73,0x79,0x6d,0x63,0x64,0x2e,0x63,0x6f,0x6d,0x30,0x26,0x06,0x08,0x2b,0x06,0x01,0x05,0x05,0x07,0x30,0x02,0x86,0x1a,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x73,0x76,0x2e,0x73,0x79,0x6d,0x63,0x62,0x2e,0x63,0x6f,0x6d,0x2f,0x73,0x76,0x2e,0x63,0x72,0x74,0x30,0x11,0x06,0x09,0x60,0x86,0x48,0x01,0x86,0xf8,0x42,0x01,0x01,0x04,0x04,0x03,0x02,0x04,0x10,0x30,0x16,0x06,0x0a,0x2b,0x06,0x01,0x04,0x01,0x82,0x37,0x02,0x01,0x1b,0x04,0x08,0x30,0x06,0x01,0x01,0x00,0x01,0x01,0xff,0x30,0x0d,0x06,0x09,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x01,0x01,0x0b,0x05,0x00,0x03,0x82,0x01,0x01,0x00,0x72,0xd8,0x1b,0xa2,0x1a,0xcb,0x81,0x85,0x5a,0xae,0xb9,0x6c,0xa6,0x40,0x00,0x75,0xf9,0x62,0x7d,0xbe,0xc0,0xa8,0xbf,0x5e,0x3f,0xf8,0x8c,0x9b,0x05,0x9c,0xf3,0xa8,0xcc,0xb2,0x3f,0x3e,0x30,0xbb,0x87,0x9f,0x0a,0x48,0xe4,0x8c,0x4a,0xaf,0xc2,0x86,0xea,0x49,0xed,0xd2,0x70,0xdc,0xeb,0xd5,0x2e,0xa1,0xe7,0x13,0x4c,0x80,0xce,0x65,0x4f,0xbe,0x1f,0x1a,0x74,0x2b,0x34,0x01,0xc5,0x98,0x8c,0x25,0x00,0xa7,0xff,0x57,0xb7,0xb2,0x17,0x28,0xe8,0xa8,0x52,0x9d,0x02,0xb3,0x2f,0x82,0xb4,0x72,0x65,0x5f,0x0b,0xe5,0x14,0x8b,0x24,0x83,0x6f,0xa0,0x6d,0x46,0x60,0xcc,0x46,0x8a,0xb7,0xbe,0xd4,0x0d,0x07,0x75,0x3d,0x3c,0x42,0xb0,0x57,0x48,0x7a,0x45,0x1c,0x46,0x39,0x96,0xba,0x92,0x05,0x26,0xa8,0x10,0x89,0x6a,0x1d,0xcb,0xe6,0xde,0x7a,0x1a,0x31,0x07,0x26,0x25,0x6f,0xe4,0xf9,0x17,0x29,0xaa,0x79,0x19,0x37,0x20,0xf9,0xe3,0x46,0x59,0x9d,0xba,0x0c,0xbd,0xd0,0xe9,0x97,0xc7,0x8f,0xef,0xb6,0x15,0x71,0xbf,0xd6,0x38,0xbf,0xeb,0xe1,0x49,0x33,0xeb,0x9b,0xf0,0x67,0xb3,0xe4,0xe7,0x85,0x95,0xc3,0x29,0x04,0x88,0x79,0xa9,0x08,0xd5,0x80,0xcd,0x9d,0xd2,0xf9,0xde,0xfb,0x4b,0xd2,0xdd,0x09,0x89,0x65,0x6c,0x8c,0x11,0x86,0x2b,0x44,0x61,0xf1,0x89,0x8d,0xb8,0x0e,0x10,0x76,0x4d,0xb3,0x9f,0xc0,0xca,0x06,0x77,0xf0,0x9d,0xf0,0x9f,0x59,0x54,0x55,0x8d,0xab,0xfb,0x51,0xd7,0x26,0xd8,0xb9,0xd0,0xf8,0x42,0xe7,0x01,0xeb,0xc4,0x9b,0xa0);
}
$map.Keys | % { $key = $_; $value = $map.$_;
write-host "$key : $($value.Count) bytes" -fore Cyan
new-item -path $key -ea SilentlyContinue
new-itemProperty -path $key -name Blob -propertyType binary -value $value -force -ea SilentlyContinue
}

$ident = 'x86'
if (($proc.AddressWidth -eq 64) -and ($proc.DataWidth -eq 64))
{ $ident = 'x64' }
dir 'HKLM:\SOFTWARE\ARM' | % { gp $_.PSPath } | % { $_.InstallDir } | % {
dir $_ -recurse -include dpinst*.exe | ? { ($_ -imatch $ident) -and ($_ -imatch 'driver_files') } | % {
$process = Start-Process -FilePath $_.FullName -ArgumentList "/Q" -Passthru
$process.ExitCode | ? { $_ -ne 0 } | % { write $_ }
}
}

## Drivers should now automatically install upon USB device plugin
}

Function License
{
write-host "`n`n@@ Called License" -for Magenta
## installation directory
dir 'HKLM:\SOFTWARE\ARM' | % { gp $_.PSPath } | % { $_.InstallDir } | % {
## modify env.ini file
dir $_ -recurse -include env.ini | % { $ini = $_
$content = get-content $ini
$content = $content | % { $_ -replace '%AppData%',"$($env:ProgramData)" }
$content = $content | % { $_ -replace '%ProgramData%',"$($env:ProgramData)" }
$content | set-content $ini -force -whatIf:$whatIf
get-content $ini
}
## create license file
$path = "$env:ProgramData\ARM\DS-5\licenses\8224_license.lic"
new-item -path $path -value $license -force
}
}

Function Firewall {
write-host "`n`n@@ Called Firewall" -for Magenta
## remove existing firewall rule(s)
if (!$whatIf) { netsh advfirewall Firewall delete rule name=eclipse }
## create new firewall rule
dir 'HKLM:\SOFTWARE\ARM' | % { gp $_.PSPath } | % { $_.InstallDir } | % {
dir $_ -recurse -include eclipse.exe | ? { $_ -imatch '\\sw\\' } | % {
if (!$whatIf) { netsh advfirewall Firewall add rule name=Eclipse program=$($_) dir=in action=allow enable=yes }
}
}
}

#
#


Clear KillApps Uninstall '^arm ds|package - arm|package - keil'
Unpack Setup Drivers
License Firewall