notepad++ problem

  • Hallo ich hab ein problem ich habe ein Script für Notepad++ gemacht aber anstatt notepad zu starten kommt dann das

    [Blockierte Grafik: http://sonster.so.funpic.de/++.png]

    [Das Script is um Notepad Portable zu machen]
    [Also wenn alles fertig ist compille ich das script und schon habe ich Notepad++ Portable da alles ins Temp Verz. kommt und dann die notepad++.exe startet]

    Also wie mache ich das der Notepad++ starte und nicht merh das Fenster kommt???


    Das Script

    Spoiler anzeigen
    [autoit]

    #include <GUIConstants.au3>

    [/autoit] [autoit][/autoit] [autoit]

    #NoTrayIcon
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/notepad++.exe" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/config.xml" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/contextMenu.xml" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/ConvertExt.ini" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/ConvertExt.enc" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/ConvertExt.lng" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/doLocalConf" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/insertExt.ini" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/langs.xml" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/lightExplorer.ini" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/LINEDRAW.ttf" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/nativeLang.xml" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/nppcm.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/nppIExplorerShell.exe" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/QuickText.ini" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/SciLexer.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/session.xml" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/shortcuts.xml" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\" , @TempDir&"/stylers.xml" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\" , @TempDir&"\ConvertExt.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\" , @TempDir&"\FunctionList.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\" , @TempDir&"\HexEditor.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\" , @TempDir&"\LightExplorer.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\" , @TempDir&"\NppExec.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\" , @TempDir&"\NPPTextFX.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\" , @TempDir&"\QuickText.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\" , @TempDir&"\SpellChecker.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\" , @TempDir&"\NPPTextFX.ini" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\NPPTextFX\" , @TempDir&"\AsciiToEBCDIC.bin" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\NPPTextFX\" , @TempDir&"\libTidy.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\NPPTextFX\" , @TempDir&"\NPPTextFXdemo.txt" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\NPPTextFX\" , @TempDir&"\W3C-CSSValidator.html" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\NPPTextFX\" , @TempDir&"\W3C-HTMLValidator.html" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\doc\" , @TempDir&"\NppExec.txt" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\doc\" , @TempDir&"\NppExec_TechInfo.txt" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\doc\" , @TempDir&"\quickText_README.txt" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\Config\" , @TempDir&"\HexEditor.ini" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\Config\" , @TempDir&"\NppExec.ini" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\Config\" , @TempDir&"\SpellChecker.ini" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\c.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\cpp.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\cs.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\css.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\flash.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\java.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\javascript.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\lisp.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\nsis.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\perl.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\php.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\python.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\tex.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\vb.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\vhdl.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\" , @TempDir&"\xml.api" )

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    Run ( @TempDir&"/notepad++.exe" )

    [/autoit]

    THX AN ALLE DIE HELFEN

  • BITTE AN ALLE DIE ANTWORTEN!!!

    Kannst du vll mal genauer die PRobleme beschreiben?
    und lass Capslock weg!!

    Ich würd mal die Registry einträge schaun, obs da was gibt...

  • Eventuell verträgt Notepad++ es nicht, wenn sich die Dateien, die eigentlich im "PlugIns"-, "Configs"- [...]Ordner sein sollen, plötzlich da sind, wo auch Notepad++ gestartet wurde... Was passiert, wenn es alle Dateien auspackt und du selber über den Explorer die Notepad++.exe startest? (Ich bitte um Antwort...)

    Ansonsten, was ebenfalls als Fehler denkbar wäre: Einmal nutzt du einen Slash, einmal einen Backslash beim Auspacken der Dateien (also einmal / und einmal \). Ich empfehle mal, alles mit einem \ abschließen zu lassen...

  • Hallo noma ich habe das Problem gelöst

    ich habe per DirCreate so gemacht das im Temp verz. die Ordner erstellt werden.

    Also so wie die notepad++ ordner struktur wie sie im script steht

    Das Script:

    Spoiler anzeigen
    [autoit]

    #include <file.au3>
    #include <GUIConstants.au3>

    [/autoit] [autoit][/autoit] [autoit]

    #NoTrayIcon

    [/autoit] [autoit][/autoit] [autoit]

    DirCreate( @TempDir&"\Notepad++\" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\note.exe" , @TempDir&"\Notepad++\note.exe" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\config.xml" , @TempDir&"\Notepad++\config.xml" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\contextMenu.xml" , @TempDir&"\Notepad++\contextMenu.xml" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\ConvertExt.ini" , @TempDir&"\Notepad++\ConvertExt.ini" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\ConvertExt.enc" , @TempDir&"\Notepad++\ConvertExt.enc" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\ConvertExt.lng" , @TempDir&"\Notepad++\ConvertExt.lng" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\doLocalConf" , @TempDir&"\Notepad++\doLocalConf" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\insertExt.ini" , @TempDir&"\Notepad++\insertExt.ini" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\langs.xml" , @TempDir&"\Notepad++\langs.xml" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\lightExplorer.ini" , @TempDir&"\Notepad++\lightExplorer.ini" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\LINEDRAW.ttf" , @TempDir&"\Notepad++\LINEDRAW.ttf" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\nativeLang.xml" , @TempDir&"\Notepad++\nativeLang.xml" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\nppcm.dll" , @TempDir&"\Notepad++\nppcm.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\nppIExplorerShell.exe" , @TempDir&"\Notepad++\nppIExplorerShell.exe" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\QuickText.ini" , @TempDir&"\Notepad++\QuickText.ini" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\SciLexer.dll" , @TempDir&"\Notepad++\SciLexer.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\session.xml" , @TempDir&"\Notepad++\session.xml" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\shortcuts.xml" , @TempDir&"\Notepad++\shortcuts.xml" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\stylers.xml" , @TempDir&"\Notepad++\stylers.xml" )

    [/autoit] [autoit][/autoit] [autoit]

    DirCreate( @TempDir&"\Notepad++\plugins\" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\ConvertExt.dll" , @TempDir&"\plugins\ConvertExt.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\FunctionList.dll" , @TempDir&"\plugins\FunctionList.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\HexEditor.dll" , @TempDir&"\plugins\HexEditor.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\LightExplorer.dll" , @TempDir&"\plugins\LightExplorer.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\NppExec.dll" , @TempDir&"\plugins\NppExec.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\NPPTextFX.dll" , @TempDir&"\plugins\NPPTextFX.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\QuickText.dll" , @TempDir&"\plugins\QuickText.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\SpellChecker.dll" , @TempDir&"\plugins\SpellChecker.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\plugins\NPPTextFX.ini" , @TempDir&"\plugins\NPPTextFX.ini" )

    [/autoit] [autoit][/autoit] [autoit]

    DirCreate( @TempDir&"\Notepad++\plugins\NPPTextFX\" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\NPPTextFX\AsciiToEBCDIC.bin" , @TempDir&"\NPPTextFX\AsciiToEBCDIC.bin" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\NPPTextFX\libTidy.dll" , @TempDir&"\NPPTextFX\libTidy.dll" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\NPPTextFX\NPPTextFXdemo.txt" , @TempDir&"\NPPTextFX\NPPTextFXdemo.txt" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\NPPTextFX\W3C-CSSValidator.html" , @TempDir&"\NPPTextFX\W3C-CSSValidator.html" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\NPPTextFX\W3C-HTMLValidator.html" , @TempDir&"\NPPTextFX\W3C-HTMLValidator.html" )

    [/autoit] [autoit][/autoit] [autoit]

    DirCreate( @TempDir&"\Notepad++\plugins\doc\" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\doc\NppExec.txt" , @TempDir&"\doc\NppExec.txt" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\doc\NppExec_TechInfo.txt" , @TempDir&"\doc\NppExec_TechInfo.txt" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\doc\quickText_README.txt" , @TempDir&"\doc\quickText_README.txt" )

    [/autoit] [autoit][/autoit] [autoit]

    DirCreate( @TempDir&"\Notepad++\plugins\Config\" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\Config\HexEditor.ini" , @TempDir&"\Config\HexEditor.ini" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\Config\NppExec.ini" , @TempDir&"\Config\NppExec.ini" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\Config\SpellChecker.ini" , @TempDir&"\Config\SpellChecker.ini" )

    [/autoit] [autoit][/autoit] [autoit]

    DirCreate( @TempDir&"\Notepad++\plugins\APIs\" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\c.api" , @TempDir&"\APIs\c.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\cpp.api" , @TempDir&"\APIs\cpp.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\cs.api" , @TempDir&"\APIs\cs.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\css.api" , @TempDir&"\APIs\css.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\flash.api" , @TempDir&"\APIs\flash.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\java.api" , @TempDir&"\APIs\java.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\javascript.api" , @TempDir&"\APIs\javascript.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\lisp.api" , @TempDir&"\APIs\lisp.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\nsis.api" , @TempDir&"\APIs\nsis.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\perl.api" , @TempDir&"\APIs\perl.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\php.api" , @TempDir&"\APIs\php.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\pyton.api" , @TempDir&"\APIs\python.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\tex.api" , @TempDir&"\APIs\tex.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\vb.api" , @TempDir&"\APIs\vb.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\vhdl.api" , @TempDir&"\APIs\vhdl.api" )
    FileInstall ( "C:\Dokumente und Einstellungen\Roxas\Desktop\Notepad++\APIs\xml.api" , @TempDir&"\APIs\xml.api" )

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    Run ( @TempDir&"\Notepad++\note.exe" )

    [/autoit]

    6 Mal editiert, zuletzt von König Mickey (24. September 2007 um 09:14)