From 09a0098bfab17832ef58477d9f5f2dadffc63b32 Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Fri, 7 Oct 2005 15:07:54 +0000 Subject: [PATCH] split desktop icon and start menu shortcut creation (untested) --- vlc.win32.nsi | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/vlc.win32.nsi b/vlc.win32.nsi index 19cd66b445..65e6f1accb 100644 --- a/vlc.win32.nsi +++ b/vlc.win32.nsi @@ -315,7 +315,7 @@ Section "Media player (required)" SEC01 SectionEnd -Section "Start Menu + Desktop Shortcut" SEC02 +Section "Start Menu Shortcut" SEC02a SectionIn 1 2 3 CreateDirectory "$SMPROGRAMS\VideoLAN" CreateShortCut "$SMPROGRAMS\VideoLAN\VLC media player.lnk" \ @@ -326,8 +326,6 @@ Section "Start Menu + Desktop Shortcut" SEC02 "$INSTDIR\vlc.exe" "--intf skins" CreateShortCut "$SMPROGRAMS\VideoLAN\Reset VLC defaults and quit.lnk" \ "$INSTDIR\vlc.exe" "--reset-config --reset-plugins-cache --save-config vlc:quit " - CreateShortCut "$DESKTOP\VLC media player.lnk" \ - "$INSTDIR\vlc.exe" "--intf wx" WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" \ "${PRODUCT_WEB_SITE}" CreateShortCut "$SMPROGRAMS\VideoLAN\${PRODUCT_NAME} Website.lnk" \ @@ -338,6 +336,12 @@ Section "Start Menu + Desktop Shortcut" SEC02 "$INSTDIR\Documentation.url" SectionEnd +Section "Desktop Shortcut" SEC02b + SectionIn 1 2 3 + CreateShortCut "$DESKTOP\VLC media player.lnk" \ + "$INSTDIR\vlc.exe" "--intf wx" +SectionEnd + Section /o "Mozilla plugin" SEC03 SectionIn 2 3 File /r mozilla @@ -409,8 +413,10 @@ SectionEnd !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN !insertmacro MUI_DESCRIPTION_TEXT ${SEC01} \ "The media player itself" - !insertmacro MUI_DESCRIPTION_TEXT ${SEC02} \ - "Adds icons to your start menu and your desktop for easy access" + !insertmacro MUI_DESCRIPTION_TEXT ${SEC02a} \ + "Adds icons to your start menu for easy access" + !insertmacro MUI_DESCRIPTION_TEXT ${SEC02b} \ + "Adds icon to your desktop for easy access" !insertmacro MUI_DESCRIPTION_TEXT ${SEC03} \ "The VLC Mozilla and Mozilla Firefox plugin" !insertmacro MUI_DESCRIPTION_TEXT ${SEC04} \