|
![]() |
#1 |
Junior Member
Join Date: Nov 2012
Posts: 2
|
![]()
Hi!
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! |
![]() |
![]() |
![]() |
#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. |
![]() |
![]() |
![]() |
#3 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,332
|
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://blogs.msdn.com/b/oldnewthing/...24/496690.aspx http://blogs.msdn.com/b/oldnewthing/...5/3301004.aspx http://web.archive.org/web/200703102....com/kb/282066 http://msdn.microsoft.com/en-us/libr...the Start menu IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Nov 2012
Posts: 2
|
Thanks!
|
![]() |
![]() |
![]() |
|
Tags |
metro, shortcut, windows 8 |
Thread Tools | Search this Thread |
Display Modes | |
|
|