]> git.lyx.org Git - features.git/blobdiff - development/Win32/packaging/installer/setup/configure.nsh
installer: rename install folder as discussed
[features.git] / development / Win32 / packaging / installer / setup / configure.nsh
index 6d90669e31d0b1d82b9494ea267a75fc84a23a59..925b432fa0cef487924e2fb4f5ead44fa1b346c6 100644 (file)
@@ -6,7 +6,6 @@ Write registry information and configure LyX
 
 */
 
-#Var DistFile
 Var PathPrefix
 
 #!define SHORTCUT '${APP_NAME} ${APP_SERIES_NAME}.lnk" "$INSTDIR\${APP_RUN}" "" "$INSTDIR\${APP_RUN}" "" "" "" "${APP_INFO}"'
@@ -22,10 +21,12 @@ Section -InstallData
   WriteRegStr SHCTX ${APP_REGKEY_SETUP} "LaTeX Path" $PathLaTeX
   
   # Start Menu shortcut
-  # There is only one shortcut to the application, so it should be in the main group
   SetOutPath "$INSTDIR\bin" # this is the folder in which the shortcut is executed
   CreateDirectory "$SMPROGRAMS\$StartmenuFolder"
   CreateShortCut "$SMPROGRAMS\$StartmenuFolder\${APP_NAME}.lnk" "$INSTDIR\${APP_RUN}" "" "$INSTDIR\${APP_RUN}" "" "" "" "${APP_INFO}"
+  # Link to www.lyx.org and to the Wiki
+  WriteINIStr "$SMPROGRAMS\$StartmenuFolder\${APP_WEBPAGE_INFO}.url" "InternetShortcut" "URL" "${APP_WEBPAGE}"
+  WriteINIStr "$SMPROGRAMS\$StartmenuFolder\${APP_WIKI_INFO}.url" "InternetShortcut" "URL" "${APP_WIKI}"
   # create desktop icon
   ${if} $CreateDesktopIcon == "true"
    SetOutPath "$INSTDIR\bin"