-
-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
OS
Windows 11.22631.4317
Programming Language
C#
VPK Version
vpk 0.0.626
Library Version
NuGet 0.0.626
What happened?
When packaging my application I specified the StartMenu shortcut, but it was not creating the shortcut on install. After testing a bit by varying the value of packAuthors, I noticed that it only installs to folders that already exist on my machine, but won't create new ones. Is this the expected behaviour? If so, I think it should be changed to create a new start menu folder if possible.
Relevant log output
[setup:28992] [11:17:50] [INFO] Creating shortcuts...
[setup:28992] [11:17:50] [INFO] Shortcut Previous Locations: ShortcutLocationFlags(0x0) (None)
[setup:28992] [11:17:50] [INFO] Shortcut Next Locations: ShortcutLocationFlags(START_MENU) (Version { major: 0, minor: 0, patch: 1 })
[setup:28992] [11:17:50] [INFO] App Model ID: Some("velopack.Sidewinder")
[setup:28992] [11:17:50] [INFO] Searching for shortcuts containing root: 'C:\Users\MyUser\AppData\Local\Sidewinder'
[setup:28992] [11:17:50] [INFO] Searching for shortcuts in: ShortcutLocationFlags(DESKTOP) (C:\Users\MyUser\Desktop/*.lnk)
[setup:28992] [11:17:50] [INFO] Searching for shortcuts in: ShortcutLocationFlags(STARTUP) (C:\Users\MyUser\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup/*.lnk)
[setup:28992] [11:17:50] [WARN] Failed to get long path for 'c:\program files (x86)\microsoft office\root\office16\onenotem.exe': The system cannot find the path specified. (0x80070003)
[setup:28992] [11:17:50] [INFO] Searching for shortcuts in: ShortcutLocationFlags(START_MENU) (C:\Users\MyUser\AppData\Roaming\Microsoft\Windows\Start Menu\Programs/**/*.lnk)
[setup:28992] [11:17:50] [WARN] Failed to get long path for 'c:\program files (x86)\git\mingw64\bin\wintoast.exe': The system cannot find the path specified. (0x80070003)
[setup:28992] [11:17:50] [WARN] Failed to get long path for 'c:\program files (x86)\paraview 5.12.0\bin\paraview.exe': The system cannot find the path specified. (0x80070003)
[setup:28992] [11:17:50] [WARN] Failed to get long path for 'c:\users\myuser\onedrive - viper applied science\desktop\undefined': The system cannot find the file specified. (0x80070002)
[setup:28992] [11:17:50] [WARN] Failed to get long path for 'c:\program files (x86)\microsoft office\root\office16\onenotem.exe': The system cannot find the path specified. (0x80070003)
[setup:28992] [11:17:50] [INFO] Searching for shortcuts in: ShortcutLocationFlags(USER_PINNED) (C:\Users\MyUser\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned/**/*.lnk)
[setup:28992] [11:17:50] [WARN] Failed to get long path for 'c:\program files (x86)\google\chrome\application\chrome.exe': The system cannot find the path specified. (0x80070003)
[setup:28992] [11:17:50] [WARN] Failed to get long path for 'c:\program files (x86)\microsoft office\root\office16\outlook.exe': The system cannot find the path specified. (0x80070003)
[setup:28992] [11:17:50] [INFO] Will update all current shortcuts: []
[setup:28992] [11:17:50] [INFO] Creating new shortcut for flag '"C:\\Users\\MyUser\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\TestAuthor\\Sidewinder.lnk"' (ShortcutLocationFlags(START_MENU)).
[setup:28992] [11:17:53] [WARN] Failed to save shortcut: The system cannot find the path specified. (0x80070003)Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working