mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-24 03:49:45 +00:00
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:
parent
aedd7ea72c
commit
ed13bde5ef
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user