PowerShell/assets
Christoph Bergmeister [MVP] f5fc0535ac Preserve user shortcuts pinned to Taskbar during MSI upgrade (#9305)
Fixes #8919 

Preserve user shortcuts pinned to Taskbar during MSI upgrade by not removing shortcuts in this case (assuming the user has not changed the installation directory), see https://stackoverflow.com/a/33402698/1810304
This also requires the Guid to not always be re-generated, which PR #7701 originally added to ensure shortcuts get removed when RTM and preview are installed, the underlying problem was rather that RTM and preview shared the same GUIDs, therefore the GUIDs are hard-coded again but different for RTM and preview, therefore the shortcuts will still always get removed on uninstall. But this also means those GUIDs should change when the default installation directory changes, i.e. in PowerShell 7. Should we write the code to already take this into account that it does not get forgotten?

Tested by first reproducing the issue by building installers locally (and bumping the patch version. Then the fix was applied to verify the solution, it. For this to take effect the version from which an MSI is being upgraded must have this fix already, i.e. if this fix got shipped in `6.2.1`, then on upgrading to it, the issue would still occur but when upgrading `6.2.1` to `6.2.2` the shortcut would start being preserved. I am wondering if we could maybe improve this to show effect earlier by trying to extract the used (auto-generated) GUIDs in the `6.2.0` and `6.2.0-rc` packages out and use them...
Please not that we probably need to take this out for `7.0` because the base installation directory will change. This also assumes that the user has not specified a different installation directory on upgrade but this is a bit of an edge case where I think other things might break as well.
2019-04-07 12:25:56 -07:00
..
additionalAttributions.txt Use https in URLs where available (#8622) 2019-01-24 12:50:11 -08:00
AppImageThirdPartyNotices.txt Use https in URLs where available (#8622) 2019-01-24 12:50:11 -08:00
av_colors_128.svg New icon for PowerShell Core (#4848) 2017-10-03 10:35:32 -07:00
Avatar.svg New icon for PowerShell Core (#4848) 2017-10-03 10:35:32 -07:00
avatar_128.svg New icon for PowerShell Core (#4848) 2017-10-03 10:35:32 -07:00
files.wxs Build(deps): Bump PowerShellGet from 2.1.0 to 2.1.2 in /src/Modules (#9145) 2019-03-15 14:23:39 -07:00
license.rtf Use https in URLs where available (#8622) 2019-01-24 12:50:11 -08:00
macDialog.png Reduce image file sizes using lossless compression with imgbot (#5808) 2018-01-09 14:51:57 -08:00
patch-template.wxs Use https in URLs where available (#8622) 2019-01-24 12:50:11 -08:00
Powershell-preview.icns Add preview icon to macOS launcher (#7448) 2018-08-05 11:00:39 -07:00
Powershell.icns Add black version of icns for macOS. (#5073) 2017-10-09 17:31:00 -07:00
Powershell_64.png Renamed Assets folder to assets - for systems that are case sensitive 2016-06-06 14:28:27 -07:00
powershell_128.svg Replace CRLF with LF for two files under assets folder (#5025) 2017-10-05 16:45:27 -07:00
Powershell_256.png Reduce image file sizes using lossless compression with imgbot (#5808) 2018-01-09 14:51:57 -08:00
Powershell_av_colors.ico New icon for PowerShell Core (#4848) 2017-10-03 10:35:32 -07:00
Powershell_avatar.ico New icon for PowerShell Core (#4848) 2017-10-03 10:35:32 -07:00
Powershell_black.ico New icon for PowerShell Core (#4848) 2017-10-03 10:35:32 -07:00
Powershell_black_64.png change logo in readme to current black logo (#5030) 2017-10-06 08:00:23 -07:00
Product.wxs Preserve user shortcuts pinned to Taskbar during MSI upgrade (#9305) 2019-04-07 12:25:56 -07:00
ps_black_32x32.ico Make license a link in the MSI (#8846) 2019-02-08 14:02:27 -08:00
ps_black_64.svg change logo to SVG (#6072) 2018-02-02 18:35:59 -08:00
ps_black_128.svg New icon for PowerShell Core (#4848) 2017-10-03 10:35:32 -07:00
pwsh.1.ronn Use consistent '(c)' for copyright symbol (#5210) 2017-10-26 14:12:19 -07:00
pwsh.manifest Enable [Environment]::OSVersion to return current OS rather than compatible version (#6457) 2018-03-28 13:36:16 -07:00
README.md Replace CRLF with LF for two files under assets folder (#5025) 2017-10-05 16:45:27 -07:00
WixUIBannerBmp.bmp New icon for PowerShell Core (#4848) 2017-10-03 10:35:32 -07:00
WixUIDialogBmp.bmp New icon for PowerShell Core (#4848) 2017-10-03 10:35:32 -07:00
WixUIInfoIco.bmp New icon for PowerShell Core (#4848) 2017-10-03 10:35:32 -07:00

Use of Trademarked Logos

The assets in this folder are trademarked by Microsoft and don't fall under the same License as the source code.

Permitted Uses

Parties interested in using these logos can review the Use of Microsoft Copyrighted Material page. If the use falls into any of those categories, you can move forward with the use and will not need additional permission.

Third Party Permission Requests

If questions remain after reviewing the permitted uses page, please submit a request to Third Party Permissions. The people supporting this will direct the request depending upon the content.

If a request needs to be submitted to the Third Party Permissions, the request should include the following:

  • A statement that the Use of Microsoft Copyrighted Material was reviewed and did not address the situation.
  • A statement that Microsoft (and not a third party) is the owner of the logo at issue.
  • Clear identification of the materials to be used (i.e., the picture of the book cover included by the author in the letter request should suffice).
  • A description, including URLs of how they found or located the logo.
  • A description of how the party intends to use or distribute the logo (i.e., that it is for the book cover of an instructional book on PowerShell).
  • A description of how long the party needs to use the logo.