Fehler bei Microsoft Navision Client

Unterstützung und Diskussion zur Installation von Empirum (Agentenverteilung, Depotserver ...)

Moderator: MVogt

User avatar
r.wiegel
Posts: 903
Joined: 05. Feb 2010, 13:45
Location: Regensburg
Contact:

Re: Fehler bei Microsoft Navision Client

Post by r.wiegel » 13. Jan 2015, 14:27

Funktioniert die Installation mit Package-Editor (mit Administrator)?
Sind alle erforderlichen Komponenten installiert?
Wie lautet der Installation-Aufruf? Mal mit /log "%MSILogFile%" protokollieren...
Viele Grüße
Roman Wiegel
IT-Consultant

MR Datentechnik - Vertriebs- und Service GmbH

Pep
Posts: 187
Joined: 24. May 2011, 17:30
Contact:

Re: Fehler bei Microsoft Navision Client

Post by Pep » 14. Jan 2015, 07:54

r.wiegel wrote:Funktioniert die Installation mit Package-Editor (mit Administrator)?
Sind alle erforderlichen Komponenten installiert?
Wie lautet der Installation-Aufruf? Mal mit /log "%MSILogFile%" protokollieren...
Im Package Editor läuft das Paket auf allen Maschinen durch. Es werden auch alle Komponenten installiert.

Aufgerufen wird das Paket:

Code: Select all

Call "%Src%\setup.exe" /quiet /config "%Src%\NAV_RZ.xml" /log "d:\navision.log"
If %ErrorLevel% == "3010" Then "RebootRequired" EndIf
If %ErrorLevel% <> "0" & %ErrorLevel% <> "3010" Then "SET:InstallationError" EndIf

User avatar
r.wiegel
Posts: 903
Joined: 05. Feb 2010, 13:45
Location: Regensburg
Contact:

Re: Fehler bei Microsoft Navision Client

Post by r.wiegel » 14. Jan 2015, 10:53

steht was im Log?: d:\navision.log?
ohne Setup.inf ist es schwierig einen Fehler zu finden...
Viele Grüße
Roman Wiegel
IT-Consultant

MR Datentechnik - Vertriebs- und Service GmbH

Pep
Posts: 187
Joined: 24. May 2011, 17:30
Contact:

Re: Fehler bei Microsoft Navision Client

Post by Pep » 14. Jan 2015, 11:47

im Navision Log unter d: steht nur:

Code: Select all

=== Logging started: 2015/01/13 15:33:30 ===
Executable: \\SERVER\Configurator$\Packages\Microsoft\Navision 2009 SP1\6.0\setup.exe v6.0.29626.0
Computer  : PC01
--- logging level: standard ---
Hier die Inf

Code: Select all

[Product]
;#FileCheckMachine, MACHINE
;#FileCheckClient, CLIENT
;ReplaceEnv <Variable>

#Set:Product
#Set:Installation, DONTDELETE 
#Set:Config,DONTDELETE CLIENT
#Set:Deinstallation, DELETE
#Reg:OnUninstallProduct, DELETE
#Reg:Product,WINDOWS32
#Reg:Productx64,WINDOWS64
#Ini:Product
#Security:Product

[Set:Product]
If "%WindowsBits%"=="32" Then "Set:32Path" Else "Set:64Path" EndIf 

If DoesPathExist ("C:\Windows\%SysPath%\config\systemprofile\Desktop")=="0" Then "Set:MkDirDesktop" EndIf
If DoesPathExist ("C:\Windows\%SysPath%\config\systemprofile\Documents")=="0" Then "Set:MkDirDocuments" EndIf
If DoesPathExist ("C:\Windows\%SysPath%\config\systemprofile\AppData\Roaming\Microsoft\Windows\Templates")=="0" Then "Set:MkDirTemplates" EndIf
If DoesPathExist ("C:\Windows\%SysPath%\config\systemprofile\AppData\Roaming\Microsoft\Windows\SendTo")=="0" Then "Set:MkDirSendTo" EndIf
If DoesPathExist ("C:\Windows\%SysPath%\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup")=="0" Then "Set:MkDirStartup" EndIf


[SET:Installation]
AddMeter -1
;Call "%Src%\setup.exe" /config "%Src%\NAV_RZ.xml" /log "d:\navision.log"

Call "%Src%\setup.exe" /quiet /config "%Src%\NAV_RZ.xml" /log "d:\navision.log"
If %ErrorLevel% == "3010" Then "RebootRequired" EndIf
If %ErrorLevel% <> "0" & %ErrorLevel% <> "3010" Then "SET:InstallationError" EndIf

[Set:Config]
;Default Config Datei kopieren

1:"%ProgramFilesDirx86%\Empirum\Navision 2009 SP1\fin.zup", %AppData%, CLIENT ALWAYS USEFILENAME DIRECTORY NOSIZEWARNING, 0



[Set:32Path]
Set SysPath=System32

[Set:64Path]
Set SysPath=SysWOW64

[Set:MkDirDesktop]
MkDir "C:\Windows\%SysPath%\config\systemprofile\Desktop"

[Set:MkDirDocuments]
MkDir "C:\Windows\%SysPath%\config\systemprofile\Documents"

[Set:MkDirTemplates]
MkDir "C:\Windows\%SysPath%\config\systemprofile\AppData\Roaming\Microsoft\Windows\Templates"

[Set:MkDirSendTo]
MkDir "C:\Windows\%SysPath%\config\systemprofile\AppData\Roaming\Microsoft\Windows\SendTo"

[Set:MkDirStartup]
MkDir "C:\Windows\%SysPath%\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"


[SET:Deinstallation]
If "%Src%\setup.exe" <> "" Then "SET:Deinstallation2" EndIf

[SET:Deinstallation2]
If %ErrorLevel% <> "0" Then "SET:DeInstallationError" EndIf
-Call "%ProgramFilesDirX86%\Common Files\Microsoft Dynamics NAV\60\Setup\setup.exe" /uninstall /quiet
-AddMeter -1

User avatar
r.wiegel
Posts: 903
Joined: 05. Feb 2010, 13:45
Location: Regensburg
Contact:

Re: Fehler bei Microsoft Navision Client

Post by r.wiegel » 14. Jan 2015, 16:43

C:\Windows\SysWOW64\config\systemprofile\Favorites
Viele Grüße
Roman Wiegel
IT-Consultant

MR Datentechnik - Vertriebs- und Service GmbH

Pep
Posts: 187
Joined: 24. May 2011, 17:30
Contact:

Re: Fehler bei Microsoft Navision Client

Post by Pep » 15. Jan 2015, 08:13

super - damit funktioniert es - DANKE

ColorInk
Posts: 46
Joined: 10. Jan 2011, 15:27
Contact:

Re: Fehler bei Microsoft Navision Client

Post by ColorInk » 17. Feb 2015, 08:28

r.wiegel wrote:Hallo zusammen,

evtl. versucht jemand schon wieder Navision mit dem System-Konto zu installieren.
Ich habe die Installation mit procmon beobachtet und festgestellt, dass der Installer einige Ordner unter AppData checkt:

C:\Users\rwiegel\AppData\Roaming
C:\Users\rwiegel\AppData\Roaming\Microsoft\Windows\SendTo
C:\Users\rwiegel\AppData\Roaming\Microsoft\Windows\Start Menu
C:\Users\rwiegel\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
C:\Users\rwiegel\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
C:\Users\rwiegel\AppData\Roaming\Microsoft\Windows\Templates
C:\Users\rwiegel\Desktop
C:\Users\rwiegel\Documents
C:\Users\rwiegel\Favorites

Unter %AppData% von System vermisst der Installer die folgenden Ordner:

C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming
C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\SendTo
C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu”
C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\Microsoft\Windows\Templates
C:\Windows\SysWOW64\config\systemprofile\Desktop
C:\Windows\SysWOW64\config\systemprofile\Favorites
C:\Windows\SysWOW64\config\systemprofile\Documents


Die Lösung ist: die Ordner vor dem Aufruf anzulegen:

Code: Select all

[Set:Product]
If "%WindowsBits%"=="32" Then "Set:32Path" Else "Set:64Path" EndIf 

If DoesPathExist ("C:\Windows\%SysPath%\config\systemprofile\Desktop")=="0" Then "Set:MkDirDesktop" EndIf
If DoesPathExist ("C:\Windows\%SysPath%\config\systemprofile\Documents")=="0" Then "Set:MkDirDocuments" EndIf
If DoesPathExist ("C:\Windows\%SysPath%\config\systemprofile\AppData\Roaming\Microsoft\Windows\Templates")=="0" Then "Set:MkDirTemplates" EndIf
If DoesPathExist ("C:\Windows\%SysPath%\config\systemprofile\AppData\Roaming\Microsoft\Windows\SendTo")=="0" Then "Set:MkDirSendTo" EndIf
If DoesPathExist ("C:\Windows\%SysPath%\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup")=="0" Then "Set:MkDirStartup" EndIf

[Set:32Path]
Set SysPath=System32

[Set:64Path]
Set SysPath=SysWOW64

[Set:MkDirDesktop]
MkDir "C:\Windows\%SysPath%\config\systemprofile\Desktop"

[Set:MkDirDocuments]
MkDir "C:\Windows\%SysPath%\config\systemprofile\Documents"

[Set:MkDirTemplates]
MkDir "C:\Windows\%SysPath%\config\systemprofile\AppData\Roaming\Microsoft\Windows\Templates"

[Set:MkDirSendTo]
MkDir "C:\Windows\%SysPath%\config\systemprofile\AppData\Roaming\Microsoft\Windows\SendTo"

[Set:MkDirStartup]
MkDir "C:\Windows\%SysPath%\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
etwas kompakter (für jeden Ordner):
Call cmd /c If Not Exist "C:\Windows\%SysPath%\config\systemprofile\Desktop" mkdir "C:\Windows\%SysPath%\config\systemprofile\Desktop"
...

Viele Grüße
Roman
Hallo zusammen, ich dachte schon ich bin zu ...
Aber glücklicherweise bin ich ja nicht alleine mit diesem Problem.

Allerdings funktioniert bei mir das CallRunAs ebenfalls nicht. Das Setup läuft (oder scheint zu laufen), es wird auch auf "Success" gesetzt. Es wird aber nichts installiert, der Prgrammordner ist leer. :?

Anscheinend ist das Ganze mit dem 15er AdvancedAgent immer noch nicht vollständig gelöst.
Der Tipp von r.wiegel klappt aber.

Vielen Dank!

Post Reply

Return to “Installation und Verteilung”

Who is online

Users browsing this forum: No registered users and 1 guest