Shortcuts Class
⚠️ Warning: Desktop and StartMenuRoot shortcuts are now created and removed automatically when your app is installed / uninstalled.
Namespace: Velopack.Windows
Assembly: Velopack
Assembly Version: 0.0.1298+ed8600e
A helper class to create or delete windows shortcuts.
[SupportedOSPlatform("windows")]
[Obsolete("Desktop and StartMenuRoot shortcuts are now created and removed automatically when your app is installed / uninstalled.")]
public class Shortcuts
Inheritance: object → Shortcuts
Attributes: SupportedOSPlatformAttribute,ObsoleteAttribute
Constructors
| Name | Description |
|---|---|
| Shortcuts(IVelopackLocator) |
Methods
| Name | Description |
|---|---|
| CreateShortcut(string, ShortcutLocation, bool, string, string) | Creates new shortcuts to the specified executable at the specified locations. |
| CreateShortcutForThisExe(ShortcutLocation) | Create a shortcut to the currently running executable at the specified locations. See CreateShortcut(string, ShortcutLocation, bool, string, string) to create a shortcut to a different program |
| DeleteShortcuts(string, ShortcutLocation) | Delete all the shortcuts for the specified executable in the specified locations. |
| FindShortcuts(string, ShortcutLocation) | Searches for existing shortcuts to an executable inside the current package. |
| RemoveShortcutForThisExe(ShortcutLocation) | Removes a shortcut for the currently running executable at the specified locations |
Documentation generated by MdDocs