Windows installer: remove useless shortcuts.
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Sun, 21 Aug 2022 19:28:43 +0200
changeset 102 86aab112a8f4
parent 101 5799370243c0
child 103 072fcebf8bf0
Windows installer: remove useless shortcuts.
install.nsi
--- a/install.nsi	Sun Aug 21 19:27:35 2022 +0200
+++ b/install.nsi	Sun Aug 21 19:28:43 2022 +0200
@@ -51,11 +51,11 @@
   SetShellVarContext all
   CreateDirectory "$SMPROGRAMS\Beremiz"
   SetOutPath "$INSTDIR\mingw32\bin"
-  CreateShortCut "$SMPROGRAMS\Beremiz\PlcopenEditor.lnk" "${PYTHONW_EXE}" '"$INSTDIR\beremiz\plcopeneditor.py"' "$INSTDIR\beremiz\images\poe.ico"
+; CreateShortCut "$SMPROGRAMS\Beremiz\PlcopenEditor.lnk" "${PYTHONW_EXE}" '"$INSTDIR\beremiz\plcopeneditor.py"' "$INSTDIR\beremiz\images\poe.ico"
   CreateShortCut "$SMPROGRAMS\Beremiz\Beremiz.lnk" "${PYTHONW_EXE}" '${BEREMIZ_EXE}' "$INSTDIR\beremiz\images\brz.ico"
   CreateShortCut "$SMPROGRAMS\Beremiz\Uninstall.lnk" "$INSTDIR\uninstall.exe"
-  SetShellVarContext current
-  CreateShortCut "$DESKTOP\Beremiz.lnk" "${PYTHONW_EXE}" '${BEREMIZ_EXE}' "$INSTDIR\beremiz\images\brz.ico"
+;  SetShellVarContext current
+;  CreateShortCut "$DESKTOP\Beremiz.lnk" "${PYTHONW_EXE}" '${BEREMIZ_EXE}' "$INSTDIR\beremiz\images\brz.ico"
 ; Profiling :
 ;  CreateShortCut "$DESKTOP\BeremizPro.lnk" "${PYTHONW_EXE}" '-m cProfile -o %USERPROFILE%/stats.pstat ${BEREMIZ_EXE}' "$INSTDIR\beremiz\images\brz.ico"
 SectionEnd