-
Notifications
You must be signed in to change notification settings - Fork 391
(googlechrome) Include master_preferences file #1603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
chocolatey/choco#1185 is probably what you want. |
I agree with @TheCakeIsNaOH that it would be better served through a hook (which is what the linked issue is about). |
Whats wrong with |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? |
Dear contributor, |
When installing the Google Chrome Enterprise MSI, a file called
master_preferences
can be placed alongsidechrome.exe
in the install destination folder (%ProgramFiles%\Google\Chrome\Application\
) to configure Chrome and control how it first launches.It would be great if there was a flag on the Chocolatey package to specify a path to a
master_preferences
file to be included in the installation. Ideally we'd include both local drive & URI support.Notes:
initial_preferences.json
in Chrome 88, so it would probably be best to just take whatever file is specified and leave the name alone.master_preferences
file here:Expected Behavior
Examples:
Each of these variants would install the Chrome enterprise MSI like normal, but then copy the specified file to the Chome install directory (
%ProgramFiles%\Google\Chrome\Application\
) as its final step.The name of the file would not be changed from the specified name, but would overwrite any previously-existing file. (Chrome includes a very simple
master_preferences
file by default.)Chocolatey would throw an exception if the specified file was not found, could not be downloaded, or otherwise could not be copied to the install directory.
Current Behavior
master_preferences
file from wherever I have it storedContext
Mostly cosmetic; I'd love to be able to shrink all my Chocolatey installs to 1-liners, instead of requiring multiple lines & error handling to fully install and configure one app.
The text was updated successfully, but these errors were encountered: