[Package]
version: 3
depends: 

[Product]
type: localboot
id: windows11-upgrade
name: Windows 11 Upgrade
description: Windows 11 Upgrade
advice: Adapt and test in your environment before rollout!
version: 25h2
priority: 82
licenseRequired: False
productClasses: 
setupScript: setup.opsiscript
uninstallScript: 
updateScript: localsetup\update-local.opsiscript
alwaysScript: 
onceScript: 
customScript: 
userLoginScript: 

[ProductProperty]
type: bool
name: automode
description: Determines upgrade_to_version from the name of the installfiles_dir (i.e. if installfiles_dir=installfiles_24h2 upgrade_to_version will be set to 24h2 automatically)
default: False

[ProductProperty]
type: unicode
name: bitlocker_suspend
multivalue: False
editable: False
description: Determines how BitLocker is handled during the upgrade
values: ["AlwaysSuspend","ForceKeepActive","TryKeepActive"]
default: ["AlwaysSuspend"]

[ProductProperty]
type: bool
name: check_setup_exe_version
description: Determines if the version of setup.exe will be checked to match the version used by the release that you want to upgrade to. Set to false if you want to use an older version of setup.exe to perform the upgrade.
default: False

[ProductProperty]
type: bool
name: copy_files_locally
description: Determines if the installation files will be copied locally
default: False

[ProductProperty]
type: bool
name: delete_windows_old
description: Should the Windows.old folder be removed after a successfull upgrade?
default: False

[ProductProperty]
type: bool
name: delete_windows_update_cache
description: Should the Windows Update cache (%SystemRoot%\Softwaredistribution) be cleared prior to the upgrade?
default: False

[ProductProperty]
type: bool
name: disable_hardware_checks_parameter
description: Specifies if the hardware requirement checks will be disabled by setting the setup.exe parameter /Product Server
default: False

[ProductProperty]
type: bool
name: disable_hardware_checks_registry
description: Specifies if the hardware requirement checks will be disabled by setting registry parameters
default: False

[ProductProperty]
type: unicode
name: dynamic_update
multivalue: False
editable: False
description: Specifies whether Windows Setup will perform Dynamic Update operations (search, download, and install updates)
values: ["Disable","Enable","NoDrivers","NoDriversNoLCU","NoLCU"]
default: ["Disable"]

[ProductProperty]
type: unicode
name: encryption_driver
multivalue: False
editable: True
description: Specifies the path to a folder containing encryption drivers for clients that have third-party encryption enabled
values: []
default: []

[ProductProperty]
type: unicode
name: installfiles_dir
multivalue: False
editable: True
description: Specifies the path to the installation source directory. Needs to contain trailing ReleaseID if AutoMode should be used (i.e installfiles_21h2)
values: ["installfiles"]
default: ["installfiles"]

[ProductProperty]
type: unicode
name: image_index
multivalue: False
editable: True
description: Specifies the image index to be used from install.wim. Will be ignored if empty
values: []
default: []

[ProductProperty]
type: bool
name: language_from_language_pack
description: Is the client using a language that was added by a language pack?
default: False

[ProductProperty]
type: unicode
name: language_installation_media
multivalue: False
editable: True
description: Specifies the language code of the original installation media
values: ["0407","0409"]
default: []

[ProductProperty]
type: unicode
name: migrate_drivers
multivalue: False
editable: False
description: Instructs Windows Setup whether to migrate the drivers from the existing installation during the upgrade
values: ["All","None"]
default: ["All"]

[ProductProperty]
type: unicode
name: mode
multivalue: False
editable: False
description: upgrade or validate_before_upgrade or validate_only
values: ["upgrade","validate_before_upgrade","validate_only"]
default: ["upgrade"]

[ProductProperty]
type: unicode
name: post_oobe
multivalue: False
editable: True
description: Path to setupcomplete.cmd
values: []
default: []

[ProductProperty]
type: unicode
name: productkey
multivalue: False
editable: True
description: License key for the installation. Is only used if the host parameter `license-management.use` is set to false. If set to true the license key will be taken from the license management module
values: []
default: []

[ProductProperty]
type: unicode
name: proxy_ip
multivalue: False
editable: True
description: Proxy IP
values: []
default: []

[ProductProperty]
type: unicode
name: proxy_port
multivalue: False
editable: True
description: Proxy Port
values: []
default: []

[ProductProperty]
type: bool
name: quiet
description: Set to false for debugging
default: True

[ProductProperty]
type: bool
name: repair_reinstall_force
description: Try to fix issues by reinstalling the current version of Windows
default: False

[ProductProperty]
type: bool
name: restore_health
description: Should "SFC /scannow" and "DISM /online /cleanup-image /restorehealth" be executed prior to the upgrade?
default: False

[ProductProperty]
type: unicode
name: setup_after_install
multivalue: True
editable: True
description: Which opsi product(s) should be installed after the setup is complete?
values: ["config-win10","mshotfix","opsi-client-agent"]
default: ["config-win10","mshotfix"]

[ProductProperty]
type: unicode
name: showoobe
multivalue: False
editable: False
description: Full requires the user to interactively complete the out of box experience (OOBE). None skips OOBE and selects the default settings
values: ["full","none"]
default: ["none"]

[ProductProperty]
type: unicode
name: telemetry
multivalue: False
editable: False
description: Specifies whether installation data is captured and reported to Microsoft
values: ["disable","enable"]
default: ["disable"]

[ProductProperty]
type: unicode
name: unset_after_install
multivalue: True
editable: True
description: Which opsi product(s) should be set to not_installed after the upgrade?
values: []
default: []

[ProductProperty]
type: unicode
name: upgrade_to_version
multivalue: False
editable: False
description: The ReleaseID that should be upgraded to
values: ["21h2","22h2","23h2","24h2","25h2","latest"]
default: ["latest"]
