开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜