Click here to Skip to main content
15,905,071 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

The window 10 is new OS. On the previous window OS, I can pin a shortcut on the taskbar using nsis with the code "CreateShortCut "$QUICKLAUNCH\example.lnk" "$INSTDIR\example.exe"" 。
But it didn't work in the new win10 os. The path is the same %AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar on win7 and win10.
Can anyone help? Thank you very much.

BTW, how to set other browser as defalut and don't show the dialog about setting.
Posted
Comments
barneyman 12-Oct-15 17:50pm    
no idea - tho' NSIS doesn't install using the MSI engine, so maybe win10 is locking it out - UAC possibly?

And DO NOT change the browser without user interaction - that get's you immediately uninstalled in my world
Member Fee 12-Oct-15 21:31pm    
Thank you.
It seems that the "taskbarpin" command doesn't work on win10,it just open the execute file.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900