From a8e4546958e038ea951eacd56d5b8e378c33d2cb Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Tue, 11 May 2010 18:10:11 +1200 Subject: [PATCH] update setup script --- packaging/windows/OpenRA.nsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/packaging/windows/OpenRA.nsi b/packaging/windows/OpenRA.nsi index ae2c13b6cf..910e2e3aa7 100644 --- a/packaging/windows/OpenRA.nsi +++ b/packaging/windows/OpenRA.nsi @@ -83,6 +83,19 @@ Section "Client" Client File "..\..\maps\README" SectionEnd +Section "Editor" Editor + SetOutPath "$INSTDIR" + File "..\..\OpenRA.Editor\bin\Debug\OpenRA.Editor.exe" + + !insertmacro MUI_STARTMENU_WRITE_BEGIN Application + CreateDirectory "$SMPROGRAMS\$StartMenuFolder" + CreateShortCut "$SMPROGRAMS\$StartMenuFolder\OpenRA Editor (RA).lnk" $OUTDIR\OpenRA.Editor.exe "ra" \ + "$OUTDIR\OpenRA.ico" "" "" "" "" + CreateShortCut "$SMPROGRAMS\$StartMenuFolder\OpenRA Editor (CNC).lnk" $OUTDIR\OpenRA.Editor.exe "cnc" \ + "$OUTDIR\OpenRA.ico" "" "" "" "" + !insertmacro MUI_STARTMENU_WRITE_END +SectionEnd + SectionGroup /e "Mods" SectionGroup "Red Alert" RA Section "-RA_Core"