[Changelog]
opsi-vhd-control (4.3.0.5-1)

  * uib_bootutils.opsiscript: fix: 
    in getUefiBcdbootGuid($bootlabel$ : string) : string
    new: When ever we do not find a the given label in the diskinfo file,
    we try to find it in the "bcdedit enum firmware" output by:
    "device partition=Y:"
    "path   \EFI\Boot\BootX64.efi"

-- detlef oertel <d.oertel@uib.de>  2026-04-20

opsi-vhd-control (4.3.0.4-1)

  * uib_bootutils.opsiscript: fix: 
    in getUefiBcdbootGuid($bootlabel$ : string) : string
    When ever we do not find a GUID for the given label we try to find it in the diskinfo file.
    new:When ever we do not find a the given label we try to find it in the diskinfo file.

-- detlef oertel <d.oertel@uib.de>  2026-04-17

opsi-vhd-control (4.3.0.3-1)

  * fix: opsitempwinpe bcd entry could not be found because description was changed
    So we now store the bcd-entry-GUID of opsitempwinpe in the c:\opsi.org\data\diskinfo file
    and use this info if the info could not be found via 'bcdedit enum firmware'
  * update uib_bootutils.opsiscript from opsi-script 4.12.20.1.9
  * uib_bootutils.opsiscript: new: 
    DefFunc storeBcdEntryGUIDInDiskInfo($label$ : string, $bcdGUID$ :string, $baseDir$ : string) : void
  	;@Description	Store a label=BcdEntryGUID pair in the c:\opsi.org\data\diskinfo.ini file in section [bcdGUIDs]
    DefFunc readBcdEntryGUIDFromDiskInfo($label$ : string, $baseDir$ : string) : string
  	;@Description	read a BcdEntryGUID by the given label from the c:\opsi.org\data\diskinfo.ini file in section [bcdGUIDs]
  * uib_bootutils.opsiscript: changed: getUefiBcdbootGuid($bootlabel$ : string) : string
    When ever we succesful found the GUID for the given label, the result is stored in the diskinfo file.
    When ever we do not find a GUID for the given label we try to find it in the diskinfo file.

-- detlef oertel <d.oertel@uib.de>  2026-04-11

opsi-vhd-control (4.3.0.2-1)

  * winpetask: for debug more calls of: bcdedit /v
  * fix: remove double snapshot bcd entry ; controled by:
  * new property copy_bcd_current_snapshot (default= false)

-- detlef oertel <d.oertel@uib.de>  Thu, 22 Feb 2024 15:00:00 

opsi-vhd-control (4.3.0.1-1)

  * update uib_bootutils.opsiscript (escapeRegexMetaChars in getUefiBcdbootGuid)
  * fix:  setup: copy uib_bootutils.opsiscript file to pe so that capture.opsiscript can find and use it
  * fix: in opsi 4.3 on mbr systems boot to PE does not work via netboot+grub, to fix this: 
      ** setup: copy boot_me.marker to pe
      ** petask: remove boot_me.marker from pe

-- detlef oertel <d.oertel@uib.de>  Tue, 06 Feb 2024 15:00:00 

opsi-vhd-control (4.3.0.0-2) stable; urgency=low

  * fix  : setup.opsiscript: syntax in deffunc handle_setup_after_list
  * fix  : setup.opsiscript: remove double definition of deffunc check_module_activation
    
-- detlef oertel <d.oertel@uib.de>  Thu, 09 Nov 2023 15:00

opsi-vhd-control (4.3.0.0-1) stable; urgency=low

  * fix  : typo in variable name
  * new property: no_pe_hide_in_pe (debug for bluescreen in vhd)
  * change to opsi 4.3 logo
    
-- detlef oertel <d.oertel@uib.de>  Mon, 16 Oct 2023 15:00

opsi-vhd-control (4.2.0.6-1) stable; urgency=low

  * fix  : setup: handle_setup_after_list: ignore empty strings in $setup_after_prod_list$
    
-- detlef oertel <d.oertel@uib.de>  Mon, 18 Sep 2023 15:00

opsi-vhd-control (4.2.0.5-1) stable; urgency=low

  * uib_bootutils : updated
    
-- detlef oertel <d.oertel@uib.de>  Fri, 28 Apr 2023 15:00

opsi-vhd-control (4.2.0.4-1) stable; urgency=low

  * uib_bootutils : new: hidePartition2, noAutomountPartition
  * setup.opsiscript: fixes for MBR BIOS
  * fix double declaration of $list§
    
-- detlef oertel <d.oertel@uib.de>  Tue, 29 Nov 2022 15:00:00 +0000

opsi-vhd-control (4.2.0.3-1) stable; urgency=low

  * fixes for win10
  * winpetask : use $snapshotDriveLetter$ (T)
  * update "check module activation"
  ; the combination win11 and not uefi is not possible
	; on win11 we have to use powershell (diskpart is not possible) 
	; and powershell has no way to get a mbr disk guid
    
-- detlef oertel <d.oertel@uib.de>  Mon, 1 Aug 2022 15:00:00 +0000

opsi-vhd-control (4.2.0.2-1) stable; urgency=low

  * replace dispart scripts by powershell for use in win11
    
-- detlef oertel <d.oertel@uib.de>  Fri, 27 May 2022 15:00:00 +0000

opsi-vhd-control (4.2.0.1-1) stable; urgency=low

  * fix syntax error in setup.opsiscript
    
-- detlef oertel <d.oertel@uib.de>  Tue, 24 May 2022 15:00:00 +0000

opsi-vhd-control (4.2.0.0-1) stable; urgency=low

  * adapt to change from winst to opsiscript
    
-- detlef oertel <d.oertel@uib.de>  Fr, 25 Mar 2022 15:00:00 +0000


win-vhd-control (4.1.0.0-17) stable; urgency=low

  * enable: backup C:\opsi.org\log\*.log to pe and restore after new child
  * always disable start_network_in_pe if network is not cable
    

-- detlef oertel <d.oertel@uib.de>  Fr, 06 Sep 2019 15:00:00 +0000

win-vhd-control (4.1.0.0-16) stable; urgency=low

  * code cleanup
  * todo:
    * enable: backup C:\opsi.org\log\*.log to pe and restore after new child
    * use $systemDriveLetter$ for backup
    * always disable start_network_in_pe if network is not cable
    

-- detlef oertel <d.oertel@uib.de>  Fr, 06 Sep 2019 15:00:00 +0000

win-vhd-control (4.1.0.0-15) stable; urgency=low

  * backup C:\opsi.org\opsiclientd\state.json to pe and restore after new child
    moved to winpetask
  * backup C:\opsi.org\log\*.log to pe and restore after new child
    moved to winpetask and temporary disabled

-- detlef oertel <d.oertel@uib.de>  Wed, 04 Sep 2019 15:00:00 +0000

win-vhd-control (4.1.0.0-14) stable; urgency=low

  * setup: backup C:\opsi.org\opsiclientd\state.json to pe and restore after new child
  * setup: backup C:\opsi.org\log\*.log to pe and restore after new child

-- detlef oertel <d.oertel@uib.de>  Fr, 22 Aug 2019 15:00:00 +0000

win-vhd-control (4.1.0.0-13) stable; urgency=low

  * setup: copy opsi-script to pe
  * setup: backup opsiclientd.conf to pe and restore after new child

-- detlef oertel <d.oertel@uib.de>  Mo, 12 Aug 2019 15:00:00 +0000

win-vhd-control (4.1.0.0-12) stable; urgency=low

  * winpetask: use bakend_info instead of autenticated

-- detlef oertel <d.oertel@uib.de>  Thu, 08 Aug 2019 15:00:00 +0000

win-vhd-control (4.1.0.0-11) stable; urgency=low

  * exclude some products from backup
  * new property force_initial: Which opsi product(s) should be excluded from meta data restore ?

-- detlef oertel <d.oertel@uib.de>  Tue, 30 Juli 2019 15:00:00 +0000

win-vhd-control (4.1.0.0-10) stable; urgency=low

  * clean fix for local stored bootimage
  * new property force_initial: If true: Ignore existing meta data files and make a new one

-- detlef oertel <d.oertel@uib.de>  Mon, 22 Juli 2019 15:00:00 +0000

win-vhd-control (4.1.0.0-9) stable; urgency=low

  * quickfix for local stored bootimage

-- detlef oertel <d.oertel@uib.de>  Fri, 19 Juli 2019 15:00:00 +0000

win-vhd-control (4.1.0.0-8) stable; urgency=low

  * new property: setup_after_restore ; default: windomain

-- detlef oertel <d.oertel@uib.de>  Wed, 10 Juli 2019 15:00:00 +0000

win-vhd-control (4.1.0.0-7) stable; urgency=low

  * fix in setup: opsiservicecall_setProductProperty_generic use %opsiserviceUser%

-- detlef oertel <d.oertel@uib.de>  Wed, 10 Juli 2019 15:00:00 +0000

win-vhd-control (4.1.0.0-6) stable; urgency=low

  * require opsi-script 4.12.1
  * add 'bcdedit /copy {default} /d snapshot' and dosinanIcon_bcd_new_vhd
  * do not use compact vdisk

-- detlef oertel <d.oertel@uib.de>  Mon, 01 Juli 2019 15:00:00 +0000

win-vhd-control (4.1.0.0-5) stable; urgency=low

  * new property start_network_in_winpe (uib#2018053010000016)
  * some code cleanup

-- detlef oertel <d.oertel@uib.de>  Fri, 20 Juli 2018 15:00:00 +0000

win-vhd-control (4.1.0.0-4) stable; urgency=low

  * workaround: stringToBool( bug

-- detlef oertel <d.oertel@uib.de>  Mon, 14 May 2018 15:00:00 +0000

win-vhd-control (4.1.0.0-3) stable; urgency=low

  * setup: do not delete opsi-vhd-auto-upgrade action requests
  * priority: -96

-- detlef oertel <d.oertel@uib.de>  Tue, 06 Feb 2018 15:00:00 +0000

win-vhd-control (4.1.0.0-2) stable; urgency=low

  * winpetask: workaround for old bug: none does not work with setProductActionRequestWithDependencies (#3003)

-- detlef oertel <d.oertel@uib.de>  Mon, 05 Feb 2018 15:00:00 +0000


win-vhd-snapshot (4.1.0.0-1) stable; urgency=low

  * final (renamed from win-vhd-snapshot)
  * integrate opsi.png for winpetask
  * upgrade mode hangs on 32Bit PE (seems to be a diskpart bug)

-- detlef oertel <d.oertel@uib.de>  Wed, 10 Jan 2018 15:00:00 +0000

win-vhd-snapshot (4.0.7.4-2) stable; urgency=low

  * new property upgrade
  * handling opsi-meta-data
  * requires opsi-script 4.12.0.11

-- detlef oertel <d.oertel@uib.de>  Wed, 13 Dec 2017 15:00:00 +0000

win-vhd-snapshot (4.0.7.4-1) stable; urgency=low

  * some changes for win*-vhd_4.0.7.4-x
  * new property upgrade
  * handling opsi-meta-data
  * requires opsi-script 4.12.0.11

-- detlef oertel <d.oertel@uib.de>  Tue, 07 Nov 2017 15:00:00 +0000

win-vhd-snapshot (4.0.7.1-2) stable; urgency=low

  * remove unneeded files

-- detlef oertel <d.oertel@uib.de>  Mon, 10 Jan 2017 15:00:00 +0000

win-vhd-snapshot (4.0.7.1-1) stable; urgency=low

  * initial (dervated from wim-capture

-- detlef oertel <d.oertel@uib.de>  Thu, 19 Jan 2017 15:00:00 +0000
