Skip to content

Shortcuts are not created automatically on some machines #253

@Chuprinenko

Description

@Chuprinenko

OS

Windows 10 Enterprise, os build 19045.4894

Programming Language

net48

VPK Version

vpk 0.0.626

Library Version

Nuget 0.0.626

What happened?

I'm packaging the version using --shortcuts "Desktop,StartMenu" param. But for some machines (seems virtual machines is the problem) this doesn't automatically create shortcuts when installing. The same story without specifying shortcuts param.

Nevertheless, it works ok when I add them in code:
new Velopack.Windows.Shortcuts().CreateShortcutForThisExe(ShortcutLocation.StartMenu | ShortcutLocation.Desktop);

Seems nothing specific in logs.

Relevant log output

2024-10-03 18:33:49> Information - Initializing WindowsVelopackLocator
2024-10-03 18:33:50> Information - Update.exe found in parent directory
2024-10-03 18:33:50> Information - Located valid manifest file at: C:\Users\user\AppData\Local\TEST_VELOPACK\current\sq.version
2024-10-03 18:33:50> Information - Starting Velopack App (Run).
2024-10-03 18:33:50> Information - Setting current process explicit AppUserModelID to 'velopack.TEST_VELOPACK'
2024-10-03 18:33:50> Information - Found fast exit hook: --veloapp-install
2024-10-03 18:33:50> Information - Completed hook, exiting...
2024-10-03 18:33:51> Information - Initializing WindowsVelopackLocator
2024-10-03 18:33:52> Information - Update.exe found in parent directory
2024-10-03 18:33:52> Information - Located valid manifest file at: C:\Users\user\AppData\Local\TEST_VELOPACK\current\sq.version
2024-10-03 18:33:52> Information - Starting Velopack App (Run).
2024-10-03 18:33:52> Information - Setting current process explicit AppUserModelID to 'velopack.TEST_VELOPACK'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions