开发者

NSIS Script: Shortcuts of a Silent Install are not showing up

开发者 https://www.devze.com 2023-02-15 05:23 出处:网络
I got an NSIS script which starts a silent 开发者_开发问答installer. In this silent installer, I create shortcuts using CreateShortcut. Unfortunately those shortcuts are not showing up in the Start Me

I got an NSIS script which starts a silent 开发者_开发问答installer. In this silent installer, I create shortcuts using CreateShortcut. Unfortunately those shortcuts are not showing up in the Start Menu.

My workaround is to explicitly create those shortcuts but that leads to duplicated logic, which I'm not a fan of. Any ideas?


Where did you put the logic that creates the shortcuts? Only .onInit and Section's are executed when a installer is silent.

Could you be creating the shortcuts for the wrong user? On Vista+ if you elevate with a different user, $SMPrograms is going to resolve to their start menu...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号