mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2024-12-22 11:55:29 +01:00
fix Installer
This commit is contained in:
parent
ac5ee533b3
commit
d83d38d0e8
1 changed files with 7 additions and 7 deletions
|
@ -160,7 +160,7 @@ CreateShortCut "$SMPROGRAMS\$SM_Folder\${APP_NAME} Website.lnk" "$INSTDIR\${APP_
|
||||||
!ifndef REG_START_MENU
|
!ifndef REG_START_MENU
|
||||||
CreateDirectory "$SMPROGRAMS\LuaEngine"
|
CreateDirectory "$SMPROGRAMS\LuaEngine"
|
||||||
CreateShortCut "$SMPROGRAMS\LuaEngine\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_RUNTIME}" "$\"$INSTDIR\scripts\luaenginert.lea$\""
|
CreateShortCut "$SMPROGRAMS\LuaEngine\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_RUNTIME}" "$\"$INSTDIR\scripts\luaenginert.lea$\""
|
||||||
CreateShortCut "$SMPROGRAMS\$SM_Folder\${APP_NAME} Compiler.lnk" "$INSTDIR\${MAIN_APP_COMPILER}"
|
CreateShortCut "$SMPROGRAMS\LuaEngine\${APP_NAME} Compiler.lnk" "$INSTDIR\${MAIN_APP_COMPILER}"
|
||||||
CreateShortCut "$SMPROGRAMS\LuaEngine\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"
|
CreateShortCut "$SMPROGRAMS\LuaEngine\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"
|
||||||
|
|
||||||
!ifdef WEB_SITE
|
!ifdef WEB_SITE
|
||||||
|
@ -230,7 +230,7 @@ RmDir "$INSTDIR"
|
||||||
!ifdef REG_START_MENU
|
!ifdef REG_START_MENU
|
||||||
!insertmacro MUI_STARTMENU_GETFOLDER "Application" $SM_Folder
|
!insertmacro MUI_STARTMENU_GETFOLDER "Application" $SM_Folder
|
||||||
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME}.lnk"
|
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME}.lnk"
|
||||||
Delete "$SMPROGRAMS\LuaEngine\${APP_NAME} Compiler.lnk"
|
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME} Compiler.lnk"
|
||||||
Delete "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk"
|
Delete "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk"
|
||||||
!ifdef WEB_SITE
|
!ifdef WEB_SITE
|
||||||
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME} Website.lnk"
|
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME} Website.lnk"
|
||||||
|
@ -239,13 +239,13 @@ RmDir "$SMPROGRAMS\$SM_Folder"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!ifndef REG_START_MENU
|
!ifndef REG_START_MENU
|
||||||
Delete "$SMPROGRAMS\LuaEngine\${APP_NAME}.lnk"
|
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME}.lnk"
|
||||||
Delete "$SMPROGRAMS\LuaEngine\${APP_NAME} Compiler.lnk"
|
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME} Compiler.lnk"
|
||||||
Delete "$SMPROGRAMS\LuaEngine\Uninstall ${APP_NAME}.lnk"
|
Delete "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk"
|
||||||
!ifdef WEB_SITE
|
!ifdef WEB_SITE
|
||||||
Delete "$SMPROGRAMS\LuaEngine\${APP_NAME} Website.lnk"
|
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME} Website.lnk"
|
||||||
!endif
|
!endif
|
||||||
RmDir "$SMPROGRAMS\LuaEngine"
|
RmDir "$SMPROGRAMS\$SM_Folder"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
DeleteRegKey ${REG_ROOT} "${REG_APP_RUNTIME}"
|
DeleteRegKey ${REG_ROOT} "${REG_APP_RUNTIME}"
|
||||||
|
|
Loading…
Reference in a new issue