Installation von MS Dynamics NAV 2009 - Fehler

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 8086
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by Hendrik_Ambrosius » 16. Aug 2011, 14:01

Dann posten SIe doch mal das gesamte Script zur Analyse.
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

alex-o
Posts: 17
Joined: 11. Aug 2011, 14:59
Contact:

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by alex-o » 16. Aug 2011, 14:09

Hier bitte sehr :)
Attachments
Setup.inf
(5.96 KiB) Downloaded 252 times

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 8086
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by Hendrik_Ambrosius » 16. Aug 2011, 14:22

Bauen Sie mal etwas Debugcode zum Analysieren ein:

[SET:Installation]
AddMeter -1
if doesfileexist ("%Src%\Source\setup.exe") = "0" then "SET:Dateifehlt" endif <<<<<<<<<<<<<<<<<<<
Call "%Src%\Source\setup.exe" /quiet /config "%Src%\Source\Site_60.xml"
If %ErrorLevel% <> "0" Then "SET:InstallationError" EndIf

[SET:Dateifehlt] <<<<<<<<<<<<<<<<<<<<
ErrorLogMsg Datei fehlt! <<<<<<<<<<<<<<<<<<<<<

Dann das SetupErrorLog checken ob der Eintrag dort ist.
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

alex-o
Posts: 17
Joined: 11. Aug 2011, 14:59
Contact:

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by alex-o » 16. Aug 2011, 14:55

Hallo Herr Ambrosius,

leider ist hier immer noch die selbe Fehlermeldung:

------------
Date/Time : 16.08.2011 14:51:15
ProductName: Navision 2009 R2
Version : 6.0
Revision : 0
SetupInf : C:\EmpirumAgent\Packages\Microsoft\Site_60\1.0\Install\Setup.inf
------------
ErrorLogMsg: Fehler 2 beim Aufruf von Source\setup.exe
------------

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 8086
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by Hendrik_Ambrosius » 16. Aug 2011, 15:02

Das ist klar. Ist ja auch nur DebugCode.
Sicherheitshalber noch mal so anpassen:

[SET:Installation]
AddMeter -1
if doesfileexist ("%Src%\Source\setup.exe") = "0" then "SET:Dateifehlt" else "SET:Dateida" endif <<<<<<<<<<<<<<<<<<<
Call "%Src%\Source\setup.exe" /quiet /config "%Src%\Source\Site_60.xml"
If %ErrorLevel% <> "0" Then "SET:InstallationError" EndIf


[SET:Dateifehlt] <<<<<<<<<<<<<<<<<<<<
ErrorLogMsg Datei fehlt! <<<<<<<<<<<<<<<<<<<<<

[SET:Dateida] <<<<<<<<<<<<<<<<<<<<
ErrorLogMsg Datei da! <<<<<<<<<<<<<<<<<<<<<

Kommt dann "Datei da" im SetupErrorLog?
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

alex-o
Posts: 17
Joined: 11. Aug 2011, 14:59
Contact:

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by alex-o » 16. Aug 2011, 15:12

Ja jetzt erscheint "ErrorLogMsg: Datei da!".

Also ist diese auch am richtigen Platz.

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 8086
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by Hendrik_Ambrosius » 16. Aug 2011, 15:16

Prima. Dann tragen Sie noch mal einen CALL-Befehl über dem eigentlich Call ein aber ohne Parmeter. Startet dann das Setup?

Call "%Src%\Source\setup.exe"
Call "%Src%\Source\setup.exe" /quiet /config "%Src%\Source\Site_60.xml"
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

alex-o
Posts: 17
Joined: 11. Aug 2011, 14:59
Contact:

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by alex-o » 16. Aug 2011, 15:35

Nein es startet nicht und er gibt die selbe Fehlermeldung aus wie am Anfang auch.

------------
ErrorLogMsg: Fehler 2 beim Aufruf von Source\setup.exe
------------
Last edited by alex-o on 16. Aug 2011, 15:52, edited 1 time in total.

lennu
Posts: 581
Joined: 01. Aug 2005, 16:20
Location: Bonn
Contact:

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by lennu » 16. Aug 2011, 15:52

Hallo,

kann es sein, dass die setup.exe selber eine weitere Datei benötigt und diese nicht findet und daher mit Fehler 2 terminiert? Mal mit Filemon schauen, was auf dem Rechner zu diesem Zeitpunkt passiert.

Grüße,
Lennu
Lennart Freyberg
Sysadmin
Deutsche Steinzeug Cremer & Breuer AG

alex-o
Posts: 17
Joined: 11. Aug 2011, 14:59
Contact:

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by alex-o » 16. Aug 2011, 16:23

Ja ich habe mit dem ProcessMonitor wie der jetzt heißt einen Ausschnitt gefunden der evtl. auf das Problem hindeutet.

Im Anhang ist ein Bildausschnitt des Beriechs.
Attachments
LogCapture.zip
(408.35 KiB) Downloaded 279 times

lennu
Posts: 581
Joined: 01. Aug 2005, 16:20
Location: Bonn
Contact:

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by lennu » 16. Aug 2011, 17:43

Hallo,

wenn ich das richtig sehe, setzt ihr den Advanced Agent ein. Klappt die Installation der Software denn unter "Lokales System"? Am einfachsten mal einen geplanten Task (bei Windows 7 heisst das irgendwas mit Aufgabenplanung) erstellen, der die setup.exe startet (mit Desktop-Interaktion).

Grüße,
Lennu
Lennart Freyberg
Sysadmin
Deutsche Steinzeug Cremer & Breuer AG

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 8086
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by Hendrik_Ambrosius » 16. Aug 2011, 20:15

Es KÖNNTE auch noch am aktuellen Verzeichnis liegen.
Mal mit "CD" in das SOURCE-Verzeichnis wechseln und dann setup.exe aufrufen.
Zum Testen auch gut: Statt setup.exe eine CMD.EXE starten und das Setup manuell anstarten.
Dann hat man auch einen "local system" Kontext.
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

alex-o
Posts: 17
Joined: 11. Aug 2011, 14:59
Contact:

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by alex-o » 17. Aug 2011, 07:56

@ lennu: Ja wir setzen hier den Advanced Agent in der Firma ein.
Das starten mit dem Taskplaner oder auch Aufgabenplanung mit dem User Lokales System ging leider nicht, weil man diesen nicht sauber hinzufügen konnte.

@Hendrik_Ambrosius: Ich habe es jetzt auch über CMD und den Pfad probiert, hab das ganze auch über die CMD.exe gestartet und die Setup.exe startet ohne Probleme.
Last edited by alex-o on 17. Aug 2011, 09:23, edited 1 time in total.

User avatar
Hendrik_Ambrosius
Moderator
Moderator
Posts: 8086
Joined: 13. Dec 2004, 23:10
Location: Adendorf/Lüneburg

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by Hendrik_Ambrosius » 17. Aug 2011, 09:22

Dann sind wir der Lösung nun nahe: Starten Sie einfach Ihre funktionierende Batchdatei via CALL, z.B.:
call CMD.EXE /C"%SRC%\INST.CMD"
Dann sollte es gehen.
Hendrik Ambrosius / Senior Presales Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 GmbH | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 or of the support team.

alex-o
Posts: 17
Joined: 11. Aug 2011, 14:59
Contact:

Re: Installation von MS Dynamics NAV 2009 - Fehler

Post by alex-o » 17. Aug 2011, 09:24

Hab gerade einen Weg gefunden über den Befehl "at hh:mm /interactive cmd.exe" die Console in mit dem Konto "Lokales System" zu starten, dann öffnet sich die Setup.exe nicht mehr.

Post Reply

Return to “Paketierung”

Who is online

Users browsing this forum: No registered users and 9 guests