-
Notifications
You must be signed in to change notification settings - Fork 903
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
Enhance Install-ChocolateyShortcut to support WindowStyle, Pin to Taskbar and Run As Administrator checkbox #519
Comments
ferventcoder
pushed a commit
that referenced
this issue
Jun 5, 2016
Enhanced Install-ChocolateyShortcut.ps1 with "run as admin", "window style" and "pin to taskbar" - WindowStyle parameter just exposes a standard WshShell.CreateShortcut property. A link in the help section shows all possible values. - PinToTaskBar uses the shell.application object to call the shortcuts "Pin to Taskbar" shell verb. - RunAsAdmin - In order to enable the "Run as Admin" checkbox, this code reads the .LNK as a byte stream and flips a specific bit while writing a new copy. It then replaces the original .LNK with the copy, similar to this example: http://poshcode.org/2513
ferventcoder
added a commit
that referenced
this issue
Jun 5, 2016
* pr511: (GH-519) Install-ChocolateyShortcut Enhancements
ferventcoder
added a commit
that referenced
this issue
Jun 5, 2016
* stable: (GH-519) Install-ChocolateyShortcut Enhancements (maint) remove stray namespace import
ferventcoder
added a commit
to ferventcoder/choco
that referenced
this issue
Jun 9, 2016
The new parameters need to document what version of Chocolatey they are available with.
ferventcoder
added a commit
that referenced
this issue
Jun 11, 2016
* stable: (GH-715) Report loaded extension in debug (GH-455) Adjust summary for unfound sources (GH-557) Adjust logging of upgrade messages (GH-759) Summarize affected pkgs when at least 5 (GH-759) One action summary for all actions (maint) rename method (GH-742) Feature List Formatting (maint) licensing updates (doc) update generated docs / add download (maint) Allow better use of PowershellService (GH-781) Web Functions - Return early when local file (doc) add more information regarding pro/business (GH-563) Environment changed message as warning (doc) Uninstall-ChocolateyZipPackage is optional (doc) Point to new docs location (maint) do not log warning unless regular output (GH-519) Update Install-ChocolateyShortcut Docs (doc) update generated docs (GH-773) Autodoc - Examples Before Parameters (GH-774) Autodoc - Fix Aliases
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice to have Install-ChocolateyShortcut support the ability to configure the shortcut's "WindowsStyle" attribute as well as allow a shortcut to be pinned to the taskbar and allow the "Run As Administrator" checkbox to be checked.
The text was updated successfully, but these errors were encountered: