mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-23 19:39:51 +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"
|
||||
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 @@ Section -StartMenuShortcuts SEC08
|
||||
"$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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user