Fix the dead shortcut in Start menu when Config is not installed.

svn path=/trunk/tools/RosBE-Windows/; revision=512
This commit is contained in:
Daniel Reimer 2007-11-08 10:37:40 +00:00
parent aedd7ea72c
commit ed13bde5ef

View File

@ -170,6 +170,13 @@ Section /o "RosBE Configurator" SEC05
SetOutPath "$INSTDIR\Tools" SetOutPath "$INSTDIR\Tools"
SetOverwrite try SetOverwrite try
File /r Root\Tools\options.exe 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 SectionEnd
Section /o "Shortcut Tool" SEC06 Section /o "Shortcut Tool" SEC06
@ -206,8 +213,6 @@ Section -StartMenuShortcuts SEC08
"$INSTDIR\Uninstall-${PRODUCT_VERSION}.exe" "$INSTDIR\Uninstall-${PRODUCT_VERSION}.exe"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Readme.lnk" \ CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Readme.lnk" \
"$INSTDIR\readme.pdf" "$INSTDIR\readme.pdf"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Options.lnk" \
"$INSTDIR\Tools\options.exe"
!insertmacro MUI_STARTMENU_WRITE_END !insertmacro MUI_STARTMENU_WRITE_END
SectionEnd SectionEnd