Commit 09a0098b authored by Antoine Cellerier's avatar Antoine Cellerier

split desktop icon and start menu shortcut creation (untested)

parent afdb51ad
...@@ -315,7 +315,7 @@ Section "Media player (required)" SEC01 ...@@ -315,7 +315,7 @@ Section "Media player (required)" SEC01
SectionEnd SectionEnd
Section "Start Menu + Desktop Shortcut" SEC02 Section "Start Menu Shortcut" SEC02a
SectionIn 1 2 3 SectionIn 1 2 3
CreateDirectory "$SMPROGRAMS\VideoLAN" CreateDirectory "$SMPROGRAMS\VideoLAN"
CreateShortCut "$SMPROGRAMS\VideoLAN\VLC media player.lnk" \ CreateShortCut "$SMPROGRAMS\VideoLAN\VLC media player.lnk" \
...@@ -326,8 +326,6 @@ Section "Start Menu + Desktop Shortcut" SEC02 ...@@ -326,8 +326,6 @@ Section "Start Menu + Desktop Shortcut" SEC02
"$INSTDIR\vlc.exe" "--intf skins" "$INSTDIR\vlc.exe" "--intf skins"
CreateShortCut "$SMPROGRAMS\VideoLAN\Reset VLC defaults and quit.lnk" \ CreateShortCut "$SMPROGRAMS\VideoLAN\Reset VLC defaults and quit.lnk" \
"$INSTDIR\vlc.exe" "--reset-config --reset-plugins-cache --save-config vlc:quit " "$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" \ WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" \
"${PRODUCT_WEB_SITE}" "${PRODUCT_WEB_SITE}"
CreateShortCut "$SMPROGRAMS\VideoLAN\${PRODUCT_NAME} Website.lnk" \ CreateShortCut "$SMPROGRAMS\VideoLAN\${PRODUCT_NAME} Website.lnk" \
...@@ -338,6 +336,12 @@ Section "Start Menu + Desktop Shortcut" SEC02 ...@@ -338,6 +336,12 @@ Section "Start Menu + Desktop Shortcut" SEC02
"$INSTDIR\Documentation.url" "$INSTDIR\Documentation.url"
SectionEnd 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 Section /o "Mozilla plugin" SEC03
SectionIn 2 3 SectionIn 2 3
File /r mozilla File /r mozilla
...@@ -409,8 +413,10 @@ SectionEnd ...@@ -409,8 +413,10 @@ SectionEnd
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SEC01} \ !insertmacro MUI_DESCRIPTION_TEXT ${SEC01} \
"The media player itself" "The media player itself"
!insertmacro MUI_DESCRIPTION_TEXT ${SEC02} \ !insertmacro MUI_DESCRIPTION_TEXT ${SEC02a} \
"Adds icons to your start menu and your desktop for easy access" "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} \ !insertmacro MUI_DESCRIPTION_TEXT ${SEC03} \
"The VLC Mozilla and Mozilla Firefox plugin" "The VLC Mozilla and Mozilla Firefox plugin"
!insertmacro MUI_DESCRIPTION_TEXT ${SEC04} \ !insertmacro MUI_DESCRIPTION_TEXT ${SEC04} \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment