Changeset 12 for client_files/_czwow/CzWoW.nsi
- Timestamp:
- Sep 29, 2008, 9:34:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client_files/_czwow/CzWoW.nsi
r1 r12 13 13 !define FULL_TITLE "Clientská èestina WoW" 14 14 !define CREATOR "maron" 15 !define CHANGELOG_FILE "CzWoW. txt"15 !define CHANGELOG_FILE "CzWoW.html" 16 16 !define CHANGELOG_FILE_NAME "O èetinì.lnk" 17 17 !define STARTER "WoW.exe" 18 !define Homepage "Heroes of Fantasy.url"19 18 20 19 … … 83 82 ; Write the uninstall keys for Windows 84 83 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${TITLE}" "DisplayName" "${FULL_TITLE}" 85 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${TITLE}" "UninstallString" '"$INSTDIR\ uninstall.exe"'84 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${TITLE}" "UninstallString" '"$INSTDIR\${TITLE}-Uninstall.exe"' 86 85 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${TITLE}" "NoModify" 1 87 86 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${TITLE}" "NoRepair" 1 88 87 89 88 90 SetOutPath "$INSTDIR "89 SetOutPath "$INSTDIR\CzWoW" 91 90 92 91 ;ADD YOUR OWN FILES HERE... 93 File "${CHANGELOG_FILE}" 92 File "CzWoW\${CHANGELOG_FILE}" 93 File "CzWoW\*.*" 94 94 95 95 ;Store installation folder … … 101 101 SectionEnd 102 102 103 Section " Texty" Texts103 Section "Addon" Addon 104 104 SetOutPath "$INSTDIR\Interface\AddOns\CzWoW\" 105 105 File "Interface\AddOns\CzWoW\*.*" … … 108 108 SectionEnd 109 109 110 Section "Èeské texty" CZTexts 111 SetOutPath "$INSTDIR\Interface\AddOns\CzWoW\" 112 File "CZ\*.*" 113 SectionEnd 114 115 Section "Slovenské texty" SKTexts 116 SetOutPath "$INSTDIR\Interface\AddOns\CzWoW\" 117 File "SK\*.*" 118 SectionEnd 119 110 120 Section "Fonty" Fonts 111 121 SetOutPath "$INSTDIR\Data\Fonts\" … … 113 123 SectionEnd 114 124 115 Section "Zvuk y" Sound125 Section "Zvuk" Sound 116 126 SetOutPath "$INSTDIR\Data\Sound\" 117 127 File "Data\Sound\*.*" … … 232 242 SectionEnd 233 243 234 Section " Pøidat do nabídkyStart" start244 Section "Nabídka Start" start 235 245 CreateDirectory "$SMPROGRAMS\${FULL_TITLE}" 236 246 CreateShortCut "$SMPROGRAMS\${FULL_TITLE}\Uninstall.lnk" "$INSTDIR\${TITLE}-uninstall.exe" 237 CreateShortCut "$SMPROGRAMS\${FULL_TITLE}\${CHANGELOG_FILE_NAME}" "$INSTDIR\${CHANGELOG_FILE}" 238 CreateShortCut "$SMPROGRAMS\${FULL_TITLE}\${TITLE}.lnk" "$INSTDIR\${STARTER}" 239 SectionEnd 240 241 Section "Umístit ikonu na plochu" desk 242 CreateShortCut "$DESKTOP\${TITLE}.lnk" "$INSTDIR\${STARTER}" "" "" 247 CreateShortCut "$SMPROGRAMS\${FULL_TITLE}\${CHANGELOG_FILE_NAME}" "$INSTDIR\czwow\${CHANGELOG_FILE}" 248 ;CreateShortCut "$SMPROGRAMS\${FULL_TITLE}\${TITLE}.lnk" "$INSTDIR\${STARTER}" 249 CreateShortCut "$SMPROGRAMS\${FULL_TITLE}\Domovská stránka.lnk" "http://wowpreklad.zdechov.net/" "" "$INSTDIR\czwow\Heroes.ico" 243 250 SectionEnd 244 251 245 252 Section "Zobrazit informace" info 246 ExecShell "open" "$ {CHANGELOG_FILE}"253 ExecShell "open" "$INSTDIR\czwow\${CHANGELOG_FILE}" 247 254 SectionEnd 248 255 249 256 Section "Zpustit WoW" wow 250 ExecShell "open" "$ {starter}"257 ExecShell "open" "$INSTDIR\${starter}" 251 258 SectionEnd 252 259 … … 268 275 !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN 269 276 !insertmacro MUI_DESCRIPTION_TEXT ${Nutne} "Vyberte potøebné souèásti." 270 !insertmacro MUI_DESCRIPTION_TEXT ${Texts} "Obsahuje pøeloené nìkteré clientské texty" 277 !insertmacro MUI_DESCRIPTION_TEXT ${Addon} "Obsahuje nutné souèásti addonu" 278 !insertmacro MUI_DESCRIPTION_TEXT ${CZTexts} "Obsahuje èeské texty. V pøípadì zakrtnutí obou budou preferovány slovenské texty" 279 !insertmacro MUI_DESCRIPTION_TEXT ${SKTexts} "Obsahuje slovenské texty. V pøípadì zakrtnutí obou budou preferovány slovenské texty" 271 280 !insertmacro MUI_DESCRIPTION_TEXT ${Fonts} "Obsahuje èeské fonty pro spráné zobrazování diakritiky" 272 281 !insertmacro MUI_DESCRIPTION_TEXT ${Sound} "Obsahuje zvukové hláky z warcraft III" 273 282 !insertmacro MUI_DESCRIPTION_TEXT ${info} "Zobrazit iformace, o verzích, o balíèku" 274 !insertmacro MUI_DESCRIPTION_TEXT ${desk} "Umístit zástupce wow na plochu"283 ;!insertmacro MUI_DESCRIPTION_TEXT ${desk} "Umístit zástupce wow na plochu" 275 284 !insertmacro MUI_DESCRIPTION_TEXT ${start} "Umístit zástupce do nabítky start" 276 285 !insertmacro MUI_DESCRIPTION_TEXT ${wow} "Spustit wow.exe" … … 282 291 283 292 Section "Uninstall" 284 ;mazání halvních èásti 285 Delete "$INSTDIR\CzWoW.txt" 293 ;mazání hlavních èásti 286 294 Delete "$INSTDIR\${TITLE}-Uninstall.exe" 287 295 Delete "$INSTDIR\CzWoW\*.*" 296 RMDir "$INSTDIR\CzWoW" 297 288 298 ;mazání fontù 289 299 Delete "$INSTDIR\Data\Fonts\*.*" … … 397 407 RMDir "$INSTDIR\Data\Sound\Character\NightElf\NightElfVocalMale" 398 408 RMDir "$INSTDIR\Data\Sound\Character\Tauren\TaurenMale" 409 410 RMDir "$INSTDIR\Data\Sound\Character\Gnome" 411 RMDir "$INSTDIR\Data\Sound\Character\Human" 412 RMDir "$INSTDIR\Data\Sound\Character\NightElf" 413 RMDir "$INSTDIR\Data\Sound\Character\Tauren" 399 414 400 415 Delete "$INSTDIR\Data\Sound\Interface\NPC\Human\Male\*.*" … … 403 418 RMDir "$INSTDIR\Data\Sound\Interface\NPC\Human\Female" 404 419 RMDir "$INSTDIR\Data\Sound\Interface\NPC\Human\Male" 420 RMDir "$INSTDIR\Data\Sound\Interface\NPC\Human\" 421 RMDir "$INSTDIR\Data\Sound\Interface\NPC" 405 422 406 423 Delete "$INSTDIR\Data\Sound\Music\GlueScreenMusic\*.*" 407 424 RMDir "$INSTDIR\Data\Sound\Music\GlueScreenMusic" 408 425 409 RMDir "$INSTDIR\Data\Sound" 410 426 RMDir "$INSTDIR\Data\Sound\Character" 427 RMDir "$INSTDIR\Data\Sound\Creature" 428 RMDir "$INSTDIR\Data\Sound\Interface" 429 RMDir "$INSTDIR\Data\Sound\Music" 430 431 RMDir "$INSTDIR\Data\Sound" 411 432 412 433 ;mazání textù … … 416 437 RMDir "$INSTDIR\Interface\AddOns\ProffBot\" 417 438 439 ;Delete "$DESKTOP\${TITLE}.lnk" 440 418 441 Delete "$SMPROGRAMS\${FULL_TITLE}\*.*" 419 442 RMDir "$SMPROGRAMS\${FULL_TITLE}" 420 443 421 Delete "$DESKTOP\${TITLE}.lnk"422 423 444 DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${TITLE}" 424 445 DeleteRegKey /ifempty HKCU "Software\${CREATOR}\${FULL_TITLE}" 446 447 425 448 426 449 SectionEnd
Note:
See TracChangeset
for help on using the changeset viewer.