[Package]
version: 2
depends: 

[Product]
type: localboot
id: opsi-wim-delete
name: opsi-wim-delete
description: Delete the image image_to_delete from the install.wim of the target_product
advice: 
version: 4.3.0.2
priority: 0
licenseRequired: False
setupScript: 
uninstallScript: 
updateScript: 
alwaysScript: 
onceScript: once.opsiscript
customScript: 
userLoginScript: 

[ProductProperty]
type: unicode
name: target_product
multivalue: False
editable: True
description: Name of the product where we will save the image
values: ["win10-x64-captured","win11-x64-captured"]
default: ["win10-x64-captured"]

[ProductProperty]
type: unicode
name: images_to_delete
multivalue: True
editable: True
description: Name of the image that should be deleted from the install.wim of the target_product
values: ["capture"]
default: []

[ProductProperty]
type: unicode
name: opsi_depot_rw_host
multivalue: False
editable: True
description: Normally auto or leave empty. If not auto or empty: the host from which we mount the opsi_depot_rw share.
values: ["auto"]
default: ["auto"]

[ProductProperty]
type: bool
name: optimize
description: use (true)/skip (false) wimoptimize to free space and recompress wim file. Beware: this takes a lot of extra time!
default: False
