Moin
Ich hab nach langer suche mal ein Script gefunden welches die Installer.exe macht für emule mit dem NULLSOFT Prog NSIS hier mal das Script
Code:
;NSIS Modern User Interface version 1.61
; eMule Installer Script
; by Ornis
!include "MUI.nsh"
!include "Sections.nsh"
Name "eMule v0.43b" ;Define your own software name here
Brandingtext "eMule Installation"
OutFile "eMule0.43b-Installer_nohelp.exe"
SetCompressor lzma
;Interface Settings
!define MUI_ABORTWARNING
XPStyle on
!insertmacro MUI_DEFAULT MUI_WELCOMEFINISHPAGE_BITMAP "logo.bmp"
!insertmacro MUI_DEFAULT MUI_UNWELCOMEFINISHPAGE_BITMAP "logo.bmp"
;--------------------------------
;Configuration
;!insertmacro MUI_RESERVEFILE_SPECIALBITMAP
LicenseLangString myLicenseData 1033 "..\docs\license.txt"
LicenseLangString myLicenseData 1031 "..\docs\license-GER.txt"
LicenseLangString myLicenseData 1036 "..\docs\license-FR.txt"
LicenseLangString myLicenseData 1034 "..\docs\license-SP.txt"
LicenseLangString myLicenseData 1030 "..\docs\license-DK.txt"
LicenseLangString myLicenseData 1032 "..\docs\license-GR.txt"
LicenseLangString myLicenseData 1038 "..\docs\license.txt"
LicenseLangString myLicenseData 1046 "..\docs\license-PT_BR.txt"
LicenseLangString myLicenseData 1040 "..\docs\license-IT.txt"
LicenseLangString myLicenseData 1042 "..\docs\license-KO.txt"
LicenseLangString myLicenseData 1049 "..\docs\license-RU.txt"
LicenseLangString myLicenseData 1028 "..\docs\license.txt"
LicenseLangString myLicenseData 1051 "..\docs\license.txt"
LicenseLangString myLicenseData 1063 "..\docs\license-LT.txt"
; LicenseData /LANG=${LANG_SIMPCHINESE} "..\docs\license-SC.txt"
; LicenseData /LANG=${LANG_JAPANESE} "..\docs\license.txt"
; LicenseData /LANG=${LANG_DUTCH} "..\docs\license.txt"
; LicenseData /LANG=${LANG_POLISH} "..\docs\license.txt"
; LicenseData /LANG=${LANG_UKRAINIAN} "..\docs\license.txt"
; LicenseData /LANG=${LANG_CZECH} "..\docs\license.txt"
; LicenseData /LANG=${LANG_BULGARIAN} "..\docs\license.txt"
LicenseData $(myLicenseData)
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "$(myLicenseData)"
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
;Languages
!insertmacro MUI_LANGUAGE "German"
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "French"
!insertmacro MUI_LANGUAGE "Spanish"
!insertmacro MUI_LANGUAGE "Danish"
!insertmacro MUI_LANGUAGE "Greek"
!insertmacro MUI_LANGUAGE "Hungarian"
!insertmacro MUI_LANGUAGE "Italian"
!insertmacro MUI_LANGUAGE "Korean"
!insertmacro MUI_LANGUAGE "PortugueseBR"
!insertmacro MUI_LANGUAGE "Russian"
!insertmacro MUI_LANGUAGE "Slovak"
!insertmacro MUI_LANGUAGE "TradChinese"
!insertmacro MUI_LANGUAGE "Lithuanian"
; !insertmacro MUI_LANGUAGE "Bulgarian"
; !insertmacro MUI_LANGUAGE "Czech"
; !insertmacro MUI_LANGUAGE "Dutch"
; !insertmacro MUI_LANGUAGE "Japanese"
; !insertmacro MUI_LANGUAGE "Polish"
; !insertmacro MUI_LANGUAGE "SimpChinese"
;Component-selection page
;Titles
LangString sec_main ${LANG_ENGLISH} "Program Files"
LangString sec_deinst ${LANG_ENGLISH} "eMule deinstallieren"
LangString sec_help ${LANG_ENGLISH} "Help Files"
LangString sec_link ${LANG_ENGLISH} "Take Ed2k-Links"
LangString DESC_sec_main ${LANG_ENGLISH} "Installs the program files"
LangString DESC_sec_help ${LANG_ENGLISH} "Installs available helpfiles. More languages might be available on our homepage!"
LangString DESC_sec_link ${LANG_ENGLISH} "Registers eMule to take ed2k-Links."
LangString DESC_lang_eng ${LANG_ENGLISH} "English"
LangString DESC_lang_de ${LANG_ENGLISH} "German"
LangString LANGUAGEID ${LANG_ENGLISH} "1033"
LangString LANGUAGEDLL ${LANG_ENGLISH} "-"
LangString sec_main ${LANG_GERMAN} "Programmdateien"
LangString sec_deinst ${LANG_GERMAN} "eMule deinstallieren"
LangString sec_help ${LANG_GERMAN} "Hilfedateien"
LangString sec_link ${LANG_GERMAN} "Ed2k-Links nehmen"
LangString DESC_sec_main ${LANG_GERMAN} "Installiert die Programmdateien"
LangString DESC_sec_help ${LANG_GERMAN} "Installiert verfügbare Hilfedateien. Weitere Sprachen evtl. auf unserer Homepage verfügbar."
LangString DESC_sec_link ${LANG_GERMAN} "Registriert eMule für die Annahme von Ed2k-Links."
LangString DESC_lang_eng ${LANG_GERMAN} "Englisch"
LangString DESC_lang_de ${LANG_GERMAN} "Deutsch"
LangString LANGUAGEID ${LANG_GERMAN} "1031"
LangString LANGUAGEDLL ${LANG_GERMAN} "de_DE.dll"
LangString sec_main ${LANG_PORTUGUESEBR} "Arquivos de programas"
LangString sec_deinst ${LANG_PORTUGUESEBR} "Desinstalação do eMule"
LangString sec_help ${LANG_PORTUGUESEBR} "Arquivos de Ajuda"
LangString sec_link ${LANG_PORTUGUESEBR} "Pegar Links Ed2k"
LangString DESC_sec_main ${LANG_PORTUGUESEBR} "Instalar o arquivo emule.exe"
LangString DESC_sec_help ${LANG_PORTUGUESEBR} "Instalar todos arquivos de Ajuda disponíveis."
LangString DESC_sec_link ${LANG_PORTUGUESEBR} "Registrar eMule para pegar links ed2k."
LangString DESC_lang_eng ${LANG_PORTUGUESEBR} "Inglês"
LangString DESC_lang_de ${LANG_PORTUGUESEBR} "Alemão"
LangString LANGUAGEID ${LANG_PORTUGUESEBR} "1046"
LangString LANGUAGEDLL ${LANG_PORTUGUESEBR} "pt_BR.dll"
LangString sec_main ${LANG_DANISH} "Programmer"
LangString sec_deinst ${LANG_DANISH} "Afinstaller eMule"
LangString sec_help ${LANG_DANISH} "Hjælpefiler"
LangString sec_link ${LANG_DANISH} "Overtag Ed2k-Links"
LangString DESC_sec_main ${LANG_DANISH} "Installerer programfilen emule.exe"
LangString DESC_sec_help ${LANG_DANISH} "Installerer alle tilgængelige hjælpefiler."
LangString DESC_sec_link ${LANG_DANISH} "Registrerer eMule til at overtage ed2k-Links."
LangString DESC_lang_eng ${LANG_DANISH} "English"
LangString DESC_lang_de ${LANG_DANISH} "German"
LangString LANGUAGEID ${LANG_DANISH} "1030"
LangString LANGUAGEDLL ${LANG_DANISH} "da_DK.dll"
;Lithuanian
LangString sec_main ${LANG_LITHUANIAN} "Programos failai"
LangString sec_deinst ${LANG_LITHUANIAN} "eMule iðdiegimas"
LangString sec_help ${LANG_LITHUANIAN} "Pagalbos failai"
LangString sec_link ${LANG_LITHUANIAN} "Perimti ed2k-nuorodas"
LangString DESC_sec_main ${LANG_LITHUANIAN} "Bus ádiegtas programos failas emule.exe"
LangString DESC_sec_help ${LANG_LITHUANIAN} "Bus idiegsti šitie pagalbos failai. Daugiau kalbu gali buti prieinama musu projekto puslapyje!"
LangString DESC_sec_link ${LANG_LITHUANIAN} "Priskirs ed2k-nuorodas prie eMule."
LangString DESC_lang_eng ${LANG_LITHUANIAN} "Anglø"
LangString DESC_lang_de ${LANG_LITHUANIAN} "Vokieèiø"
LangString LANGUAGEID ${LANG_LITHUANIAN} "1063"
LangString LANGUAGEDLL ${LANG_LITHUANIAN} "lt_LT.dll"
LangString sec_main ${LANG_SPANISH} "Archivos de programa"
LangString sec_deinst ${LANG_SPANISH} "Desinstalar eMule"
LangString sec_help ${LANG_SPANISH} "Archivos de ayuda"
LangString sec_link ${LANG_SPANISH} "Capturar enlaces Ed2k"
LangString DESC_sec_main ${LANG_SPANISH} "Instalar los archivos del programa"
LangString DESC_sec_help ${LANG_SPANISH} "Instalar archivos de ayuda disponibles. En nuestra web habrá mas lenguajes disponibles"
LangString DESC_sec_link ${LANG_SPANISH} "Registrar la asociación de los enlaces ed2k al eMule."
LangString DESC_lang_eng ${LANG_SPANISH} "Inglés"
LangString DESC_lang_de ${LANG_SPANISH} "Alemán"
LangString LANGUAGEID ${LANG_SPANISH} "1034"
LangString LANGUAGEDLL ${LANG_SPANISH} "es_ES_T.dll"
LangString sec_main ${LANG_FRENCH} "Fichiers"
LangString sec_deinst ${LANG_FRENCH} "Désinstaller eMule"
LangString sec_help ${LANG_FRENCH} "Fichier d'aides"
LangString sec_link ${LANG_FRENCH} "Associer avec les liens Ed2k"
LangString DESC_sec_main ${LANG_FRENCH} "Installer le fichier emule.exe"
LangString DESC_sec_help ${LANG_FRENCH} "Installer tous les fichiers d'aides disponibles."
LangString DESC_sec_link ${LANG_FRENCH} "Ajouter eMule dans le registre pour prendre les liens ed2k."
LangString DESC_lang_eng ${LANG_FRENCH} "Anglais"
LangString DESC_lang_de ${LANG_FRENCH} "German"
LangString LANGUAGEID ${LANG_FRENCH} "1036"
LangString LANGUAGEDLL ${LANG_FRENCH} "fr_FR.dll"
LangString sec_main ${LANG_GREEK} "Áñ÷åßá ðñïãñÜììáôïò"
LangString sec_deinst ${LANG_GREEK} "ÁðåãêáôÜóôáóç ôïõ eMule"
LangString sec_help ${LANG_GREEK} "Áñ÷åßá âïÞèåéáò"
LangString sec_link ${LANG_GREEK} "ÐÜñóéìï ôùí Ed2k-Links"
LangString DESC_sec_main ${LANG_GREEK} "ÅãêáèéóôÜ ôï áñ÷åßï emule.exe"
LangString DESC_sec_help ${LANG_GREEK} "ÅãêáôÜóôáóç üëùí ôùí äéáèÝóéìùí áñ÷åßùí âïçèåßáò."
LangString DESC_sec_link ${LANG_GREEK} "Óõó÷Ýôéóç ôïõ eMule ìå ôá ed2k-Links."
LangString DESC_lang_eng ${LANG_GREEK} "ÁããëéêÜ"
LangString DESC_lang_de ${LANG_GREEK} "ÃåñìáíéêÜ"
LangString LANGUAGEID ${LANG_GREEK} "1032"
LangString LANGUAGEDLL ${LANG_GREEK} "el_GR.dll"
LangString sec_main ${LANG_TRADCHINESE} "µ{¦¡ÀÉ®×"
LangString sec_deinst ${LANG_TRADCHINESE} "eMule ¤Ï¦w¸Ë"
LangString sec_help ${LANG_TRADCHINESE} "»¡©ú¤å¥óÀÉ®×"
LangString sec_link ${LANG_TRADCHINESE} "©M Ed2k ³sµ²²£¥ÍÃöÁp"
LangString DESC_sec_main ${LANG_TRADCHINESE} "¦w¸Ë³o*Óµ{¦¡ÀÉ®×"
LangString DESC_sec_help ${LANG_TRADCHINESE} "¦w¸Ë¦³¥Îªº»¡©úÀÉ®×. §ó¦h»y¨¥¤]³\¯à¦b§Ú*̪º*º*¶¨ú±o!"
LangString DESC_sec_link ${LANG_TRADCHINESE} "eMule Ed2k ³sµ²²£¥ÍÃöÁp."
LangString DESC_lang_eng ${LANG_TRADCHINESE} "*^¤å"
LangString DESC_lang_de ${LANG_TRADCHINESE} "¼w¤å"
LangString LANGUAGEID ${LANG_TRADCHINESE} "1028"
LangString LANGUAGEDLL ${LANG_TRADCHINESE} "zh_TW.dll"
LangString sec_main ${LANG_HUNGARIAN} "Programfájlok"
LangString sec_deinst ${LANG_HUNGARIAN} "eMule eltávolítása"
LangString sec_help ${LANG_HUNGARIAN} "Súgófájlok"
LangString sec_link ${LANG_HUNGARIAN} "Ed2k hivatkozások társítása"
LangString DESC_sec_main ${LANG_HUNGARIAN} "Telepíti a program fájljait"
LangString DESC_sec_help ${LANG_HUNGARIAN} "Telepíti az elérhetõ súgófájlokat. További nyelvek a honlapunkon érhetõek el!"
LangString DESC_sec_link ${LANG_HUNGARIAN} "Az eMule automatikusan lekezeli az ed2k hivatkozásokat."
LangString DESC_lang_eng ${LANG_HUNGARIAN} "Angol"
LangString DESC_lang_de ${LANG_HUNGARIAN} "Német"
LangString LANGUAGEID ${LANG_HUNGARIAN} "1038"
LangString LANGUAGEDLL ${LANG_HUNGARIAN} "hu_HU.dll"
LangString sec_main ${LANG_ITALIAN} "Programmi"
LangString sec_deinst ${LANG_ITALIAN} "Disinstalla eMule"
LangString sec_help ${LANG_ITALIAN} "Help"
LangString sec_link ${LANG_ITALIAN} "Prendi gli eD2k-Links"
LangString DESC_sec_main ${LANG_ITALIAN} "Installa i Files del Programma"
LangString DESC_sec_help ${LANG_ITALIAN} "Installa gli Help disponibili. Nel nostro sito ce ne potrebbero essere in altre lingue!"
LangString DESC_sec_link ${LANG_ITALIAN} "Fai Prendere ad eMule gli eD2k-Links."
LangString DESC_lang_eng ${LANG_ITALIAN} "Inglese"
LangString DESC_lang_de ${LANG_ITALIAN} "Tedesco"
LangString LANGUAGEID ${LANG_ITALIAN} "1040"
LangString LANGUAGEDLL ${LANG_ITALIAN} "it_IT.dll"
LangString sec_main ${LANG_KOREAN} "ÇÁ·Î±×·¥"
LangString sec_deinst ${LANG_KOREAN} "eMule Á¦°Å"
LangString sec_help ${LANG_KOREAN} "µµ¿ò¸»"
LangString sec_link ${LANG_KOREAN} "Ed2k ¸µÅ© ¿¬°á"
LangString DESC_sec_main ${LANG_KOREAN} "ÇÁ·Î±×·¥ ÆÄÀÏÀ» ¼³Ä¡ÇÕ´Ï´Ù."
LangString DESC_sec_help ${LANG_KOREAN} "¸ðµç µµ¿ò¸» ÆÄÀÏÀ» ¼³Ä¡ÇÕ´Ï´Ù."
LangString DESC_sec_link ${LANG_KOREAN} "eMuleÀ» ed2k ¸µÅ©¿¡ µî·ÏÇÕ´Ï´Ù."
LangString DESC_lang_eng ${LANG_KOREAN} "English"
LangString DESC_lang_de ${LANG_KOREAN} "German"
LangString LANGUAGEID ${LANG_KOREAN} "1042"
LangString LANGUAGEDLL ${LANG_KOREAN} "ko_KR.dll"
LangString sec_main ${LANG_SLOVAK} "Program"
LangString sec_deinst ${LANG_SLOVAK} "Odstrani eMule"
LangString sec_help ${LANG_SLOVAK} "Pomoè"
LangString sec_link ${LANG_SLOVAK} "Rezerviraj Ed2k-Povezave"
LangString DESC_sec_main ${LANG_SLOVAK} "Namesti eMule"
LangString DESC_sec_help ${LANG_SLOVAK} "Namesti pomoè. Veè prevodov lahko najdete na naši strani!"
LangString DESC_sec_link ${LANG_SLOVAK} "Rezervira Ed2k-Povezave izkljuèno za eMule."
LangString DESC_lang_eng ${LANG_SLOVAK} "Angleško"
LangString DESC_lang_de ${LANG_SLOVAK} "Nemško"
LangString LANGUAGEID ${LANG_SLOVAK} "1051"
LangString LANGUAGEDLL ${LANG_SLOVAK} "sl_SI.dll"
LangString sec_main ${LANG_RUSSIAN} "Program Files"
LangString sec_deinst ${LANG_RUSSIAN} "Óäàëåíèå eMule"
LangString sec_help ${LANG_RUSSIAN} "Ôàéëû ïîìîùè"
LangString sec_link ${LANG_RUSSIAN} "Ïåðåõâàòûâàòü Ed2k-Ëèíêè"
LangString DESC_sec_main ${LANG_RUSSIAN} "Óñòàíîâêà ôàéëîâ ïðîãðàììû"
LangString DESC_sec_help ${LANG_RUSSIAN} "Óñòàíîâêà äîñòóïíûõ ôàéëîâ ïîìîùè. Äîïîëíèòåëüíûå ÿçûêè âîçìîæíî óæå äîñòóïíû íà íàøåé âåá ñòðàíèöå!"
LangString DESC_sec_link ${LANG_RUSSIAN} "Ðåãèñòðèðîâàòü eMule äëÿ ïåðåõâàòà ed2k-ëèíêîâ."
LangString DESC_lang_eng ${LANG_RUSSIAN} "Àíãëèéñåêèé"
LangString DESC_lang_de ${LANG_RUSSIAN} "Íåìåöêèé"
LangString LANGUAGEID ${LANG_RUSSIAN} "1049"
LangString LANGUAGEDLL ${LANG_RUSSIAN} "ru_RU.dll"
;Folder-selection page
InstallDir "$PROGRAMFILES\eMule"
InstallDirRegKey HKCU "Software\eMule" "Install Path"
;--------------------------------
;Modern UI System
;Installer Sections
Section $(sec_main) sec_main
SetOverwrite on
SetOutPath "$INSTDIR"
File "..\srchybrid\release\emule.exe"
File ..\docs\kademlia\changelog.txt
File ..\docs\kademlia\changelog.ger.txt
File ..\docs\license.txt
File ..\docs\license-GER.txt
File ..\docs\readme.txt
File eMule.tmpl
File eMule_Chicane.tmpl
File Template.eMuleSkin.ini
File "..\LinkCreator\release\LinkCreator.exe"
SetOverwrite off
SetOutPath "$INSTDIR\config"
File adresses.dat
File staticservers.dat
File webservices.dat
File server.met
;File nodes.dat
SetOverwrite on
SetShellVarContext all
SetOutPath "$INSTDIR\lang"
File "..\srchybrid\lang\Dynamic\*.dll"
SetOutPath "$INSTDIR\webserver"
File webserver\*.*
CreateDirectory $SMPROGRAMS\eMule
CreateShortCut "$SMPROGRAMS\eMule\eMule.lnk" "$INSTDIR\eMule.exe"
WriteINIStr "$SMPROGRAMS\eMule\eMule Home Page.url" "InternetShortcut" "URL" "http://www.emule-project.org"
WriteINIStr "$SMPROGRAMS\eMule\Online FAQ.url" "InternetShortcut" "URL" "http://www.emule-project.org/faq/"
CreateShortCut "$SMPROGRAMS\eMule\LinkCreator.lnk" "$INSTDIR\LinkCreator.exe"
CreateShortCut "$SMPROGRAMS\eMule\Uninstall eMule.lnk" "$INSTDIR\Uninstall.exe"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\eMule" DisplayName "eMule"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\eMule" UninstallString '"$INSTDIR\Uninstall.exe"'
;WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\eMule" DisplayIcon "$INSTDIR\emule.exe"
WriteUninstaller $INSTDIR\Uninstall.exe
WriteINIStr "$INSTDIR\config\preferences.ini" "eMule" "Language" "$(LANGUAGEID)"
WriteINIStr "$INSTDIR\config\preferences.ini" "eMule" "DownloadColumnHidden" "0,0,1,0,0,0,0,0,0,0,1,1,1"
;Write language to the registry (for the uninstaller)
WriteRegStr HKCU "Software\eMule" "Installer Language" $LANGUAGE
WriteRegStr HKCU "Software\eMule" "Install Path" $INSTDIR
WriteUninstaller "$INSTDIR\Uninstall.exe"
SectionEnd
Section $(sec_link) sec_link
DeleteRegKey HKCR "ed2k"
WriteRegStr HKCR "ed2k" "" "URL: ed2k Protocol"
WriteRegStr HKCR "ed2k\shell" "" "open"
WriteRegStr HKCR "ed2k\DefaultIcon" "" $INSTDIR\eMule.exe,1
WriteRegStr HKCR "ed2k\shell\open\command" "" '"$INSTDIR\eMule.exe" "%1"'
SectionEnd
SubSection $(sec_help) sec_help
Section $(DESC_lang_eng) SecHelpEng
SetOutPath "$INSTDIR"
File "eMule.chm"
SectionEnd
Section $(DESC_lang_de) SecHelpDe
SetOutPath "$INSTDIR"
File "eMule.1031.chm"
SectionEnd
SubSectionEnd
;Display the Finish header
;Insert this macro after the sections if you are not using a finish page
;!insertmacro MUI_SECTIONS_FINISHHEADER
;--------------------------------
;Installer Functions
Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY
FunctionEnd
;--------------------------------
;Descriptions
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${sec_main} $(DESC_sec_main)
!insertmacro MUI_DESCRIPTION_TEXT ${sec_link} $(DESC_sec_link)
; !insertmacro MUI_DESCRIPTION_TEXT ${sec_help} $(DESC_sec_help)
!insertmacro MUI_FUNCTION_DESCRIPTION_END
;--------------------------------
;Uninstaller Section
Section "Uninstall"
Delete "$INSTDIR\nodes.dat"
Delete "$INSTDIR\eMule.exe"
Delete "$INSTDIR\Uninstall.exe"
Delete "$INSTDIR\config\staticservers.dat"
Delete "$INSTDIR\eMule.chm"
Delete "$INSTDIR\eMule.1031.chm"
Delete "$INSTDIR\config\adresses.dat"
Delete "$INSTDIR\config\staticservers.dat"
Delete "$INSTDIR\changelog.txt"
Delete "$INSTDIR\changelog.ger.txt"
Delete "$INSTDIR\license*.txt"
Delete "$INSTDIR\license-GER.txt"
Delete "$INSTDIR\readme.txt"
Delete "$INSTDIR\config\server.met"
Delete "$INSTDIR\*.chm"
Delete "$INSTDIR\*.tmpl"
Delete "$INSTDIR\config\webservices.dat"
Delete "$INSTDIR\webserver\*.*"
Delete "$INSTDIR\config\shareddir.dat"
Delete "$INSTDIR\*.bak"
Delete "$INSTDIR\config\*.bak"
Delete "$INSTDIR\config\*.dat"
Delete "$INSTDIR\lang\*.*"
Delete "$INSTDIR\Template.eMuleSkin.ini"
Delete "$INSTDIR\Downloads.txt"
Delete "$INSTDIR\LinkCreator.exe"
SetShellVarContext all
RMDir "$INSTDIR\webserver"
RMDir "$INSTDIR\lang"
RMDir "$INSTDIR"
RMDir /r $SMPROGRAMS\eMule
DeleteRegValue HKCU "Software\eMule" "Installer Language"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\eMule"
;Display the Finish header
;!insertmacro MUI_UNFINISHHEADER
SectionEnd
;--------------------------------
;Uninstaller Functions
Function un.onInit
;Get language from registry
ReadRegStr $LANGUAGE HKCU "Software\eMule" "Installer Language"
FunctionEnd
Und hier mal das Ergebnis des Fehlers
Zitat:
MakeNSIS v2.02 - Copyright 1999-2004 Nullsoft, Inc.
Portions Copyright © 1995-1998 Jean-loup Gailly and Mark Adler (zlib).
Portions Copyright © 1996-2002 Julian R Seward (bzip2).
Portions Copyright © 1999-2003 Igor Pavlov (lzma).
Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, Jeff Doozan, Amir Szekely, Ximon Eighteen, et al.
Processing plugin dlls: "C:\Programme\NSIS\Plugins\*.dll"
- advsplash::show
- Banner::destroy
- Banner::getWindow
- Banner::show
- BgImage::AddImage
- BgImage::AddText
- BgImage::Clear
- BgImage:estroy
- BgImage::Redraw
- BgImage::SetBg
- BgImage::SetReturn
- BgImage::Sound
- Dialer::AttemptConnect
- Dialer::AutodialHangup
- Dialer::AutodialOnline
- Dialer::AutodialUnattended
- Dialer::GetConnectedState
- InstallOptions::dialog
- InstallOptions::initDialog
- InstallOptions::show
- LangDLL::LangDialog
- Math::Script
- n***ec::Exec
- n***ec::ExecToLog
- n***ec::ExecToStack
- nsisdl:load
- nsisdl:load_quiet
- splash::show
- StartMenu::Select
- System::Alloc
- System::Call
- System::Copy
- System::Free
- System::Get
- System::Int64Op
- System::Store
- TypeLib::GetLibVersion
- TypeLib::Register
- TypeLib::UnRegister
- UserInfo::GetAccountType
- UserInfo::GetName
- VPatch::vpatchfile
SetCompressor: /FINAL bzip2
Changing directory to: "G:"
Processing script file: "G:\emule.nsi"
!include: "C:\Programme\NSIS\Include\MUI.nsh"
!include: "C:\Programme\NSIS\Contrib\Modern UI\System.nsh"
NSIS Modern User Interface version 1.71 - © 2002-2004 Joost Verburg (C:\Programme\NSIS\Contrib\Modern UI\System.nsh:11)
!define: "MUI_VERBOSE"="3"
!include: closed: "C:\Programme\NSIS\Contrib\Modern UI\System.nsh"
!include: closed: "C:\Programme\NSIS\Include\MUI.nsh"
!include: "C:\Programme\NSIS\Include\Sections.nsh"
!define: "SECTIONS_INCLUDED"=""
!define: "SF_SELECTED"="1"
!define: "SF_SUBSEC"="2"
!define: "SF_SUBSECEND"="4"
!define: "SF_BOLD"="8"
!define: "SF_RO"="16"
!define: "SF_EXPAND"="32"
!define: "SF_PSELECTED"="64"
!define: "SECTION_OFF"="0xFFFFFFFE"
!define: "INSTTYPE_1"="1"
!define: "INSTTYPE_2"="2"
!define: "INSTTYPE_3"="4"
!define: "INSTTYPE_4"="8"
!define: "INSTTYPE_5"="16"
!define: "INSTTYPE_6"="32"
!define: "INSTTYPE_7"="64"
!define: "INSTTYPE_8"="128"
!define: "INSTTYPE_9"="256"
!define: "INSTTYPE_10"="512"
!define: "INSTTYPE_11"="1024"
!define: "INSTTYPE_12"="2048"
!define: "INSTTYPE_13"="4096"
!define: "INSTTYPE_14"="8192"
!define: "INSTTYPE_15"="16384"
!define: "INSTTYPE_16"="32768"
!define: "INSTTYPE_17"="65536"
!define: "INSTTYPE_18"="131072"
!define: "INSTTYPE_19"="262144"
!define: "INSTTYPE_20"="524288"
!define: "INSTTYPE_21"="1048576"
!define: "INSTTYPE_22"="2097152"
!define: "INSTTYPE_23"="4194304"
!define: "INSTTYPE_24"="8388608"
!define: "INSTTYPE_25"="16777216"
!define: "INSTTYPE_26"="33554432"
!define: "INSTTYPE_27"="67108864"
!define: "INSTTYPE_28"="134217728"
!define: "INSTTYPE_29"="268435456"
!define: "INSTTYPE_30"="536870912"
!define: "INSTTYPE_31"="1073741824"
!define: "INSTTYPE_32"="2147483648"
!include: closed: "C:\Programme\NSIS\Include\Sections.nsh"
Name: "eMule v0.43b"
BrandingText: "eMule Installation"
OutFile: "eMule0.43b-Installer_nohelp.exe"
warning: SetCompressor ignored due to previous call with the /FINAL switch (G:\emule.nsi:13)
!define: "MUI_ABORTWARNING"=""
XPStyle: on
!insertmacro: MUI_DEFAULT
!define: "MUI_WELCOMEFINISHPAGE_BITMAP"="logo.bmp"
!insertmacro: end of MUI_DEFAULT
!insertmacro: MUI_DEFAULT
!define: "MUI_UNWELCOMEFINISHPAGE_BITMAP"="logo.bmp"
!insertmacro: end of MUI_DEFAULT
LicenseLangString: open failed "..\docs\license.txt"
Usage: LicenseLangString name lang_id license_path
Error in script "G:\emule.nsi" on line 29 -- aborting creation process
|
Hier gibts das Programm Kostenlos
http://www.nullsoft.com/free/nsis/
Da viele hier ja modden und ne Installer Machen können kann sicher jemand den Fehler finden und ich wäre euch dankbar dafür