Author: dreimer
Date: Thu Nov 8 13:37:40 2007
New Revision: 30265
URL:
http://svn.reactos.org/svn/reactos?rev=30265&view=rev
Log:
Fix the dead shortcut in Start menu when Config is not installed.
Modified:
trunk/tools/RosBE-Windows/RosBE.nsi
Modified: trunk/tools/RosBE-Windows/RosBE.nsi
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/RosBE.nsi?rev=…
==============================================================================
--- trunk/tools/RosBE-Windows/RosBE.nsi (original)
+++ trunk/tools/RosBE-Windows/RosBE.nsi Thu Nov 8 13:37:40 2007
@@ -170,6 +170,13 @@
SetOutPath "$INSTDIR\Tools"
SetOverwrite try
File /r Root\Tools\options.exe
+ !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
+ CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
+ SetOutPath $REACTOS_SOURCE_DIRECTORY
+ CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Options.lnk" \
+ "$INSTDIR\Tools\options.exe"
+ !insertmacro MUI_STARTMENU_WRITE_END
+
SectionEnd
Section /o "Shortcut Tool" SEC06
@@ -206,8 +213,6 @@
"$INSTDIR\Uninstall-${PRODUCT_VERSION}.exe"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Readme.lnk" \
"$INSTDIR\readme.pdf"
- CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Options.lnk" \
- "$INSTDIR\Tools\options.exe"
!insertmacro MUI_STARTMENU_WRITE_END
SectionEnd