# HG changeset patch # User Edouard Tisserant # Date 1318199847 -7200 # Node ID e3a923bd3d56f1c4dd5410aa0c05a89dac5bb33e # Parent 2ee55ffac5805e395f067dc02d465eaef4ac3601 added desktop icon, added install.nsi and license.txt as prerequistes diff -r 2ee55ffac580 -r e3a923bd3d56 Makefile --- a/Makefile Fri Oct 07 01:06:34 2011 +0200 +++ b/Makefile Mon Oct 10 00:37:27 2011 +0200 @@ -172,7 +172,7 @@ $(call get_src_hg,build/beremiz) touch beremiz -Beremiz-$(version).exe: python mingw matiec plcopeneditor beremiz +Beremiz-$(version).exe: python mingw matiec plcopeneditor beremiz $(src)/license.txt $(src)/install.nsi sed -e 's/\$$BVERSION/$(version)/g' $(src)/license.txt > build/license.txt sed -e 's/\$$BVERSION/$(version)/g' $(src)/install.nsi | makensis - diff -r 2ee55ffac580 -r e3a923bd3d56 install.nsi --- a/install.nsi Fri Oct 07 01:06:34 2011 +0200 +++ b/install.nsi Mon Oct 10 00:37:27 2011 +0200 @@ -46,10 +46,11 @@ SetShellVarContext all CreateDirectory "$SMPROGRAMS\Beremiz" SetOutPath "$INSTDIR\mingw\bin" - CreateShortCut "$SMPROGRAMS\Beremiz\PlcopenEditor.lnk" "${PYTHONW_EXE}" '"$INSTDIR\plcopeneditor\plcopeneditor.py"' "$INSTDIR\plcopeneditor\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" SectionEnd Section "Uninstall" @@ -61,4 +62,6 @@ RMDir /R "$INSTDIR" DeleteRegKey /ifempty HKCU "Software\Beremiz" DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Beremiz" + SetShellVarContext current + Delete "$DESKTOP\Beremiz.lnk" SectionEnd