equal
deleted
inserted
replaced
26 |
26 |
27 Name "Beremiz $BVERSION" |
27 Name "Beremiz $BVERSION" |
28 OutFile "Beremiz-$BVERSION.exe" |
28 OutFile "Beremiz-$BVERSION.exe" |
29 InstallDir "$PROGRAMFILES\Beremiz" |
29 InstallDir "$PROGRAMFILES\Beremiz" |
30 !define PYTHONW_EXE "$INSTDIR\python\pythonw.exe" |
30 !define PYTHONW_EXE "$INSTDIR\python\pythonw.exe" |
31 !define BEREMIZ_EXE '"$INSTDIR\beremiz\Beremiz.py" -u "http://www.beremiz.org/updateinfo/$BVERSION/"' |
31 !define BEREMIZ_EXE '"$INSTDIR\beremiz\Beremiz.py" -e "$INSTDIR\winpaths.py"' |
32 |
32 |
33 Section "Beremiz" |
33 Section "Beremiz" |
34 SetOutPath $INSTDIR |
34 SetOutPath $INSTDIR |
35 File /r /x debian /x *.pyc "installer/*" |
35 File /r /x debian /x *.pyc "installer/*" |
36 SectionEnd |
36 SectionEnd |
48 SectionEnd |
48 SectionEnd |
49 |
49 |
50 Section "Shortcuts" |
50 Section "Shortcuts" |
51 SetShellVarContext all |
51 SetShellVarContext all |
52 CreateDirectory "$SMPROGRAMS\Beremiz" |
52 CreateDirectory "$SMPROGRAMS\Beremiz" |
53 SetOutPath "$INSTDIR\mingw32\bin" |
53 SetOutPath "%HOMEDRIVE%%HOMEPATH%" |
54 ; CreateShortCut "$SMPROGRAMS\Beremiz\PlcopenEditor.lnk" "${PYTHONW_EXE}" '"$INSTDIR\beremiz\plcopeneditor.py"' "$INSTDIR\beremiz\images\poe.ico" |
54 ; CreateShortCut "$SMPROGRAMS\Beremiz\PlcopenEditor.lnk" "${PYTHONW_EXE}" '"$INSTDIR\beremiz\plcopeneditor.py"' "$INSTDIR\beremiz\images\poe.ico" |
55 CreateShortCut "$SMPROGRAMS\Beremiz\Beremiz.lnk" "${PYTHONW_EXE}" '${BEREMIZ_EXE}' "$INSTDIR\beremiz\images\brz.ico" |
55 CreateShortCut "$SMPROGRAMS\Beremiz\Beremiz.lnk" "${PYTHONW_EXE}" '${BEREMIZ_EXE}' "$INSTDIR\beremiz\images\brz.ico" |
56 CreateShortCut "$SMPROGRAMS\Beremiz\Uninstall.lnk" "$INSTDIR\uninstall.exe" |
56 CreateShortCut "$SMPROGRAMS\Beremiz\Uninstall.lnk" "$INSTDIR\uninstall.exe" |
57 SectionEnd |
57 SectionEnd |
58 |
58 |