ich habe ein Packet zusammengeschnürt welches ein Property enthält. Leider bekomme ich, wenn ich auf Setup gehe folgenden Fehler:
Code: Alles auswählen
Thu Feb 16 10:01:15 CET 2012 -- Opsi service error: [BackendReferentialIntegrityError] Backend referential integrity error: ProductProperty with id 'uac_level' for product 'ha-set-uac-level' not found
Conrol:
Code: Alles auswählen
[Package]
version: 1
depends:
incremental: False
[Product]
type: localboot
id: ha-set-uac-level
name: Configure UAC Level
description: Can be used to change current UAC Level!
advice: Valid levels are 1 (off) to 4 (high)
version: 2.1
priority: 1
licenseRequired: False
productClasses:
setupScript: setup.ins
uninstallScript:
updateScript:
alwaysScript:
onceScript:
customScript:
userLoginScript:
[ProductProperty]
type: unicode
name: uac-level
multivalue: False
editable: True
description: UAC Level to set!
values: ["1", "2", "3", "4"]
default: ["1"]
Code: Alles auswählen
[Actions]
;Setup opsi-winst
SetLogLevel=6
;Get Property
set $INST_uac_level$ = "1"
set $INST_uac_level$ = GetProductProperty ("uac-level", $INST_uac_level$)
;Display Infos
Message "Configuring UAC level"
;Install Tasks
WinBatch_set_uac_level
[WinBatch_set_uac_level]
"%ScriptPath%\set_uac_level.exe" $INST_uac_level$
Meine dispatch.conf sieht wie folgt aus:
Code: Alles auswählen
backend_.* : mysql, opsipxeconfd
host_.* : mysql, opsipxeconfd
productOnClient_.* : mysql, opsipxeconfd
configState_.* : mysql, opsipxeconfd
softwareLicense.* : mysql
audit.* : mysql
.* : mysql
Gruss
Yves