Mac – Bash – Disable Chrome Auto Updates

email me

Method 1

On Mac, you can go to “Users > Your Mac Drive > Library > Google > GoogleSoftwareUpdate” and rename this folder.


Method 2

Open Finder and go to “Applications” folder.

Right click or control + click on the Google Chrome folder and go to “Show Packaged Content”.

Click “Contents” folder and open “Info.plist” file. Remember you need to have editors like Xcode to open plist file. Also you should have write permission for both “Contents” folder and “Info.plist” file to edit.

Look for “KSUpdateURL” key. In my case it is pointing to “https://tools.google.com/service/update2”.

Rename the file to something else and save changes.


Method 3

Remove the keystone information, which is used to update the app

#!/bin/sh

Version=$(/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version | awk '{print $3}')

sudo rm -rf /Applications/Google\ Chrome.app/Contents/Frameworks/Google\ Chrome\ Framework.framework/Versions/"$Version"/Frameworks/KeystoneRegistration.framework

After you disable auto updates


Notes

~/Library/Google/GoogleSoftwareUpdate/

userprofilename > Library > Application Support > Google > Chrome > Snapshots

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome –enable-logging –v=1

tags: MrNetTek

PowerShell – Countdown Timer

email me

clear-host

$Countdown = Get-Date -h 08 -min 06 -s 00

do { $Current = Get-Date -DisplayHint time

"`nThe current time is " + $Current
"counting to " + $Countdown
Start-Sleep -s 1

} while ($Current -lt $Countdown)

Write-Host "Done!"


Output

The current time is 08/14/2019 08:05:54
counting to 08/14/2019 08:06:00

The current time is 08/14/2019 08:05:55
counting to 08/14/2019 08:06:00

The current time is 08/14/2019 08:05:56
counting to 08/14/2019 08:06:00

The current time is 08/14/2019 08:05:58
counting to 08/14/2019 08:06:00

The current time is 08/14/2019 08:05:59
counting to 08/14/2019 08:06:00

The current time is 08/14/2019 08:06:00
counting to 08/14/2019 08:06:00

The current time is 08/14/2019 08:06:01
counting to 08/14/2019 08:06:00

Done!

 

Notes

Get-Date
Start-Sleep
Write-Host

 

tags: PowerShell Loop, PowerShell Date, PowerShell Time, MrNetTek

PowerShell – Show Startup Commands

email me

$strComputer = "."

$colItems = get-wmiobject -class "Win32_StartupCommand" -namespace "root\CIMV2" `
-computername $strComputer

foreach ($objItem in $colItems) {
write-host "Caption: " $objItem.Caption
write-host "Command: " $objItem.Command
write-host "Description: " $objItem.Description
write-host "Location: " $objItem.Location
write-host "Name: " $objItem.Name
write-host "Setting ID: " $objItem.SettingID
write-host "User: " $objItem.User
write-host
}


Output

Caption: OneDriveSetup
Command: C:\Windows\SysWOW64\OneDriveSetup.exe /thfirstsetup
Description: OneDriveSetup
Location: HKU\S-1-5-19\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: OneDriveSetup
Setting ID:
User: NT AUTHORITY\LOCAL SERVICE

Caption: OneDriveSetup
Command: C:\Windows\SysWOW64\OneDriveSetup.exe /thfirstsetup
Description: OneDriveSetup
Location: HKU\S-1-5-20\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: OneDriveSetup
Setting ID:
User: NT AUTHORITY\NETWORK SERVICE

Caption: OneDrive
Command: “C:\Users\Homelab\AppData\Local\Microsoft\OneDrive\OneDrive.exe” /background
Description: OneDrive
Location: HKU\S-1-5-21-3837425611-1028152604-2918990385-1001\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: OneDrive
Setting ID:
User: HOMELAB\Homelab

Caption: GoogleChromeAutoLaunch_1089963C18A81BB97CF58E9A06EFB3F0
Command: “C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –no-startup-window /prefetch:5
Description: GoogleChromeAutoLaunch_1089963C18A81BB97CF58E9A06EFB3F0
Location: HKU\S-1-5-21-3837425611-1028152604-2918990385-1001\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: GoogleChromeAutoLaunch_1089963C18A81BB97CF58E9A06EFB3F0
Setting ID:
User: HOMELAB\Homelab

Caption: OneDriveSetup
Command: C:\Windows\SysWOW64\OneDriveSetup.exe /thfirstsetup
Description: OneDriveSetup
Location: HKU\S-1-5-80-1549978933-2891762758-2075524219-3728768389-1145206490\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: OneDriveSetup
Setting ID:
User: NT SERVICE\SSASTELEMETRY

Caption: OneDriveSetup
Command: C:\Windows\SysWOW64\OneDriveSetup.exe /thfirstsetup
Description: OneDriveSetup
Location: HKU\S-1-5-80-2575449109-2369498003-86869817-2770163484-1998650617\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: OneDriveSetup
Setting ID:
User: NT SERVICE\SSISTELEMETRY150

Caption: OneDriveSetup
Command: C:\Windows\SysWOW64\OneDriveSetup.exe /thfirstsetup
Description: OneDriveSetup
Location: HKU\S-1-5-80-2652535364-2169709536-2857650723-2622804123-1107741775\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: OneDriveSetup
Setting ID:
User: NT SERVICE\SQLTELEMETRY

Caption: OneDriveSetup
Command: C:\Windows\SysWOW64\OneDriveSetup.exe /thfirstsetup
Description: OneDriveSetup
Location: HKU\S-1-5-80-2872255330-672591203-888807865-2791174282-1554802921\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: OneDriveSetup
Setting ID:
User: NT SERVICE\MSSQLServerOLAPService

Caption: OneDriveSetup
Command: C:\Windows\SysWOW64\OneDriveSetup.exe /thfirstsetup
Description: OneDriveSetup
Location: HKU\S-1-5-80-309224134-970686483-1999427595-3240087295-3167920316\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: OneDriveSetup
Setting ID:
User: NT SERVICE\MsDtsServer150

Caption: OneDriveSetup
Command: C:\Windows\SysWOW64\OneDriveSetup.exe /thfirstsetup
Description: OneDriveSetup
Location: HKU\S-1-5-80-3263513310-3392720605-1798839546-683002060-3227631582\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: OneDriveSetup
Setting ID:
User: NT SERVICE\MSSQLFDLauncher

Caption: OneDriveSetup
Command: C:\Windows\SysWOW64\OneDriveSetup.exe /thfirstsetup
Description: OneDriveSetup
Location: HKU\S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: OneDriveSetup
Setting ID:
User: NT SERVICE\MSSQLSERVER

Caption: Big Free Clock
Command: C:\PROGRA~2\BIGFRE~1\bigclock.exe
Description: Big Free Clock
Location: Common Startup
Name: Big Free Clock
Setting ID:
User: Public

Caption: SecurityHealth
Command: %ProgramFiles%\Windows Defender\MSASCuiL.exe
Description: SecurityHealth
Location: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: SecurityHealth
Setting ID:
User: Public

Caption: RTHDVCPL
Command: “C:\Program Files\Realtek\Audio\HDA\RtkNGUI64.exe” -s
Description: RTHDVCPL
Location: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: RTHDVCPL
Setting ID:
User: Public

Caption: RtsCM
Command: RTSCM64.EXE
Description: RtsCM
Location: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: RtsCM
Setting ID:
User: Public

Caption: IAStorIcon
Command: “C:\Program Files\Intel\Intel(R) Rapid Storage Technology\IAStorIconLaunch.exe” “C:\Program Files\Intel\Intel(R) Rapid Storage Technology\IAStorIcon.exe” 60
Description: IAStorIcon
Location: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: IAStorIcon
Setting ID:
User: Public

 

tags: MrNetTek

VitalSource Bookshelf – AppxBundle

email me

Description

VitalSource Bookshelf is an ebook platform that allows you to access course materials whenever and wherever you choose–laptop, desktop or mobile device. You can download texts directly or access them via your browser. more…

 

Download

I have uploaded the AppxBundle here (great for creating an offline installer or importing into SCCM):

https://eddiejackson.net/apps/bookshelf/  main

* I capture the filestream from the Windows Store, that’s how I download the appx bundles.


Size

9.0.17.0: 68.3 MB
8.3.13.0: 66.5 MB


Install Location

C:\Program Files\WindowsApps\VitalSourceTechnologiesIn.VitalSourceBookshelf_9.0.17.0_x64__wasrd15zsyawm

C:\Program Files\WindowsApps\VitalSourceTechnologiesIn.VitalSourceBookshelf_8.3.13.0_x64__wasrd15zsyawm

 

Notes

Download Bookshelf for Mac: 8.3.1.343  9.0.2.1206


Install using PowerShell

C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe -noprofile -command “Add-AppxPackage -Path Bookshelf_9.0.17.0_x64.appx”

C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe -noprofile -command “Add-AppxPackage -Path Bookshelf_8.3.13.0_x64.appx”

 

tags: Bookshelf scripting, Bookshelf automation, MrNetTek

Skype for Desktop – 8.51.0.72

email me

Download

New Skype for Desktop (Windows) is available here:

https://go.skype.com/windows.desktop.download  mirror

 

Size

65.4 MB


Silent Install

setup.exe /VERYSILENT /SP- /NOCANCEL /NORESTART /SUPPRESSMSGBOXES /NOLAUNCH -ms


Install Location (32 Folders, 151 Files, 239 MB)

C:\Program Files (x86)\Microsoft\Skype for Desktop


Silent Uninstall

“C:\Program Files (x86)\Microsoft\Skype for Desktop\unins000.exe” /SILENT


Registry

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Skype_is1]
“Inno Setup: Setup Version”=”5.6.1 (u)”
“Inno Setup: App Path”=”C:\\Program Files (x86)\\Microsoft\\Skype for Desktop”
“InstallLocation”=”C:\\Program Files (x86)\\Microsoft\\Skype for Desktop\\”
“Inno Setup: Icon Group”=”Skype”
“Inno Setup: User”=”Demo99”
“Inno Setup: Language”=”en”
“DisplayName”=”Skype version 8.51”
“DisplayIcon”=”C:\\Program Files (x86)\\Microsoft\\Skype for Desktop\\Skype.exe”
“UninstallString”=”\”C:\\Program Files (x86)\\Microsoft\\Skype for Desktop\\unins000.exe\””
“QuietUninstallString”=”\”C:\\Program Files (x86)\\Microsoft\\Skype for Desktop\\unins000.exe\” /SILENT”
“DisplayVersion”=”8.51”
“Publisher”=”Skype Technologies S.A.”
“URLInfoAbout”=”http://www.skype.com/”
“HelpLink”=”https://support.skype.com/”
“URLUpdateInfo”=”www.skype.com/download-skype/”
“NoModify”=dword:00000001
“NoRepair”=dword:00000001
“InstallDate”=”20190812”
“MajorVersion”=dword:00000008
“MinorVersion”=dword:00000033
“VersionMajor”=dword:00000008
“VersionMinor”=dword:00000033
“EstimatedSize”=dword:0003603d

 

Notes

Download Skype for Mac


Disable Skype auto updates (for Windows and Macs)


Skype uses asar compression 

C:\Program Files (x86)\Microsoft\Skype for Desktop\resources\app.asar

 

tags: MrNetTek

Google Chrome – 76.0.3809.100

email me

Description

Google Chrome is a cross-platform web browser developed by Google. It was first released in 2008 for Microsoft Windows, and was later ported to Linux, macOS, iOS, and Android. The browser is also the main component of Chrome OS, where it serves as the platform for web apps. more…


Download

New Chrome browser is available here:

https://enterprise.google.com/intl/en_version/chrome/chrome-browser/ mirror

 

Size

55.5 MB


Silent Install

setup.msi /quiet /norestart


Install Location (10 Folders, 99 Files, 431 MB)

C:\Program Files (x86)\Google\Chrome\Application\76.0.3809.100


Silent Uninstall

msiexec /x{6B3D70C2-5576-3088-A49F-5DB015810E3F} /qn /norestart

“C:\Program Files (x86)\Google\Chrome\Application\76.0.3809.100\Installer\setup.exe” –uninstall –multi-install –chrome –system-level –force-uninstall


Registry

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6B3D70C2-5576-3088-A49F-5DB015810E3F}]
“AuthorizedCDFPrefix”=””
“Comments”=””
“Contact”=””
“DisplayVersion”=”76.0.3809.100”
“HelpLink”=””
“HelpTelephone”=””
“InstallDate”=”20190809”
“InstallLocation”=””
“InstallSource”=”C:\\Users\\Demo99\\Downloads\\_GOOGLE\\Installers\\”
“ModifyPath”=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,78,\
00,65,00,20,00,2f,00,58,00,7b,00,36,00,42,00,33,00,44,00,37,00,30,00,43,00,\
32,00,2d,00,35,00,35,00,37,00,36,00,2d,00,33,00,30,00,38,00,38,00,2d,00,41,\
00,34,00,39,00,46,00,2d,00,35,00,44,00,42,00,30,00,31,00,35,00,38,00,31,00,\
30,00,45,00,33,00,46,00,7d,00,00,00
“NoModify”=dword:00000001
“Publisher”=”Google LLC”
“Readme”=””
“Size”=””
“EstimatedSize”=dword:0000de51
“UninstallString”=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,\
78,00,65,00,20,00,2f,00,58,00,7b,00,36,00,42,00,33,00,44,00,37,00,30,00,43,\
00,32,00,2d,00,35,00,35,00,37,00,36,00,2d,00,33,00,30,00,38,00,38,00,2d,00,\
41,00,34,00,39,00,46,00,2d,00,35,00,44,00,42,00,30,00,31,00,35,00,38,00,31,\
00,30,00,45,00,33,00,46,00,7d,00,00,00
“URLInfoAbout”=””
“URLUpdateInfo”=””
“VersionMajor”=dword:00000043
“VersionMinor”=dword:000000b8
“WindowsInstaller”=dword:00000001
“Version”=dword:43b84064
“Language”=dword:00000409
“DisplayName”=”Google Chrome”


App GUID

{6B3D70C2-5576-3088-A49F-5DB015810E3F}


MSI Property Table

UpgradeCode                                   {C1DFDF69-5945-32F2-A35E-EE94C99C7CF4}
AllowDowngradeSubstitution        false
ALLUSERS                                          1
ARPPRODUCTICON                          icon.ico
ARPNOMODIFY                                 1
Manufacturer                                   Google LLC
ProductCode                                    {6B3D70C2-5576-3088-A49F-5DB015810E3F}
ProductLanguage                            1033
ProductName                                   Google Chrome
ProductVersion                                67.184.16484
SecureCustomProperties               NEWPRODUCTFOUND;UPGRADEFOUND

 

Notes

Download Chrome for Mac

Release Notes v76: July 30, 2019

Chrome Platform Status

Chrome v76 Features

Admin Insider: What’s new in Chrome Enterprise, Release v76

Chrome Scrubber

 

Mac – Disable Chrome Auto Updates

Method 1

On Mac, you can go to “Users > Your Mac Drive > Library > Google > GoogleSoftwareUpdate” and rename this folder.


Method 2

Open Finder and go to “Applications” folder.

Right click or control + click on the Google Chrome folder and go to “Show Packaged Content”.

Click “Contents” folder and open “Info.plist” file. Remember you need to have editors like Xcode to open plist file. Also you should have write permission for both “Contents” folder and “Info.plist” file to edit.

Look for “KSUpdateURL” key. In our case this is pointing to “https://tools.google.com/service/update2”.

Simply rename the file to something else and save your changes.


Method 3

#!/bin/sh

Version=$(/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version | awk '{print $3}')

sudo rm -rf /Applications/Google\ Chrome.app/Contents/Frameworks/Google\ Chrome\ Framework.framework/Versions/"$Version"/Frameworks/KeystoneRegistration.framework

 

tags: MrNetTek

SEP – Uninstaller_Removal

email me

REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint\Protection\AV\AdministratorOnly\Security" /v LockUnloadServices /d 0 /t REG_DWORD /f /reg:64

REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint\Protection\AV\AdministratorOnly\Security" /v UseVPUninstallPassword /d 0 /t REG_DWORD /f /reg:64

REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\SMC" /v SMCINSTDATA /f /reg:64

:: move device on back-end to a container without password
:: update to current policy without password
"C:\Program Files (x86)\Symantec\Symantec Endpoint Protection\smc.exe" -updateconfig

timeout /t 30

"C:\Program Files (x86)\Symantec\Symantec Endpoint Protection\smc.exe" -stop

msiexec /x {A0CFB412-0C01-4D2E-BAC9-3610AD36B4C8} REMOVE=ALL SYMREBOOT=ReallySuppress /qn /norestart

msiexec /x {A0CFB412-0C01-4D2E-BAC9-3610AD36B4C8} REBOOT=REALLYSUPPRESS ALLUSERS=2 /qn /norestart

msiexec /x {E327F586-9CB8-4E97-8F61-8D119C3C78F5} REMOVE=ALL SYMREBOOT=ReallySuppress /qn /norestart

msiexec /x {E327F586-9CB8-4E97-8F61-8D119C3C78F5} REBOOT=REALLYSUPPRESS ALLUSERS=2 /qn /norestart

shutdown -a

shutdown -r -f -t 60 -c "Symantec has been uninstalled. Restarting computer. -IT"

exit /b 0

 

Notes

https://support.symantec.com/us/en/article.tech102668.html

Mac SEP Uninstall Script

 

tags: Symantec Uninstaller, SEP Uninstaller, SEP Removal, MrNetTek

Slack – 4.0.1

email me

Download

New Slack setup is available here:

https://slack.com/downloads/windows


Size

75.8 MB


Install

setup.exe

* note, this application is installed in the Current User security context


Install Location (75 Folders, 251 Files, 256 MB)

C:\Users\%username%\AppData\Local\slack


Silent Uninstall

“C:\Users\%username%\AppData\Local\slack\Update.exe” –uninstall -s


Registry

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\slack]
“DisplayIcon”=”C:\\Users\\%username%\\AppData\\Local\\slack\\app.ico”
“DisplayName”=”Slack”
“DisplayVersion”=”4.0.1”
“InstallDate”=”20190806”
“InstallLocation”=”C:\\Users\\%username%\\AppData\\Local\\slack”
“Publisher”=”Slack Technologies”
“QuietUninstallString”=”\”C:\\Users\\%username%\\AppData\\Local\\slack\\Update.exe\” –uninstall -s”
“UninstallString”=”\”C:\\Users\\%username%\\AppData\\Local\\slack\\Update.exe\” –uninstall”
“URLUpdateInfo”=””
“EstimatedSize”=dword:00012c3c
“NoModify”=dword:00000001
“NoRepair”=dword:00000001
“Language”=dword:00000409

 

Notes

Download Slack for Mac


Contents of setup.exe


Contents of slack-4.0.1-full.nupkg

 


Hidden options

setup.exe –rerunningWithoutUAC

slack.exe –squirrel-firstrun

slack.exe –type=gpu-process –enable-features=SharedArrayBuffer –gpu-preferences=KAAAAAAAAACAAwBAAQAAAAAAAAAAAGAAAAAAAAAAAAAIAAAAAAAAACgAAAAEAAAAIAAAAAAAAAAoAAAAAAAAADAAAAAAAAAAOAAAAAAAAAAQAAAAAAAAAAAAAAAKAAAAEAAAAAAAAAAAAAAACwAAABAAAAAAAAAAAQAAAAoAAAAQAAAAAAAAAAEAAAALAAAA –service-request-channel-token=15468479350022347369 –mojo-platform-channel-handle=1584 –ignored=” –type=renderer ” /prefetch:2

slack.exe –reporter-url=https://slack.com/apps/breakpad?instanceUid=fe1dd0b6-0a2c-51e2-8682-406c5c3f6bd7&version=4.0.1&channel=prod –application-name=Slack “–crashes-directory=C:\Users\%username%\AppData\Local\Temp\Slack Crashes” –v=1

 

Slack 4.0.1 – July 25, 2019

Bug Fixes

We’ve tinkered with the internal workings and polished some rough edges. The app is now better than it was.


Slack 4.0.0 – July 8, 2019

What’s New

Everything is a little bit faster all around, thanks to a move to webpack.

Bug Fixes

Drag and dropping files into Slack is now much more stable.
If you ever do need to reset the app’s data, it now works better. A bit better, at least.
We improved team icons alignment in the side bar for those in a lot of workspaces. It’s a small thing, but much more aesthetically pleasing.

Hardware acceleration can now be turned off without foregrounding Slack. If you know what that means, you’ll know it’s handy. If you don’t — it still is! Carry on. And thank you for reading.

 

tags: MrNetTek

Google Chrome – 76.0.3809.87

email me

Description

Google Chrome is a cross-platform web browser developed by Google. It was first released in 2008 for Microsoft Windows, and was later ported to Linux, macOS, iOS, and Android. The browser is also the main component of Chrome OS, where it serves as the platform for web apps. more…


Download

New Chrome browser is available here:

https://enterprise.google.com/intl/en_version/chrome/chrome-browser/ mirror


Size

55.5 MB


Silent Install

setup.msi /quiet /norestart


Silent Uninstall

msiexec /x{86B1D736-F1F4-3367-9B39-C2E176B68239} /qn /norestart

“C:\Program Files (x86)\Google\Chrome\Application\76.0.3809.87\Installer\setup.exe” –uninstall –multi-install –chrome –system-level –force-uninstall


Registry

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{86B1D736-F1F4-3367-9B39-C2E176B68239}]
“AuthorizedCDFPrefix”=””
“Comments”=””
“Contact”=””
“DisplayVersion”=”76.0.3809.87”
“HelpLink”=””
“HelpTelephone”=””
“InstallDate”=”20190806”
“InstallLocation”=””
“InstallSource”=”C:\\Users\\Demo99\\Downloads\\_CHROME\\”
“ModifyPath”=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,78,\
00,65,00,20,00,2f,00,58,00,7b,00,38,00,36,00,42,00,31,00,44,00,37,00,33,00,\
36,00,2d,00,46,00,31,00,46,00,34,00,2d,00,33,00,33,00,36,00,37,00,2d,00,39,\
00,42,00,33,00,39,00,2d,00,43,00,32,00,45,00,31,00,37,00,36,00,42,00,36,00,\
38,00,32,00,33,00,39,00,7d,00,00,00
“NoModify”=dword:00000001
“Publisher”=”Google LLC”
“Readme”=””
“Size”=””
“EstimatedSize”=dword:0000de59
“UninstallString”=hex(2):4d,00,73,00,69,00,45,00,78,00,65,00,63,00,2e,00,65,00,\
78,00,65,00,20,00,2f,00,58,00,7b,00,38,00,36,00,42,00,31,00,44,00,37,00,33,\
00,36,00,2d,00,46,00,31,00,46,00,34,00,2d,00,33,00,33,00,36,00,37,00,2d,00,\
39,00,42,00,33,00,39,00,2d,00,43,00,32,00,45,00,31,00,37,00,36,00,42,00,36,\
00,38,00,32,00,33,00,39,00,7d,00,00,00
“URLInfoAbout”=””
“URLUpdateInfo”=””
“VersionMajor”=dword:00000043
“VersionMinor”=dword:000000b8
“WindowsInstaller”=dword:00000001
“Version”=dword:43b84057
“Language”=dword:00000409
“DisplayName”=”Google Chrome”


MSI Property Table

UpgradeCode                                   {C1DFDF69-5945-32F2-A35E-EE94C99C7CF4}
AllowDowngradeSubstitution        false
ALLUSERS                                          1
ARPPRODUCTICON                          icon.ico
ARPNOMODIFY                                 1
Manufacturer                                   Google LLC
ProductCode                                    {86B1D736-F1F4-3367-9B39-C2E176B68239}
ProductLanguage                            1033
ProductName                                  Google Chrome
ProductVersion                                67.184.16471
SecureCustomProperties               NEWPRODUCTFOUND;UPGRADEFOUND

 

Notes

Release Notes v76: July 30, 2019

Chrome Platform Status

Chrome v76 Features

Admin Insider: What’s new in Chrome Enterprise, Release v76

Chrome Scrubber

 

tags: MrNetTek

Mac – Bash – Package-Repackage

email me

This is how you would repackage a PKG or APP, creating a custom, thinner installation GUI. Using this method, you can take an existing PKG, add a script, and compile a new package—this wrapper package can have company branding, contain logging and telemetry functions, and apply customized settings.

Upon execution, a pre script will run (if you have one), then the contents of the package will extract, and a post script will carryout custom command sequences.

You can also lockdown certain areas of the package installation, like the ability to change the setup location, and the option of enabling or disabling the embedded package. Very powerful.

Using Packages, I was able to create a new, custom package. Here are the screenshots.

Initial Project screen

Add a custom Title

Select Custom Background and add a custom Image

Change the Package Name to use an alias name. Select Required to disable deselect. Make sure User sees says Custom Install Only

What the Summary screen will look like…

To disable the ability to change the setup location, select Install on startup disk only.

Initial Package screen starts on Settings tab. Select Require admin password for installation, if needed.

Under the Payload tab, add location where source files will be extracted to. I normally use Users > Shared > foldername, but a common location is Applications, especially for .APP files.

Under Scripts, add a script for automation sequencing (pre, post, or both)

Select Build, and a Customized Package will be created

 

Installer.sh script

#!/bin/bash

# App: Pulse Secure
# Ver: 9.0.3.1599
# Size: 18.6 MB
# Author: Eddie Jackson
# Date: 8/5/2019
# Log: /Users/Shared/pulse/log.txt
# Resources: installer.sh, PulseSecure.pkg, image.png

clear && printf '\e[3J'

cd /Volumes
cd Mac*/Users/Shared/pulse
echo Current Directory: /Users/Shared/pulse
echo Package File: PulseSecure.pkg
echo ""

echo Installing Pulse Secure...

# install with verbose output for log
sudo installer -pkg "PulseSecure.pkg" -target / -verbose > log.txt
rm "PulseSecure.pkg" >> log.txt
echo -e "\nCompleted!\n"
echo -e "exiting...\n"
sleep 5

exit 0

 

If you have any issues, check where the internal PKG or APP is being copied to. If the target in the installer string is failing, try changing that. If it still fails, add the .APP file (or other resource content) to the Applications folder under the Payload tab. I have seen permission issues on the Users > Shared folder sometimes cause problems; you may also just fix any permission issues using chmod.

Deny execute permission to everyone:
$ chmod a-x YourFile

Allow read permission to everyone:
$ chmod a+r YourFile

Make a file readable and writable by the group and others:
$ chmod go+rw YourFile

Make a shell script executable by the user/owner
$ chmod u+x YourScript.sh

Allow everyone to read, write, and execute the file and turn on the set group-ID:
$ chmod =rwx,g+s YourFile

 

What I Disabled

The install skips the Destination Select and does not allow us to change the Installation Location. Only Install is presented.

The Package Name cannot be deselected and the Path cannot be changed.

Notice my custom Title, Package Name, and Image Branding are all working.

 

Notes

SCCM Packaging into CMMAC


Uninstall Pulse

Library > Application Support > Pulse Secure > Pulse > Uninstall

Installer with an untrusted PKG
sudo installer -dumplog -verbose -allowUntrusted -pkg “path/YourPackage.pkg” -target “/”

Create simple logging in your script
echo [$(date)] Installed Pulse Client 9.0.3.1599 >> log.txt

Test whether or not folder/app exists
if [ -d “/Pulse Secure.app” ]; then echo “YES”; fi

Test whether or not file exists
if [ -f “/log.txt” ]; then echo “YES”; fi

cd /Volumes
cd Mac*/Users/Shared/pulse
cp -r “Pulse Secure.app” /Applications/
open “Pulse Secure.app”

 

tags: Mac Packaging, PKG, APP, SCCM CCMAC, Mac CMMAC, MrNetTek

Adobe Digital Editions – 4.5.10.0

email me

Description

Adobe Digital Editions is an ebook reader software program from Adobe Systems, built initially using Adobe Flash. It is used for acquiring, managing, and reading eBooks, digital newspapers, and other digital publications. The software supports PDF, XHTML and Flash-based content.


Download

Adobe Digital Editions is available here:

https://adedownload.adobe.com/pub/adobe/digitaleditions/ADE_4.5_Installer.exe  main


Size

8.49 MB


Silent Install

ADE_4.5_Installer.exe /s


Install Location (19 Folders, 61 Files, 21 MB)

C:\Program Files (x86)\Adobe\Adobe Digital Editions 4.5


Silent Uninstall

“C:\Program Files (x86)\Adobe\Adobe Digital Editions 4.5\uninstall.exe” /s


Registry

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Digital Editions 4.5]
“DisplayName”=”Adobe Digital Editions 4.5”
“UninstallString”=”\”C:\\Program Files (x86)\\Adobe\\Adobe Digital Editions 4.5\\uninstall.exe\””
“NoModify”=dword:00000001
“NoRepair”=dword:00000001
“DisplayIcon”=”C:\\Program Files (x86)\\Adobe\\Adobe Digital Editions 4.5\\DigitalEditions.exe,-101”
“Publisher”=”Adobe Systems Incorporated”
“DisplayVersion”=”4.5.10”
“HelpLink”=”http://www.adobe.com/go/digital-editions-4.5-help”
“URLInfoAbout”=”http://www.adobe.com/go/digital-editions-4.5”
“EstimatedSize”=dword:00005317

 

Inside the EXE (using 7zip)

$PLUGINSDIR

$TEMP

resources

 


Notes

Download Adobe Digital Editions for Mac

Release Notes

Get started with Adobe Digital Editions

 

:: Prevent Norton Prompt
reg add HKLM\SOFTWARE\WOW6432Node\Symantec\NPInstaller\DeclineCount\adobeebook /f /v ns /t reg_dword /d 1 /reg:64
reg add HKLM\SOFTWARE\WOW6432Node\Symantec\NPInstaller\DeclineCount\adobeebook /f /v nss /t reg_dword /d 2 /reg:64
reg add HKLM\SOFTWARE\WOW6432Node\Symantec\NPInstaller\DeclineCount\adobe /f /v nss /t reg_dword /d 2 /reg:64

reg add HKLM\SOFTWARE\Symantec\NPInstaller\DeclineCount\adobeebook /f /v ns /t reg_dword /d 1 /reg:64
reg add HKLM\SOFTWARE\Symantec\NPInstaller\DeclineCount\adobeebook /f /v nss /t reg_dword /d 2 /reg:64
reg add HKLM\SOFTWARE\Symantec\NPInstaller\DeclineCount\adobe /f /v nss /t reg_dword /d 2 /reg:64

reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\N360" /v "" /t REG_SZ /d "" /f /reg:64
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\N360" /v "" /t REG_SZ /d "" /f /reg:32


:: Disable Update
if exist "C:\Program Files (x86)\Adobe\Adobe Digital Editions 4.5\" (
echo { > "C:\Program Files (x86)\Adobe\Adobe Digital Editions 4.5\adeupdaterconfig.cfg"
echo "EnableAutoUpdate":"0" >> "C:\Program Files (x86)\Adobe\Adobe Digital Editions 4.5\adeupdaterconfig.cfg"
echo } >> "C:\Program Files (x86)\Adobe\Adobe Digital Editions 4.5\adeupdaterconfig.cfg"
)

if exist "C:\Program Files\Adobe\Adobe Digital Editions 4.5\" (
echo { > "C:\Program Files\Adobe\Adobe Digital Editions 4.5\adeupdaterconfig.cfg"
echo "EnableAutoUpdate":"0" >> "C:\Program Files\Adobe\Adobe Digital Editions 4.5\adeupdaterconfig.cfg"
echo } >> "C:\Program Files\Adobe\Adobe Digital Editions 4.5\adeupdaterconfig.cfg"
)

 

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Adobe\Adobe Digital Editions 4.5]
“ConfigPath”=”C:\\Program Files (x86)\\Adobe\\Adobe Digital Editions 4.5\\adeupdaterconfig.cfg”
“EnableAutoUpdate”=”0”
“ReaderState”=”0”
“UpdateInterval”=”0”
“UpdaterPath”=”C:\\Program Files (x86)\\Adobe\\Adobe Digital Editions 4.5\\ADEAutoUpdater_451.exe”

 

tags: MrNetTek