Windows XP HKCU

Post Reply
User avatar
aalbang
Posts: 21
Joined: 18. Aug 2009, 16:19
Contact:

Windows XP HKCU

Post by aalbang » 02. Dec 2010, 10:48

Hallo,

ich habe ein Problem mit ein paar Registryeinträgen im Userteil.
Wird das Paket unter Windows 7 installiert, werden die Einträge ohne Probleme gesetzt.

Unter Windows XP werden die Registry Einträge nach der Installation leider nicht gesetzt.

Eventuell sieht jemand wo der Fehler liegt.

Danke,
Gruß
aalbang

Code: Select all

[SetupInfo]
Author=
CreationDate            =02.12.2010 09:12:41
InventoryID             =
Description             = 
Method                  = Package Robot
Tested on=Windows XP / Windows 7
Dependencies            =
Command line options=/AW /S0
Last Change             =
Build                   =

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

[Setup]
Version=10.5
ShowCaption=1
BlockInput=0
Platform=x86

[Requirements]

[Application]
ProductName=SEH UTN Manager
DeveloperName=System
Version=1.3.7
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=ReinstallString="%CommonSetupDir%\Setup.exe" "%ProgramFilesDir%\Empirum Packages\%Productname% %Version%\%SetupInfDir%\Setup.inf"
ReinstallMode=1
SrcDir=..
ApplicationDir=%ProgramFilesDir%\%ProductName%
SetupInfDir=Install
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=Package Robot 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=Package Robot 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, DONTDELETE
#Set:Deinstallation, DELETE
#Reg:OnUninstallProduct, DELETE
#Reg:Product
#Ini:Product
#Security:Product

[Set:Product]
AddMeter -1
If DoesRegKeyExist ("HKLM,SOFTWARE\%DeveloperName%\%ProductName%\%Version%\Setup,Date") == "1" | DoesRegKeyExist ("HKLM,SOFTWARE\WOW6432Node\HKLM,SOFTWARE\%DeveloperName%\%ProductName%\%Version%\Setup,Date") == "1" Then "Set:Repair" Else "Set:Installation" EndIf

[SET:Installation]
Call "%Src%\Install_sehutnmanager-1.3.7.exe" 
If %ErrorLevel% <> "0" Then "SET:InstallationError" EndIf

[Set:Repair]
If DoesFileExist ("%Src%\") == "0" Then "Set:Installation" EndIf
Call "%Src%\" 
If %ErrorLevel% <> "0" Then "Set:RepairError" EndIf


[Set:Deinstallation]
If "%Src%\Uninstall_SEH UTN Manager 1.3.7 1.3.7.exe" <> "" Then "SET:Deinstallation2" EndIf

[Set:Deinstallation2]
If %ErrorLevel% <> "0" Then "SET:DeInstallationError" EndIf
-Call "%Src%\Uninstall_SEH UTN Manager 1.3.7 1.3.7.exe" 
-AddMeter -1

[Reg:OnUninstallProduct]

[Reg:Product]
HKCU,"Software\SEH Computertechnik GmbH\SEH UTN Manager\myDevices","list",0x00010001,"0x00000000"
HKCU,"Software\SEH Computertechnik GmbH\SEH UTN Manager\options","updateCheck",0x00000000,"false"
HKCU,"Software\SEH Computertechnik GmbH\SEH UTN Manager\options","autoRefresh",0x00000000,"true"
HKCU,"Software\SEH Computertechnik GmbH\SEH UTN Manager\options","autoRefreshValue",0x00010001,"0x0000001e"
HKCU,"Software\SEH Computertechnik GmbH\SEH UTN Manager\options","mcSearch",0x00000000,"false"
HKCU,"Software\SEH Computertechnik GmbH\SEH UTN Manager\options","ipRangeSearch",0x00000000,"false"
HKCU,"Software\SEH Computertechnik GmbH\SEH UTN Manager\options","globalSelectionList",0x00000000,"true"
HKCU,"Software\SEH Computertechnik GmbH\SEH UTN Manager\options","showFqdn",0x00000000,"true"
HKCU,"Software\SEH Computertechnik GmbH\SEH UTN Manager\options\ipRanges","size",0x00010001,"0x00000000"
HKCU,"Software\SEH Computertechnik GmbH\SEH UTN Manager\options\mcAddresses","size",0x00010001,"0x00000001"
HKCU,"Software\SEH Computertechnik GmbH\SEH UTN Manager\options\mcAddresses\1","addr",0x00000000,"10.22.33.174"
HKCU,"Software\SEH Computertechnik GmbH\SEH UTN Manager\options\mcAddresses\1","enabled",0x00000000,"true"

[Ini:Product]

[Security:Product]

[Shell:Product]

[Set:InstallationError]
ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% Install_sehutnmanager-1.3.7.exe
Abort

[Set:RepairError]
ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% 
Abort

[Set:DeInstallationError]
-Abort
-ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% Uninstall_SEH UTN Manager 1.3.7 1.3.7.exe

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

Re: Windows XP HKCU

Post by Hendrik_Ambrosius » 02. Dec 2010, 11:28

Wird der Userteil auf XP überhaupt ausgeführt?
Bitte mal das Log checken.
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.

User avatar
aalbang
Posts: 21
Joined: 18. Aug 2009, 16:19
Contact:

Re: Windows XP HKCU

Post by aalbang » 02. Dec 2010, 11:55

Der Benutzerteil wird anscheinend nicht ausgeführt.

Hmnm.. ist eventuell mein Schalter falsch gesetzt ? : /AW /S0

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

Re: Windows XP HKCU

Post by Hendrik_Ambrosius » 02. Dec 2010, 12:47

Der ist OK. Haben Sie den Schalter vielleicht NACHTRÄGLICH gesetzt nachdem der Rollout ohne Userteil schon gelaufen war?
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.

Post Reply

Return to “Paketierung”

Who is online

Users browsing this forum: Google [Bot] and 9 guests