I'm still kinda new to Opsi and trying to get a grasp on the winst scripting language. I've been reading the docs, searching the forums and trying over and over but can't seem to work this out. I want to edit a XML file (for installing Office) on a Opsi4 installation from my setup32.ins script but i keep getting 'Not recognized' errors or it just won't do what i intend. I have the following XML file:
Code: Alles auswählen
<Configuration Product="Enterprise">
</Configuration>
Code: Alles auswählen
<Configuration Product="ProPlus">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes">
<PIDKEY Value="xxxxx-xxxxx-xxxxx-xxxxx">
</Configuration>
Code: Alles auswählen
[XMLPatch_config.xml]
OpenNodeSet
- error_when_no_node_existing false
- warning_when_no_node_existing true
- error_when_nodecount_greater_1 false
- warning_when_nodecount_greater_1 true
- create_when_node_not_existing true
- attributes_strict false
documentroot
all_childelements_with:
elementname: "Display"
attribute "Level" value="none"
attribute "CompletionNotice" value="no"
attribute "SuppressModal" value="yes"
attribute "AcceptEula" value="yes"
all_childelements_with:
elementname: "PIDKEY"
attribute: "Value" value="$LicenseKey$"
end
SetAttribute "Product" value="$OfficeProdId$"
Is there someone who can give me a hand on this?!
Thanx!