Paket installiert sich immer wieder

Post Reply
MPI.EVA
Posts: 170
Joined: 19. Jun 2008, 15:40
Contact:

Paket installiert sich immer wieder

Post by MPI.EVA » 21. Jan 2013, 15:30

Hallo,

das Thema wurde schon oft behandelt und ich habe die empfohlenen Schritte schon durchgefuehrt doch leider laeuft die Installation weiterhin in einen Loop :(

- Paket neu in die EMC einbinden
- Paket neu paketieren

Es handelt sich dabei um MatLab R2012b unter Empirum 14.2.

Installiere ich das Paket per EMC wird es aller 10 Minuten neu installiert. Es erscheint in der EMC aber als "Installiert/Success". Installiere ich das Paket per Empirum-Kiosk steht es immer auf dem Status "verfuegbar"

Ich habe die RegKeys mit anderen Paketen verglichen und keinen Fehler gefunden.
Der MatLab Installer meldet ebenfalls ein "successful" zurueck

Setup.inf

Code: Select all

[SetupInfo]
Author                  = 
CreationDate            = 21.01.2013
InventoryID             =
Description             = Mathworks MatLab R2012b
Method                  = Unattended
Tested on               =
Dependencies            =
Command line options    = /S2
Last Change             =
Build                   =

[VarDefInfo]
; <Variable>, <Type: 0=Computer 1=User>, <Allow NULL values: 0=No 1=Yes>

[Setup]
Version=14.2
ShowCaption=1
BlockInput=0
Platform=x64

[Requirements]

[Application]
ProductName=MatLab_R2012b
DeveloperName=Mathworks
Version=R2012b
Revision=0
SetupName=%ProductName% %Version% %SetupWizard%
Text1="%ProductName% %Version%",         Arial,           30, , 00FFFF, 4,    , LEFT BOLD ITALIC
Text2="%DeveloperName%",                 Arial,           24, , 00FFFF, 4,    , LEFT BOLD ITALIC
Text8="%Company%",                       Arial,           18, , 00FFFF, 4,  10, RIGHT BOLD ITALIC
Text9="%InstallationFor% %WindowsUser%", Arial,           16, , 007F00, 4, -18, BOTTOM ITALIC LEFT
BackgroundColor=FF0000,000000
CopyDialogRect=0%, 0%, 100%, 100%, HCENTER VCENTER
UserKeyName=%DeveloperName%\%ProductName%
MachineKeyName=%DeveloperName%\%ProductName%\%Version%
UninstallKeyName=%DeveloperName% %ProductName% %Version%
UninstallDisplayName=%ProductName% %Version%
UninstallString=%ReinstallString% /U
ReinstallString="%CommonSetupDir%\Setup.exe" "%App%\%SetupInfDir%\Setup.inf"
ReinstallMode=1
SrcDir=..
ApplicationDir=%ProgramFilesDir%\MATLAB\%Version%
SetupInfDir=Install
DataDir=%Personal%
AskUninstallOld=1
ShellLinks=1
CommonShellLinks=1
CreateUnresolvableShellLinks=1
UseStringSection=Strings:09
UseSysStringSection=SysStrings:09
DateWarning=1
SizeWarning=1
Reboot=0
PreventExternalReboot=1
StartServicesOnReboot=0
CallTimeOut=3600
AbortAfterCallTimeOut=1
DisableCancelButton=1
ShowEndMessage=1
EndMessage=%EndMessageDesc%


[Strings:07]
Disk1=Installationsmedium 1
EndMessageDesc=Die Installation wurde erfolgreich abgeschlossen!
ErrorLogMessage=Die Installation/Deinstallation wurde mit einer Fehlermeldung abgebrochen!
InstallationFor=Installation für:
InstallerDesc=Dienstprogramm zum Installieren einzelner Komponenten.
InstallerName=Installationsprogramm
SetupWizard=Installations-Assistent
Uninstallation=deinstallieren
ErrorText=Fehler
CallingText=beim Aufruf von

[Strings:09]
Disk1=Installation media 1
EndMessageDesc=Installation was completed successfully!
ErrorLogMessage=The installation/uninstallation aborted with an error message!
InstallationFor=Installation for:
InstallerDesc=Service program to install single components.
InstallerName=Setup program
SetupWizard=Installation Wizard
Uninstallation=Uninstallation
ErrorText=Error
CallingText=launching

[SysStrings:07]
Users=Benutzer

[SysStrings:09]
Users=Users

[Environment]
CommonSetupDir=%CommonFilesDir%\Setup%SetupBits%
V_MachineValuesPath=\\%EmpirumServer%\Values$\MachineValues\%DomainName%
V_UserValuesPath=%HKLM,"Software\matrix42\Software Depot","HomeServer"%\Values$\UserValues\%UserDomain%

; Maschinenabhängige Variablen
; machine dependent variables
;VM_<Variable>=%%%V_MachineValuesPath%\%ComputerName%.ini,%ComputerName%,<Variable>%%

; Userabhängige Variablen
; user dependent variables
;VU_<Variable>=%%%V_UserValuesPath%\%WindowsUser%.ini,%WindowsUser%,<Variable>%%

; !!! Setzen der entsprechenden ReplaceEnv Befehle für die Variablen im Abschnitt [Product] nicht vergessen!!!
; !!! Don't forget to set the appropriate ReplaceEnv instructions for the variables in the section [Product]!!!

[Encryption]

[Disks]
1=%Disk1%

[Options]
Installer = %InstallerName%, COPYALWAYS, Installer, "%InstallerDesc%"
Product   = %ProductName%,   COPYALWAYS, Product,   "%ProductDesc%"

[OptionDependencies]

[OptionGroups]

[Installer]
1:..\..\..\..\User\Setup.exe,          %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\SetupDeu.chm,       %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\SetupEnu.chm,       %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\Mx42SynSem.dll,     %System%,         OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP WINDOWS32, 0
1:..\..\..\..\User\x64\Mx42SynSem.dll, %System%,         OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP WINDOWS64, 0
1:%SetupInfDir%\Setup.inf,                             , NORMAL,                                             0
1:%Temp%\Setup64.exe,                  %CommonSetupDir%\Setup.exe, OPTIONAL NOSIZEWARNING SETUP ALWAYS WINDOWS64,      0

[FileCheckMachine]
ReplaceEnv V_MachineValuesPath
If DoesFileExist ("%V_MachineValuesPath%\%ComputerName%.ini") == "0" Then "FileIsntThere" EndIf

[FileCheckClient]
ReplaceEnv V_UserValuesPath
If "%UserDomain%" <> "%ComputerName%" Then "CheckClientFile" EndIf

[CheckClientFile]
If DoesFileExist ("%V_UserValuesPath%\%WindowsUser%.ini") == "0" Then "FileIsntThere" EndIf

[FileIsntThere]
ErrorLogMsg Values$\MachineValues\%DomainName%\%ComputerName%.ini or Values$\UserValues\%UserDomain%\%WindowsUser%.ini not found!
Abort


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

#Set:Product
#Set:Installation, DONTDELETE
#Set:Deinstallation, DELETE
#Reg:OnUninstallProduct, DELETE
#Reg:Product
#Ini:Product
#Security:Product

[Set:Product]
;copy config files
1:Config\installer_input.txt	,, ALWAYS, 0
1:Config\uninstaller_input.txt	,, ALWAYS, 0
1:Config\network.lic			,, ALWAYS, 0

REPLACEVARS "%ApplicationDir%\Config\installer_input.txt"

[SET:Installation]
AddMeter -1
Cd ..
Cd Setup
Call "bin\win64\setup.exe" -inputFile "%ApplicationDir%\Config\installer_input.txt"
If %ErrorLevel% <> "0" Then "SET:InstallationError" EndIf

[SET:Deinstallation]
If "%ApplicationDir%\uninstall\bin\win64\uninstall.exe" <> "" Then "SET:Deinstallation2" EndIf
Set win=win64

[SET:Deinstallation2]
If %ErrorLevel% <> "0" Then "SET:DeInstallationError" EndIf
-Call "%ApplicationDir%\uninstall\bin\win64\uninstall.exe"" -inputFile "%ApplicationDir%\Config\uninstaller_input.txt"
-AddMeter -1

[Reg:OnUninstallProduct]

[Reg:Product]

[Ini:Product]

[Security:Product]

[Shell:Product]
MatLab R2012b, %App%\bin\matlab.exe, , %App, , %App%\bin\matlab.exe

[SET:InstallationError]
ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% Setup\bin\win64\setup.exe
Abort

[SET:DeInstallationError]
-Abort
-ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% "%ApplicationDir%\uninstall\bin\win64\uninstall.exe"
Registry Eintrag

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Mathworks]

[HKEY_LOCAL_MACHINE\SOFTWARE\Mathworks\MATLAB]

[HKEY_LOCAL_MACHINE\SOFTWARE\Mathworks\MATLAB\8.0]
"MATLABROOT"="C:\\Program Files\\MATLAB\\R2012b"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mathworks\MatLab_R2012b]

[HKEY_LOCAL_MACHINE\SOFTWARE\Mathworks\MatLab_R2012b\R2012b]

[HKEY_LOCAL_MACHINE\SOFTWARE\Mathworks\MatLab_R2012b\R2012b\Setup]
"AppPath"="C:\\Program Files\\MATLAB\\R2012b"
"ProductName"="MatLab_R2012b"
"DeveloperName"="Mathworks"
"Date"="21.01.2013 13:19"
"UninstallString"="\"C:\\Program Files\\Common Files\\Setup64\\Setup.exe\" \"C:\\Program Files\\MATLAB\\R2012b\\Install\\Setup.inf\" /U"
"RegisteredOwner"="EDV"
"RegisteredOrganization"="MPI EVA"
"SrcPath"="C:\\EmpirumAgent\\Packages\\Mathworks\\MatLab\\R2012b"
"SrcSetupExe"="C:\\Windows\\TEMP\\Setup64.exe"
"SrcSetupInf"="C:\\EmpirumAgent\\Packages\\Mathworks\\MatLab\\R2012b\\Install\\Setup.inf"
"DisplayName"="Mathworks MatLab R2012b"
"Version"="R2012b"
"Revision"="0"
"MachineSetup"="1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mathworks\MatLab_R2012b\R2012b\Setup\Options]
"Installer"="1"
"Product"="1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Mathworks\MatLab_R2012b\R2012b\Setup\Sections]
"Reg:Product"="1"
"Ini:Product"="1"
"Security:Product"="1"


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

Re: Paket installiert sich immer wieder

Post by Hendrik_Ambrosius » 21. Jan 2013, 17:15

Kann an der Versionsnummer liegen weil sie Buchstaben enthält.
Versionsabgleich im Depot läuft ohne Meldungen durch?
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.

MPI.EVA
Posts: 170
Joined: 19. Jun 2008, 15:40
Contact:

Re: Paket installiert sich immer wieder

Post by MPI.EVA » 22. Jan 2013, 08:28

Guten Morgen Herr Ambrosius,

es schien wirklich an der Versionsnummer gelegen zu haben. Ich habe nun nur "2012" ohne Buchstaben gewaehlt und das Paket erscheint im Kiosk als installiert und wird per EMC nicht mehr aller 10 Minuten gepushed.

Ein wenig verwundert es micht aber, da wir bei uns auch Pakete mit Zahlen-Buchstaben-Kombination als Versionsnummer einsetzten und diese haben dieses Fehlverhalten nicht.

Sascha Bernhard
Posts: 172
Joined: 20. Aug 2007, 13:53
Contact:

Re: Paket installiert sich immer wieder

Post by Sascha Bernhard » 22. Jan 2013, 10:34

Das wichtige ist das es mit einer Zahl beginnt. Danach sind Buchstaben erlaubt

MPI.EVA
Posts: 170
Joined: 19. Jun 2008, 15:40
Contact:

Re: Paket installiert sich immer wieder

Post by MPI.EVA » 22. Jan 2013, 10:53

Hallo Sascha,

danke fuer den Hinweis. MatLab R2012b ist in der Tat unser einziges Paket bei dem die Version mit einem Buchstaben beginnt.
Mit der Loesung "erst Zahl" koennen wir leben.

Post Reply

Return to “Paketierung”

Who is online

Users browsing this forum: No registered users and 8 guests