### task install to install chrome as part of a task without elevated privileges, so that it is removed before the next task run, use the commands from the [example task](https://gist.github.com/grenade/b43d9896e883e6b49908a6dd22e22f0c) created in bug 1570262. eg, set the `PATH` env var to include task profile scoop shims: ``` %PATH%;%cd%\\scoop\\shims ``` and run the following commands in the task: ``` powershell -NoProfile -InputFormat None -ExecutionPolicy RemoteSigned -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh'))" scoop install git scoop bucket add extras scoop install googlechrome ``` ### system install an [occ install](https://github.com/mozilla-releng/OpenCloudConfig/blob/33980f8/userdata/Manifest/gecko-t-win10-64-beta.json#L1691-L1699) looks like this. it'll need to be modified for puppet since this bug is about hardware. ``` { "ComponentName": "GoogleChrome", "ComponentType": "MsiInstall", "Comment": "https://bugzilla.mozilla.org/show_bug.cgi?id=1570213", "Url": "https://dl.google.com/tag/s/dl/chrome/install/googlechromestandaloneenterprise64.msi", "Name": "Google Chrome", "ProductId": "86B1D736-F1F4-3367-9B39-C2E176B68239", "sha512": "7c3c0928203ef8bcbf5f769887f29ba92208b8b449d4c18ca43bd05679b2788e9c6af249187e57cc7efd5758146c5cea9de440d12d2c632cefc2cb17fddc5e6c" } ```
Bug 1570767 Comment 3 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
### task install to install chrome as part of a task without elevated privileges, so that it is removed before the next task run, use the commands from the [example task](https://gist.github.com/grenade/b43d9896e883e6b49908a6dd22e22f0c) created in bug 1570262. eg, set the `PATH` env var to include task profile scoop shims: ``` %PATH%;%cd%\\scoop\\shims ``` and run the following commands in the task: ``` powershell -NoProfile -InputFormat None -ExecutionPolicy RemoteSigned -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh'))" scoop install git scoop bucket add extras scoop install googlechrome ``` ### system install an [occ install](https://github.com/mozilla-releng/OpenCloudConfig/blob/33980f8/userdata/Manifest/gecko-t-win10-64-beta.json#L1691-L1699) created for bug 1570213, looks like this. it'll need to be modified for puppet since this bug is about hardware. ``` { "ComponentName": "GoogleChrome", "ComponentType": "MsiInstall", "Comment": "https://bugzilla.mozilla.org/show_bug.cgi?id=1570213", "Url": "https://dl.google.com/tag/s/dl/chrome/install/googlechromestandaloneenterprise64.msi", "Name": "Google Chrome", "ProductId": "86B1D736-F1F4-3367-9B39-C2E176B68239", "sha512": "7c3c0928203ef8bcbf5f769887f29ba92208b8b449d4c18ca43bd05679b2788e9c6af249187e57cc7efd5758146c5cea9de440d12d2c632cefc2cb17fddc5e6c" } ```