Old 7th November 2012, 16:12   #1
Junior Member
Join Date: Nov 2012
Posts: 2
Question Windows 8 shortcuts mess


My NSIS installer creates many shortcuts but only .exe ones appear in Start screen in Metro UI of Windows 8. But my app is a components library, and these .exes are samples, they don't play the main role. At the same time, shortcuts to .chm of documentation (the most important file) don't appear at all. Is there a way to control which shortcuts appear and which don't? Ideally, I would have a single shortcut to the folder where all other shortcuts reside. I guess this is possible with "Immersive Application Shortcuts" folder but at the time being NSIS does not seem to provide any tools to support this folder.

Also, I would like to use this approach only on Windows 8 (this means the installer must be able to change its behavior depending on OS version). However, http://nsis.sourceforge.net/Windows_Version_Detection page does not have anything about Windows 8 yet.

Would be glad for any help!
idh is offline   Reply With Quote
Old 7th November 2012, 18:57   #2
Senior Member
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 134
The windows version should not be read directly from the windows registry. There is a MS certification test case
TC1.2.1 : Does the test application perform Windows version checking correctly?
This test case uses a program to verify that your installer does not read the windows registry for window version values.
kalverson is offline   Reply With Quote
Old 7th November 2012, 19:41   #3
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,370
Use WinVer.nsh, update your local copy with http://nsis.svn.sourceforge.net/view...49&view=markup if required...

Note: The guidelines are (and have been for 10+ years) to only install a shortcut to your main app, not all your useless junk like license text and uninstaller. If this does not fit your design you might want make some sort of launcher that lists your samples etc. If the .chm is the most important part, create a mini app that just starts the .chm (MS has logic to filter out *Readme*, *Uninstaller*, *.chm and *.txt etc for new program highlighting etc)

See also:
http://msdn.microsoft.com/en-us/libr...the Start menu

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 8th November 2012, 09:32   #4
Junior Member
Join Date: Nov 2012
Posts: 2
idh is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

metro, shortcut, windows 8

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump