
[Changelog]
# Changelog opsi-setup-detector

## [4.3.7.2-1] - 2025-09-26

### templates:
* fix missing files for winget in generic:
  - osd-winget-exitcode.opsiscript 
  - HandleWingetSections.opsiscript

* fix missing variables in training channel in:
  - setupsingle.opsiscript
  - setuptempl.opsiscript
  - uninstallsingle.opsiscript
  - uninstalltempl.opsiscript
  
(Detlef Oertel <d.oertel@uib.de>)


## [4.3.7.1-1] - 2025-06-10

### Fix
* missing uninstallscript in meta control.toml
* read incomplete control.toml files
* Icon display is not changed after reload a project file

### Change
* move osd project file to OPSI directory
  leave remark at old place
* on create background-info-file:
  - update changelog
  - increment package number
* Radiogroup 'build mode' is disabled if 'create mode'
  does not contain 'build'

### Add:
* background meta data: preset os to windows
* french translation for background meta data
* Store and reload last selected language
* new installer type 'visual studio installer' 

### templates:

(Detlef Oertel <d.oertel@uib.de>)

## [4.3.6.2-1] - 2025-05-15

### Fix
- hide background / meta-data features on new config:
  EnableBackgroundMetaData (default = false)
  removes configs: writeMetaDataFile, ShowBackgroundInfoBtn

  ### Change
  configuration: control_in_toml_format now default = True;
  checkbox: uninstall_before_install: property default is now false

### Add:
- on custom channel: copy all files from custom/additional_files
- try to get the default icon from:
  template-files\<channel>\images\template.png

### templates:
- syntax error in get_licensekey_byPoolOrKey

(Detlef Oertel <d.oertel@uib.de>)


## [4.3.6.1-1] - 2025-04-29

### Fix
- modified resource Strings for background info form

### Add:
- Hints in background info form
- try to guess the correct path to save meta-data file

### Templates:
* fix msi unstall: fix last line of Variant 1
  (https://forum.opsi.org/viewtopic.php?t=14584)

(Detlef Oertel <d.oertel@uib.de>)


## [4.3.6.0-1] - 2025-04-25

### Fix
- osdmeta: use initialization / finalization
- osdbasedata: readProjectFile: code cleanup
- osdanalyzewin: get_MsixAppx_info: comments on arch: neutral
- osdform: BtSetup1NextStepClick: correct os (win) for second win setup

(Detlef Oertel <d.oertel@uib.de>)   

## [4.3.5.1-1] - 2025-04-16

### Fix
- markdown typo in msix info

(Detlef Oertel <d.oertel@uib.de>)


## [4.3.5.0-1] - 2025-03-21

### Fix
- more logging in  osdform:BtCreateProductClick for build or not build
- change meta data according to
  '2024-OTW18-PRODUCT-METADATASTRUCTURE' VERSION 0.1.6: 13.11.2024
- osdanalyzewin: get_inno_info: detect architecture from iss file or installdir
- osdanalyzewin: get_QtInstaller_info assume architecture is x64


### Installer
- switch to innounp-2  Version 2.64.3 - Unicode 
  https://github.com/jrathlev/InnoUnpacker-Windows-GUI/tree/master/innounp-2
  https://www.rathlev-home.de/tools/download/innounp-2.zip 
- use signed ssl libraries
- all unsigned third party win binaries are signed by uib gmbh
- update to die 3.0.10

### Changed
- removed dependency to opsiPackageBuilder

(Detlef Oertel <d.oertel@uib.de>)


## [4.3.4.2-3] - 2025-02-18

### Fix
- call delinc.opsiinc once and always before install
  in template-files\default\win\setupdouble.opsiscript
  fixes uninstall of just installed variants

(Detlef Oertel <d.oertel@uib.de>)

## [4.3.4.2-2] - 2025-02-17

### Fix
- Fix syntax error in template-files\default\win\delincmsidouble.opsiinc
- Fix missing second (64 bit) msi upgrade code in delincmsidouble.opsiinc
  (Thanks for both fixes to M. Ewest)
- update ssl libraries to 3.0.16

(Detlef Oertel <d.oertel@uib.de>)   


## [4.3.4.2-1] - 2024-11-05

### Fix
- reset execution level back to 'as invoker'
- Treeview Items Text as resource strings
- osd-lib: getGuidListByMsiUpgradecode : use registry to get version

(Detlef Oertel <d.oertel@uib.de>)   

## [4.3.4.1-1] - 2024-10-28

### Change:

- Do not enable /disbale tabsheets any more
- Enable / Disable Treeview1 Items according to runmode
- Init Tabsheets in initgui and resetgui
- set differences to init in setrunmode
- call set runmode after loading projectfile
- additional messages for macos two step file selection
  for macos single file analyze and create

- French tanslation

(Detlef Oertel <d.oertel@uib.de>)


## [4.3.4.0-1] - 2024-10-08

### Add:

- new installer type stWinget
- support for winget based installation
- new winget tab
- moved tab selection to left vertical side (treeView)
- support msixbundle
- msix now with additional uninstall method
- msix now with Unstall_before_install=false by default
- new commandline parameter wingetId and wingetSource for automatic testing
- winget: copy also osd-winget-exitcode.opsiscript

(Detlef Oertel <d.oertel@uib.de>)



## [4.3.3.4-1] - 2024-11-05

### Fix
- reset execution level back to 'as invoker'
- osd-lib: getGuidListByMsiUpgradecode : use registry to get version

(Detlef Oertel <d.oertel@uib.de>)


## [4.3.3.3-1] - 2024-11-05

### Fix
- reset execution level back to highest available

(Detlef Oertel <d.oertel@uib.de>)


## [4.3.3.2-3] - 2024-10-01

### fix:
- added libicu66 libs to linux detetct it easy zip

(Detlef Oertel <d.oertel@uib.de>)


## [4.3.3.2-2] - 2024-09-23

### fix:
- updated and signed windows binary

(Detlef Oertel <d.oertel@uib.de> 2024-09-23)


## [4.3.3.2-1] - 2024-09-19

### Add:
- If properties have multiline, then create code correct with stringlist var
  and getproductpropertyList
  Ticket: uib#2024091717000055 — opsi Setup Detector Multivalue Property Stringlist
- new configuration: writeMetaDataFile (default=false)
- integrate jyt binary for macos

- Templates with user:
  * Added smart-card handling
  * Bug fix: in boolean parameter in web service call 

(Detlef Oertel <d.oertel@uib.de> 2024-09-19)


# Changelog opsi-setup-detector
## [4.3.3.1-1] - 2024-08-26

### Add:
- write opsi meta data file:  CLIENT_DATA\opsi-meta-data.toml
  use jyt to convert it to toml:
  https://github.com/ken-matsui/jyt
- add detection via 'detect it easy' (die)
  https://github.com/horsicq/Detect-It-Easy
- Integrate osd detection and die detection
- remove msgeninstaller -> wixtoolset
- new stDetectedUnknown for deteted by die but known by osd
- modified unknown installer dialog for stDetectedUnknown
- analyze msi with lessmsi.exe (windows only)
  https://lessmsi.activescott.com/
  https://github.com/activescott/lessmsi
  License : MIT
- analyze msi from InstallshieldMSI, wixtool, advanced_installer
- guess software architecture from installdir
- display msi upgradeCode
- new configuration: preferMsiUninstall (default=true):
  If true=prefer uninstall via msi if possible (if msi is found).
  Affects Installer that are wrapper around msi,
  like installshieldMSI, advanced_installer, wix toolset
  extend use of linux msiiinfo in unit lessmsi
  use jyt binary to vonvert opsi meta file at macos
- get_MsixAppx_info: remove empty entries from powershell output at uninstallcheck
- do not show installer info_message_html if not osdsettings.showgui (breaks automatic tests)
- osdanalyzewin: use findMsiAndAnalyze in get_installshieldmsi_info, get_wixtoolset_info, get_advancedInstaller_info
- enable window sharing in video conference (at windows): Application.MainFormOnTaskBar := True;
- add experimental support for *.appxbundle

- update ssl libraries from 3.0.9 to 3.0.15

- Templates:
  - default\generic\HandleDesktopIconSections.opsiscript: use $productName$ 
    (instead of $productId$)
  - Installation mit 'with user' und der User Displayname 
    fixes: https://redmine.uib.gmbh/issues/4877
  - delete msi installation based un upgrade code 
    (Thanks to Johannes Schuh for the hints)


(Detlef Oertel <d.oertel@uib.de> 2024-08-26)



## [4.3.3.0-1] - 2024-07-16

### Fix
- templates:
  $productName$ is used as default for the desktop icon name
  use msi Upgrade code for find msiIds for uninstall

(Detlef Oertel <d.oertel@uib.de> 2024-07-16)

## [4.3.2.6-2] - 2024-06-11

### Fixed
- templates: missing 
  files.templ\template-files\default\generic\profiledir_readme.txt

(Detlef Oertel <d.oertel@uib.de> 2024-06-11)

## [4.3.2.6-1] - 2024-05-22

### Fixed
- syntax error in uninstall strings for advanced installer:
  fix in osdanalyzewin: get_advancedInstaller_info
- templates setup:
  move 'set $installerSourceDir$' before delinc call 
  because some uninstaller (advanced) need the installer file
- templates: New standard var $productName$
  $productName$ is used as default for the desktop icon name
- templates 'with user':
  included [fix] Added LoginBlocker status check 
  included [fix] Adapted to the new windows10-upgrade code
  included [fix] Added timeout_opsisetupuser: 120


- new product property: force_icon_install
  "Should we unzip the icon collection even if the directory still exists" (Default=False)

- new product property: uninstall_before_install

(Detlef Oertel <d.oertel@uib.de> 2024-05-22)

## [4.3.2.5-1] - 2024-05-17

### Fixed
- control.toml: again: all backslashes and double quotes has to be escaped with backslash
- import control toml:
at unit TOMLParser
in function TTOMLScanner.ParseString: TTOMLStringType;
add handling of escaped backslash

(Detlef Oertel <d.oertel@uib.de> 2024-05-17)


## [4.3.2.4-1] - 2024-05-12

### Fixed
- osdcreate: // Checkbox uninstallBeforeInstall

(Detlef Oertel <d.oertel@uib.de> 2024-05-12)

## [4.3.2.3-1] - 2024-05-10

### Fixed
- changed some control sizes
- new locale files

(Detlef Oertel <d.oertel@uib.de> 2024-05-10)

## [4.3.2.2-1] - 2024-05-07

### Added
- new checkbox 'Uninstall_before_install'
- Template files: 
-- all setup.opsiscript: add  #@preDelIncCondition*#

(Detlef Oertel <d.oertel@uib.de> 2024-05-07)  

## [4.3.2.1-1] - 2024-03-27

### Fixed
- fixed Link to fixed in docu: opsi-setup-detector-product-configuration-priority_dependency
- HighDPI problem on Icon tab. Fix in osdform :procedure TResultform1.PaintPreview(Image: TImage);
  fixes #4858
- control.toml: all backslashes and double quotes has to be escaped with backslash ; fixes #4862
- setup tab: open button für installdir nicht erreichbar bei 1024x768 ; fixes #4864

### Added
- new task: template-with-loggedin-user (createTemplateWithUser)
- disable checkboxes for 'with user': desktopicon, customdir install_from_local
- support for wise installer
- support for install via safe mode boot in 'with user': prop 'install_at_safe_mode_boot'
- support for msix / appx packages
- customize_profiles: directory profiles_files erzeugen  ; fixes #4865
- $ProductName$ mit Wert bereitstellen  ; fixes #4863
- Besseres Feedback im Erfolgsmeldungsfenster beim Paketieren: Farbe / Fett   ; fixes #4866

### removed
- Analyze only button now invisible

### Changed
- Template files: 
-- Call winbatch always with /sysnative 

(Detlef Oertel <d.oertel@uib.de> 2024-05-03)

## [4.3.1.4-2] - 2024-03-28

### Fixed
- fix: start menue icon at linux ; #4859

(Detlef Oertel <d.oertel@uib.de> 2024-03-28)


## [4.3.1.4-1] - 2024-01-17

### Fixed
- fix help links new opsi4.3 documentation structure

(Detlef Oertel <d.oertel@uib.de> 2024-01-17)

## [4.3.1.3-1] - 2024-01-15

### Fixed
- switch all help links to 4.3
- readd (modified) to oswebservice: Topsi4data:
  function getProductIds: TStringList;
  function getLocalbootProductIds: TStringList;
  function getNetbootProductIds: TStringList;

(Detlef Oertel <d.oertel@uib.de> 2024-01-15)     

## [4.3.1.2-2] - 2024-01-03

### Fixed
- macos binary recompiled

(Detlef Oertel <d.oertel@uib.de> 2024-01-09)


## [4.3.1.2-1] - 2024-01-03

### Fixed
- reload localized installer info messages from initgui

(Detlef Oertel <d.oertel@uib.de> 2024-01-03)


## [4.3.1.1-1] - 2023-12-18

### Fixed
- reset detection counter in initaktproduct

### Added
- Warn on more than one detection:
  show detected installer types
- new french translation

### Changed
- Template files: 
    - in generic\HandlePostInstallFromLocal.opsiscript and
      with-user\setup.opsiscript:
      ChangeDirectory "%opsiTmpDir%"
      before remove temporary dir
    
(Detlef Oertel <d.oertel@uib.de> 2023-12-18)


## [4.3.1.0-1] - 2023-09-28

### Fixed
- fix : utils\extractMSI.cmd: call setup with language parameter to avoid language dialog
  using language english -L0x0409 (Detlef Oertel <d.oertel@uib.de> 2023-09-28)
- fix : template 'with user' : uninstall-local.opsiscript : missing 'importlib "osd-lib.opsiscript"'
- fix : utils\extractMSI.cmd: call setup with language parameter to avoid language dialog
  using language english -L0x0409 (Detlef Oertel <d.oertel@uib.de> 2023-09-28)
- fix some installer exitcode function to 'isMsiExitcodeFatal_short' (Detlef Oertel <d.oertel@uib.de> 2023-10-02)
- fix: make opendialog filter case insensitive at Unix (<d.oertel@uib.de> 2023-11-13) 

### Added
- Info Message window for some of the detected installers with additional 'need to know' infos.
  mdInstallerInfo_Installshield, mdInstallerInfo_InstallAnywhere, mdInstallerInfo_PortableApps
- Warn on more than one detection
- new installer type : InstallAnywhere
  * https://www.revenera.de/install/products/installanywhere
- new installer type : setupFactory
  * https://www.indigorose.com/webhelp/suf9/index.htm
- new installer type : QtInstaller
  * https://doc.qt.io/qtinstallerframework/
- Info Message window is now a html viewer with markdown input so it can show formatted input
  and active weblinks

### Changed
- Template files: 
    - in HandleMsiUninstallSections.opsiscript in win and with_user: use 'checkForMsiDisplayname'
    - in 'with_user' support for 'cutomize_profile': HandleCustomizeProfile.opsiscript, setup-local.opsiscript
- osd-lib.opsiscript:    less logging on level5 by avoid getRegistryValue on non existing keys in functions:
    getGuidListByDisplaynameRegex, checkForMsiProduct, checkForMsiDisplayname

- removed AdvancedMSI (replaced by AdvancedInstaller)
- Description and Advice now with markdown preview

(Detlef Oertel <d.oertel@uib.de> 2023-10-16)


## [4.3.0.0-1] - 2023-09-06

### Changed
- Changed all opsi icons to 4.3 style (Detlef Oertel <d.oertel@uib.de> 2023-09-26)

## [4.2.2.4-1] - 2023-09-06

### Fixed
- fix calling dependency dialog: dependency name alway set to 'propertyname':
  clear EditPropName.Text in object definition, so that we have no translation string
  which is filled in runtime to the edit field (Detlef Oertel <d.oertel@uib.de> 2023-09-06)

### Changed
- Create changelog now in opsi 4.3 style according to the actual opsi standards
  and https://keepachangelog.com/en/1.1.0/
  and as 'changelog.md' instead of 'changelog.txt' (Detlef Oertel <d.oertel@uib.de> 2023-09-06)

### Added
- new installer type : Advanced Installer  (Detlef Oertel <d.oertel@uib.de> 2023-09-06)
  * https://www.advancedinstaller.com/
  * https://www.advancedinstaller.com/user-guide/exe-setup-file.htm


## [4.2.2.3-2] - 2023-09-06

### Changed

  - modified language files to fix:
    fix calling dependency dialog: dependency name alway set to 'propertyname' 

(Detlef Oertel <d.oertel@uib.de>)


opsi-setup-detector (4.2.2.3-1)

  * on open control file load all values (new project)
  * on import control file load only some values into the existing project

-- Detlef Oertel <d.oertel@uib.de>  Thu,  17 Aug 2023 : 15:00:00    

opsi-setup-detector (4.2.2.2-1)

  * sorted installer list
  * some more autosize on labels for international translations
  * Btn 'rebuild' on create tab works now independent of the create mode radiobuttons

-- Detlef Oertel <d.oertel@uib.de>  Mon,  14 Aug 2023 : 15:00:00     

opsi-setup-detector (4.2.2.1-1)

  * new Button 'Import control File' on 'productconfiguration 1' tab to
    add the data of a existing control file to the running project

-- Detlef Oertel <d.oertel@uib.de>  Mon,  07 Aug 2023 : 15:00:00

opsi-setup-detector (4.2.2.0-2) 

  * add changes from osd 4.2.1.19

-- Detlef Oertel <d.oertel@uib.de>  Fri,  04 Aug 2023 : 15:00:00

opsi-setup-detector (4.2.2.0-1) stable; urgency=low

   * tests for 4.2.2
   * templates: 
       * channel Training: 
       delincmsi: fix (DefVar $DisplayNameRegex$)
       uninstall. setup (DefVar $MsiVersion$)
       * channel default:
       mac/delinc: fix missing 'i' at 'if'
	   * structured/win: add :
        * HandleCustomizeProfile.opsiscript
        * HandleCustomizeProfilesSections.opsiscript
        * to handle loginscripts correct with external sections.opsiinc
     * osd-lib: new function  escapeRegexMetaChars($instring$ : string) : string
       use  escapeRegexMetaChars in all delmsi* files
     * add comments from channel training to default
     * use sections.opsiinc also in default channel
     * default/with user:
        * import osd-lib from setup-local.opsiinc
 * Installation scripts:
   * win: create uninstall entry and script
 * opsi-setup-detector binary:    
   * remove old unused code
   * remove old unused resource strings
   * fix corrected english resource strings (thanks to m.knauer)
   * fix pattern installshieldMSI:
        pattern 'issetup.dll' seems not to be there always : infopattern
   * new osdbasedata: TinstallerData : notpatterns
     patterns that indicate 'this is not this installer type'
   * new cli parameter: -c / --template-channel
   * new Help menu: 'Open help' via default bowser
   * new Help menu: 'Open log file' via opsi-logviewer (if installed)
   * new Helpicon: help-circle20.png from  https://feathericons.com/
   * new package icon: package16.png from  https://feathericons.com/
   * new rebuild icon: refreshcw20.png from  https://feathericons.com/
   * new Help Icons (help-circle20) on every tab with context sensitive help
   * new Help Icons (help-circle20) on dialogs: config, property, dependency with context sensitive help
   * new detection: PortableApps.com
   * new detection: install4j
   * fix: control file: licenseRequired: False ; fixes #4828
   * fix: trim service_url before use ; fixes #4825
   * feature: inno: read uninstall directory from iss file ; fixes #4622
   * updated translation files: de / es / en
   * call online help from docs.opsi.org with context
   * fix osdanalyzewin: get_inno_info  code based installdir
   * feature: osd configuration: auto-detect path to packageBuilder; fixes: #4844
   * new: osdcreate: create control file also in 4.3 toml style
   * feature: store and use last dir from which we opend a project file
   * feature: store and use last dir from which we opend a setup file
   * feature: store and use last dir from which we opend a icon file
   * setup tabs: more space for the info link
   * fix opsi-logviewer call for linux and mac
   * new 'rebuild' button on create tab
   * new config 'control_in_toml_format' 

-- Detlef Oertel <d.oertel@uib.de>  Tue,  08 May 2023 : 15:00:00 +0200 

opsi-setup-detector (4.2.1.19-1) stable; urgency=low

   * Fix: Templates: 
     in all win setup versions fixed:
     set $targetprogram$ = "#@targetprogram1*#"

-- Detlef Oertel <d.oertel@uib.de>  Fri,  04 Aug 2023 : 15:00:00 +0200

opsi-setup-detector (4.2.1.18-1) stable; urgency=low

   * Fix: 'with user':
     osdcreate: at 'with user' we need osd-lib also at the base dir (without subdir)

-- Detlef Oertel <d.oertel@uib.de>  Mon,  17 Jul 2023 : 15:00:00 +0200

opsi-setup-detector (4.2.1.17-6) stable; urgency=low

   * Fix: Templates: 
     * osd-lib.opsiscript: fix msi deinstall with empty dislpayname; fixes #483

-- Detlef Oertel <d.oertel@uib.de>  Tue, 27 Jun 2023 : 15:00:00 +0200

opsi-setup-detector (4.2.1.17-5) stable; urgency=low

   * Fix: Templates: 
     * training: fix msi deinstall

-- Detlef Oertel <d.oertel@uib.de>  Fri,  26 May 2023 : 15:00:00 +0200

opsi-setup-detector (4.2.1.17-4) stable; urgency=low

   * Fix: Templates: 
     * default/multi: add :
        * setupmeta.opsiscript
          * fixes #4837
     * divers delinc files: add #@DelsubHandleDesktopIcon*#
        * fixes #4826
     * training: fix deinstall

-- Detlef Oertel <d.oertel@uib.de>  Wed,  24 May 2023 : 15:00:00 +0200

opsi-setup-detector (4.2.1.17-3) stable; urgency=low

   * Fix: Templates: 
     * structured/win: add :
        * HandleCustomizeProfile.opsiscript
        * HandleCustomizeProfilesSections.opsiscript
        * to handle loginscripts correct with external sections.opsiinc

-- Detlef Oertel <d.oertel@uib.de>  Mon,  08 May 2023 : 15:00:00 +0200

opsi-setup-detector (4.2.1.17-2) stable; urgency=low

   * Fix: Templates: 
     * training/win: delincmsisingle.opsiinc, setupsingle.opsiscript, uninstallsingle.opsiscript
     * default/mac: delinctempl.opsiinc

-- Detlef Oertel <d.oertel@uib.de>  Mon,  17 Apr 2023 : 15:00:00 +0200

opsi-setup-detector (4.2.1.17-1) stable; urgency=low

   * Fix: Templates: win delincmsidouble.opsiscript: fix Files_uninstall call
   * Fix writing property values to control file
       * osdcreate: createopsifiles
       * osdcreate: opsiquotestr
   * Fix writing updatescript to control file
       * osdcreate: initaktproduct

-- Detlef Oertel <d.oertel@uib.de>  Wed,  15 Mar 2023 : 15:00:00 +0200


opsi-setup-detector (4.2.1.16-1) stable; urgency=low

   * Fix: Hint Configuration service url
   * Fix: Templates: missing variable: $installerSourceDir$ in multi/declarations.opiinc 
   * Fix: Templates: delincmsi*: $DisplayNameRegex$: escape all regex relevant chars with '\' : '()'
   * Fix: opsisetupdetector.de.po: hint for configuration service_url
   * fix: Make 'MSI Name' editable because it will become the DisplayName
       * osdform FlowPanelMsiId: enabled = true
       * osdform FlowPanelMsiId1: enabled = true
       * osdform TIEditMsiName1: readonly = false
       * osdform TIEditMsiName2: readonly = false
       * osdform TIEditMsiId1: readonly = true
       * osdform TIEditMsiId1: enabled = false
       * osdform TIEditMsiId2: readonly = true
       * osdform TIEditMsiId2: enabled = false
   * Change: Property: 'Install_from_local_tmpdir' now default = True
       * osdbasedata: makeproperties : myprop.boolDefault := True;
   * Fix: preparation of dependency editor for meta products
       * osdform: BitBtnAddDepClick

-- Detlef Oertel <d.oertel@uib.de>  Fri,  10 Mar 2023 : 15:00:00 +0200

opsi-setup-detector (4.2.1.15-1) stable; urgency=low

   * New: Checkbox and configuration to switch beteen silent and unattended install mode
     * osdbasedata: TSetupFile: boolean property preferSilent
     * osdbasedata: TConfiguration: boolean property preferSilent
     * osdbasedata: hint for preferSilent
     * osdform: setup[0-2]: TICheckBoxS(x)Silent
     * osdform: eventhandler for TICheckBoxS(x)Silent: TICheckBoxS1SilentChange
     * osdform: links and hints for TICheckBoxS(x)Silent
     * osdconfigdlg:  hint for preferSilent
     * osdanalyzewin, osdanalyzelin: use property preferSilent to set (un)installcommandline
   * fix: nogui + singleAnalyzeCreate mode: use radiobutton (from configuration) to decide build mode
   * New copy existing libraries '*.opsilib' from cutom channel to clientpath
     * osdcreate: createClientFiles; // additional optional files for 'custom'

-- Detlef Oertel <d.oertel@uib.de>  Tue,  31 Jan 2023 : 15:00:00 +0200

opsi-setup-detector (4.2.1.14-1) stable; urgency=low

   * osdform: fix mysetup.uninstallProg $installdir$ handling:
     use mysetup.uninstallProg un modified for mysetup.uninstallCommandLine (secondary section)
     modify it for mysetup.uninstallCheck in order to resolve the variable (promary section)
   * functions opsiquotestr, opsiquotelist from parserhelper to osdcreate
   * osdcreate: add declarations.opsiinc and sections.opsiinc to list of infiles at channel custom
   * osdcreate: patchscript: warning if infile could not be found  

-- Detlef Oertel <d.oertel@uib.de>  Tue,  24 Jan 2023 : 15:00:00 +0200

opsi-setup-detector (4.2.1.13-1) stable; urgency=low

   * osdform: fix TResultform1.updateUninstaller: mysetup.uninstallCheck.Add('if fileexists("' +

-- Detlef Oertel <d.oertel@uib.de>  Fri,  13 Jan 2023 : 15:00:00 +0200

opsi-setup-detector (4.2.1.12-1) stable; urgency=low

   * template fixes for 'with user': avoid isFatlError while local install
   * osdcreate: add 'DefVar $LicenseError$' on property 'SecretLicense_or_Pool'
   * osdform: BtCreateProductClick: reset exitcode before (repeated) build
   * osdform: Typo Desktopicon
   * uninstallProg now holds the complete, absolut path
   * osbasedata: TSetupFile: uninstallProg, TargetProg, installDirectory should not be quoted
     use SetUninstallProg, SetTargetProg, SetInstallDirectory to write property
   * osdform: setup(1-3): hints for uninstallProg, TargetProg, installDirectory   
   * new translation files (de/en)

-- Detlef Oertel <d.oertel@uib.de>  Fri,  09 Dec 2022 : 15:00:00 +0200

opsi-setup-detector (4.2.1.11-1) stable; urgency=low

   * template fixes for 'with user': using new msi del style
   * osdcreate: createClientFiles: with user:
     support msi variant for del 

-- Detlef Oertel <d.oertel@uib.de>  Mon,  05 Dec 2022 : 15:00:00 +0200

opsi-setup-detector (4.2.1.10-1) stable; urgency=low

   * osparserhelper:
      function opsiquotestr(s1, s2: string): string;
      // returns s1 quoted with s2 (if it is quoted right now, nothing will be changed)
      // s2 may be two chars long. Then the first char is the start mark
      // and the second char is the end mark
      // used by opsiquotelist

      procedure opsiquotelist(var list1 : TStringlist; s2: string);
      // returns list1 with every element quoted with s2 (if it is quoted right now, nothing will be changed)
      // s2 may be two chars long. Then the first char is the start mark
      // and the second char is the end mark

   * osdcreate: createopsifiles: use opsiquotelist before stringListToJsonArray
     because quoting is removed from stringListToJsonArray

-- Detlef Oertel <d.oertel@uib.de>  Fri,  25 Nov 2022 : 15:00:00 +0200

opsi-setup-detector (4.2.1.9-3) stable; urgency=low

   * template fixes

-- Detlef Oertel <d.oertel@uib.de>  Tue,  11 Oct 2022 : 15:00:00 +0200   

opsi-setup-detector (4.2.1.9-2) stable; urgency=low

   * fixes wrong productId

-- Detlef Oertel <d.oertel@uib.de>  Fri,  07 Oct 2022 : 15:00:00 +0200   

opsi-setup-detector (4.2.1.9-1) stable; urgency=low

   * fixes for msi product version

-- Detlef Oertel <d.oertel@uib.de>  Wed,  05 Oct 2022 : 15:00:00 +0200   

opsi-setup-detector (4.2.1.8-1) stable; urgency=low

   * fixes for macOS
   * opsi-service version with new methods (4.2.0.311)

-- Detlef Oertel <d.oertel@uib.de>  Tue,  04 Oct 2022 : 15:00:00 +0200

opsi-setup-detector (4.2.1.7-1) stable; urgency=low

   * allow build radio buttons on service data in configuration
   * typos
   * new rsCreateWithUserProductAdvice
   * more (and better) inno constant translations to opsi constants
   * template fixes

-- Detlef Oertel <d.oertel@uib.de>  Fri,  30 Sep 2022 : 15:00:00 +0200 

opsi-setup-detector (4.2.1.6-2) stable; urgency=low

   * add mac and lin binaries

-- Detlef Oertel <d.oertel@uib.de>  Tue,  27 Sep 2022 : 15:00:00 +0200    

opsi-setup-detector (4.2.1.6-1) stable; urgency=low

   * no uninstall_before_install prop on structured channel
   * typos
   * template fixes

-- Detlef Oertel <d.oertel@uib.de>  Tue,  27 Sep 2022 : 15:00:00 +0200    

opsi-setup-detector (4.2.1.5-3) stable; urgency=low

   * fix delincmsi*.opsiinc templates: build regex in own variable (as Parameter needs >= 4.12.5)
   
-- Detlef Oertel <d.oertel@uib.de>  Thu,  23 Sep 2022 : 15:00:00 +0200

opsi-setup-detector (4.2.1.5-2) stable; urgency=low

   * add mac and lin binaries
   
-- Detlef Oertel <d.oertel@uib.de>  Thu,  22 Sep 2022 : 15:00:00 +0200

opsi-setup-detector (4.2.1.5-1) stable; urgency=low

   * do not set build mode on nogui

-- Detlef Oertel <d.oertel@uib.de>  Wed,  21 Sep 2022 : 15:00:00 +0200

   opsi-setup-detector (4.2.1.4-1) stable; urgency=low

   * fix desktopicon creation -> postinstalllist
   * add target program to setup-files (prop targetprog)
   * add target program to setup tabs
   * add  #@targetprogram[123]*# to patch list
   * add stringvar $targetprogram$ to #@stringvars*#
   * add  $targetprogram$  to templates
   * update uninstall program relevant data after choosing the uninstall program

-- Detlef Oertel <d.oertel@uib.de>  Mon,  19 Sep 2022 : 15:00:00 +0200  

opsi-setup-detector (4.2.1.3-2) stable; urgency=low

   * fix in 'withuser' template
   
-- Detlef Oertel <d.oertel@uib.de>  Fri,  16 Sep 2022 : 15:00:00 +0200

opsi-setup-detector (4.2.1.3-2) stable; urgency=low

   * add mac and lin binaries
   
-- Detlef Oertel <d.oertel@uib.de>  Thu,  15 Sep 2022 : 15:00:00 +0200

opsi-setup-detector (4.2.1.3-1) stable; urgency=low

   * exitcode <> 0 (1) on failed
   * fix double creation
   * integrate servicecall  workbench_buildPackage(package_dir)
     and workbench_installPackage(package_file_or_dir) if opsiservice is >=  4.2.0.287
   * fixes property edit

-- Detlef Oertel <d.oertel@uib.de>  Mon,  12 Sep 2022 : 15:00:00 +0200

opsi-setup-detector (4.2.1.2-2) stable; urgency=low

   * fix in templates (opiiinc)

-- Detlef Oertel <d.oertel@uib.de>  Fri,  09 Sep 2022 : 15:00:00 +0200 

opsi-setup-detector (4.2.1.2-1) stable; urgency=low

   * fix on cli call for opsi-setup-detector-test
   * fixes in  callOpsiPackageBuilder
   * more HighDPI fixes
   * analyzeOnly activated again
   * create on --nogui 'c:\opsi.org\applog\osd-analyze-result.txt'

-- Detlef Oertel <d.oertel@uib.de>  Tue,  06 Sep 2022 : 15:00:00 +0200 

opsi-setup-detector (4.2.1.0-1) stable; urgency=low

   * template channels (training,default,structured,custom)
   * new task: with-loggedin-user (AnalyzeCreateWithUser)
   * osdbasedata: fixed stMSI link
   * no msi log on uninstall
   * osdform: 'macOS' instead of 'MacOS', fixes  #4732
   * osdform: startOpsiServiceConnection: dependency:productid Auswahl: netbootprodukte rausnehmen , fixes  #4730
   * oswebservice: add: TOpsi4Data.getLocalbootProductIds: TStringList;
   * oswebservice: add: TOpsi4Data.getNetbootProductIds: TStringList;
   * osdform: fixes for HighDPI: TitlePanels
   * singleAnalyzeCreate is now default / analyzeOnly removed ; fixes #4729
   * IncludeTrailingPathDelimiter for worbench_path ; fixes #4262  #4236
   * use of uncpath is allowed for workbench, installer and icon ; fixes
   * new option: custom directory support (at_work)
   * new option: Install from Local temp dir (at_work)
   * new option: Handle License key (at_work)
   * new option: Desktopicon (at_work)
   * new option: customizeProfile (at_work)
   * use declarations.opsiinc in default and structured (at_work)
   * hints for the new options
   * choose directory buttons for the installdirs
   * delinc for msi: use new function getGuidListByDisplaynameRegex from osd-lib (instead of wmi)

-- Detlef Oertel <d.oertel@uib.de>  Tue,  19 Apr 2022 : 15:00:00 +0200

opsi-setup-detector (4.2.0.10-2) stable; urgency=low

   * fix wrong case in setup script(linux webdav)

-- Detlef Oertel <d.oertel@uib.de>  Tue,  29 Mar 2022 : 15:00:00 +0200 

opsi-setup-detector (4.2.0.10-1) stable; urgency=low

   * update innounp.exe to 0.50
   * meta-product dependency: allow required action
   * win setup / uninstall templ: no importlib "uib_lin_install.opsiscript"
   * win 32+64: #@MinimumSpace3*# is the sum of both minimum spaces

-- Detlef Oertel <d.oertel@uib.de>  Fri,  25 Mar 2022 : 15:00:00 +0200 

opsi-setup-detector (4.2.0.9-1) stable; urgency=low

   * Modified templates
   * Optional connection to opsi web service
   * Possibility to choose dependency products via dropdown from opsi web service
   * Store connection data to service in configuration (pass encrypted)
   * Include the install/uinstall log fileles from installer to the opsi-script log
     on failed installations ; references: #4700
     Marker #@installErrorHandlingLines*# in templates
     installErrorHandlingLines.Add('includelog "%opsiLogDir%\"+$ProductId$+".install_log.txt" "50" "utf16le"');
   * fix edit productId field with arrow and backspace, fixes: #4698
   * fix edit propertyId always lowercase, fixes: #4699
   * checked is fixed: msi-Id with leading spaces, fixes: #4664
   * if no installer is detected new dialog to select well known installer type manually; fixes: #4701
   * new main task create meta product (contains dependencies, install nothing)
   * remove libraries: uib_macosinstalllib, uib_lin_install, uib_exitcode
   * requiredOpsiscriptVersion >= "4.12.4.23"
   
   * added ssl libraries for all plattforms
   * Linux: moved to /opt/opsi-setup-detector

-- Detlef Oertel <d.oertel@uib.de>  Fri,  25 Feb 2022 : 15:00:00 +0200  

opsi-setup-detector (4.2.0.8-2) stable; urgency=low

   * macos binary

-- Detlef Oertel <d.oertel@uib.de>  Wed,  06 Oct 2021 : 15:00:00 +0200

opsi-setup-detector (4.2.0.8-1) stable; urgency=low

   * DPI awareness (True/PM_V2)
   * write productId (...) to setup / uninstall of template
   * use boolean default on writing GetProductProperty line
   * modify TPProperty structure in order to read / write osd file
     (just avoid TStrings and replace it by string that holds the list as delimited string)
   * osdcreate: createProductdirectory: add spaces to TTaskDialog title
   * modified templates

-- Detlef Oertel <d.oertel@uib.de>  Wed,  15 Sep 2021 : 15:00:00 +0200

opsi-setup-detector (4.2.0.7-2) stable; urgency=low

   * update of uib_macosinstalllib.opsiscript

-- Detlef Oertel <d.oertel@uib.de>  Thu,  22 July 2021 : 15:00:00 +0200

opsi-setup-detector (4.2.0.7) stable; urgency=low

   * more french translation
   * spanish translation
   * fixes ind displaying properties

-- Detlef Oertel <d.oertel@uib.de>  Tue,  06 July 2021 : 15:00:00 +0200

opsi-setup-detector (4.2.0.6) stable; urgency=low

   * start at windows without console: osdform: main2: // initate console while windows gui
   * enhanced macos install library
   
-- Detlef Oertel <d.oertel@uib.de>  Fri,  18 June 2021 : 15:00:00 +0200

opsi-setup-detector (4.2.0.5-2) stable; urgency=low

   * update: uib_macosinstalllib.opsiscript

-- Detlef Oertel <d.oertel@uib.de>  Fri,  11 June 2021 : 15:00:00 +0200    

opsi-setup-detector (4.2.0.5) stable; urgency=low

   * oscreate: modified create task dialog (again)

-- Detlef Oertel <d.oertel@uib.de>  Mon,  07 June 2021 : 15:00:00 +0200    

opsi-setup-detector (4.2.0.4) stable; urgency=low

   * new (common) unit osfilehelper
 * oslog: function makbakfile with two parameters (name,maxbak number) is moved as makbakfiles
   to osfilehelper
 * oscreate using makbakfiles to backup old files

-- Detlef Oertel <d.oertel@uib.de>  Fri,  04 June 2021 : 15:00:00 +0200   

opsi-setup-detector (4.2.0.3-1) stable; urgency=low

  * osdanalyzewin: use msiinfo at linux: trim all found values to avoid leading blanks at msiid
  * osdcreate: fix DefVar $install_architecture$
  * win: setupdouble replace $mode$ by  $install_architecture$
  * define_vars_multi.opsiscript : sort variables

-- Detlef Oertel <d.oertel@uib.de>  Fri,  21 May 2021 : 15:00:00 +0200  

opsi-setup-detector (4.2.0.2-2) stable; urgency=low

  * changed dependency from opsipackagebuilder to opsipackagebuilder_wlm

-- Detlef Oertel <d.oertel@uib.de>  Fri,  14 May 2021 : 15:00:00 +0200

opsi-setup-detector (4.2.0.2-1) stable; urgency=low

  * fix in template-files/win/setuptempl.opsiscript (%opsilogdir%)
  * fixes var declaration for properties in define_vars_multi.opsiscript
  * osdbasedata: function cleanOpsiId(opsiId : string) : string; // clean up productId
  * cleanup productId in TabProductConf1 ; fixes #4654
  * cleanup productId in Dependecy dialog  and some others
  * osdbasedata: replace $LogDir$ by %opsilogdir%    
  * updated translations

-- Detlef Oertel <d.oertel@uib.de>  Fri,  14 May 2021 : 15:00:00 +0200

opsi-setup-detector (4.2.0.1-2) stable; urgency=low

  * fix mac: uib_macosinstalllib: for *.app: mv *.app to /Applications 
     (and not /Applications/myapp.app)
  * fix missing #@stringVars*# in define_vars_multi.opsiscript
  * fix in template-files/multi/win_setuptempl.opsiscript (%opsilogdir%)

-- Detlef Oertel <d.oertel@uib.de>  Tue,  11 May 2021 : 15:00:00 +0200

opsi-setup-detector (4.2.0.1-1) stable; urgency=low

  * fixes for deskop icon

-- Detlef Oertel <d.oertel@uib.de>  Tue,  13 Apr 2021 : 15:00:00 +0200   

opsi-setup-detector (4.2.0.0) stable; urgency=low

  * modified templates
  * copy define_vars_multi.opsiscript from generic template path 

-- Detlef Oertel <d.oertel@uib.de>  Tue,  30 Mar 2021 : 15:00:00 +0200

opsi-setup-detector (4.1.0.21) stable; urgency=low

  * modified templates

-- Detlef Oertel <d.oertel@uib.de>  Mon,  29 Mar 2021 : 15:00:00 +0200    

opsi-setup-detector (4.1.0.20) stable; urgency=low

  * div fixes

-- Detlef Oertel <d.oertel@uib.de>  Wed,  10 Mar 2021 : 15:00:00 +0200    

opsi-setup-detector (4.1.0.19) stable; urgency=low

  * macos: no directory dialog
  * macos: warn two step file selection
  * propedit: properties are lowercase

-- Detlef Oertel <d.oertel@uib.de>  Tue,  09 Mar 2021 : 15:00:00 +0200   

opsi-setup-detector (4.1.0.18) stable; urgency=low

  * integration of Linux, Mac, Multi
  * write and read project file
  * new menue entries at File for write and read project file
  * updated opsi-script lib for macos install
  * add macos template
  * based on template by opsi-setup-detector - Version: 4.1.0.18

-- Detlef Oertel <d.oertel@uib.de>  Son,  3 Jan 2021 : 15:00:00 +0200

opsi-setup-detector (4.1.0.17) stable; urgency=low

  * fix on double setup
  * fix fot translation of osdcheckentriesdlg

-- Detlef Oertel <d.oertel@uib.de>  Tue,  10 Nov 2020 : 15:00:00 +0200  

opsi-setup-detector (4.1.0.16) stable; urgency=low

  * icon selection integrated (by a.schmitz)
  * translations updated
  * Unix: fix rights in utils dir
  * set inital path to icon dir
  * fix write config_version
  * set config_version to 4.1.0
  * fixes on icon collection diplsy while loading 

-- Detlef Oertel <d.oertel@uib.de>  Fri,  19 Jun 2020 : 15:00:00 +0200    

opsi-setup-detector (4.1.0.15) experimental; urgency=low

  * osdform/osdcreate: setup files: tow setup files (e.g. 32bit/64bit) now stored in tow different directories (files1, files2),
                       single file is stored in file1
  * adaptations on opsiscript templates according to changes of setup file paths (32bit/64bit setup files)
  * osdform/osdcreate: MST file: One MST file can now be selected for an MSI setup file
  * osdanalyse: procedure get_aktProduct_general_info: not trying to read resourcefile anymore if MSI file is detected.

-- Jan Werner <j.werner@uib.de>  Wed,  29 Jan 2020 : 10:20:00 +0200   

opsi-setup-detector (4.1.0.14) stable; urgency=low

  * osdbasedata: handle path to config with umlaut
  * osdhelper: registerForWinExplorer : changed behavior if not admin  fixes #4009

-- Detlef Oertel <d.oertel@uib.de>  Tue,  15 Oct 2019 : 15:00:00 +0200

opsi-setup-detector (4.1.0.13) stable; urgency=low

  * osdform: change event (genRttiEditChange) for more edit fields
  * osdbasedata: better template for unknown installer

-- Detlef Oertel <d.oertel@uib.de>  Mo,  14 Oct 2019 : 15:00:00 +0200   

opsi-setup-detector (4.1.0.12) stable; urgency=low

  * osdform: build mode: switch from check boxes to radio buttons to avoid unusable combinations
  * osdbasedata: set Inno in prioriry to top. fixes: #4097

-- Detlef Oertel <d.oertel@uib.de>  Mo,  02 Sep 2019 : 15:00:00 +0200 

opsi-setup-detector (4.1.0.11) stable; urgency=low

  * add 'Self-extracting installation program':
    Vendor is unknown right now.

    Usage:
    SETUP.EXE [/a] [/b1:"commands"] [/b2:"commands"] [/b3:"commands"] [/d:"dir"] [/n:"name"] [/u:"name"] [/r:"program"]

    /a                  	Automatic mode.
    /d:"dir"        	Override installation directory.
    /b1:"commands"	Add commands to the end of the Pre-Installation Batch.
    /b2:"commands"	Add commands to the end of the Post-Installation Batch.
    /b3:"commands"	Add commands to the end of the Installation-Exit Batch.
    /n:"name"	Override product name.
    /u:"name"	Uninstall product by name.
    /r:"program"	Run the specified program after a successful installation.

  * more markers for nsis

-- Detlef Oertel <d.oertel@uib.de>  Mon,  15 Jul 2019 : 15:00:00 +0200      

opsi-setup-detector (4.1.0.10) stable; urgency=low

  * osdanalyze: getProductInfoFromResource: fix if there is no version info

-- Detlef Oertel <d.oertel@uib.de>  Tue,  18 Jun 2019 : 15:00:00 +0200

opsi-setup-detector (4.1.0.9) stable; urgency=low

  * osdanalyze: get_inno_info: remove existing iss file before running innounp
  * osdanalyze: get_inno_info: fix change values only based on existing iss file
  * update innounp to 0.49
  * new unit verinfo: used in osdanalyze: getProductInfoFromResource: if lazarus fileinfo fails
  * own Version to log

-- Detlef Oertel <d.oertel@uib.de>  Tue,  14 May 2019 : 15:00:00 +0200   

opsi-setup-detector (4.1.0.8-2) stable; urgency=low

  * modified delsub templates

-- Detlef Oertel <d.oertel@uib.de>  Wed,  05 Jun 2019 : 15:00:00 +0200  

opsi-setup-detector (4.1.0.8-1) stable; urgency=low

  * fix for detecting InstallshieldMSI
  * added Bitrock Installer
  * fixed msi analyze for installshieldMSI, AdvancedMSI, Wixbundle
  * fixed templates
  * fixed dark.exe call (now all dependencies on board)
  * a lot of code clean up

-- Detlef Oertel <d.oertel@uib.de>  Tue,  14 May 2019 : 15:00:00 +0200  

opsi-setup-detector (4.1.0.7) stable; urgency=low

  * added stWixToolset
  * added stBoxStub
  * added stSFXcab
  * configuration added: UsePropDesktopicon
  * configuration added: UsePropLicenseOrPool
  * osdcreate: createOpsiFiles: write properties on configuration
  * osdcreate: fillPatchList: write #@stringVars*# and #@GetProductProperty*# on configuration
  * osdbasedate: some experiments TProperties in configuration

-- Detlef Oertel <d.oertel@uib.de>  Fri,  01 Mar 2019 : 15:00:00 +0200  

opsi-setup-detector (4.1.0.6) stable; urgency=low

  * added english translation file (is needed for language switch)
  * added Language menu for language switch
  * fixed handling of --lang param
  * create: control file without changelog
  * create: changelog in changelog.txt

-- Detlef Oertel <d.oertel@uib.de>  Tue,  26 Feb 2019 : 15:00:00 +0200     

opsi-setup-detector (4.1.0.5) stable; urgency=low

  * refix of configuration translation (git killed them all)

-- Detlef Oertel <d.oertel@uib.de>  Fri,  25 Jan 2019 : 15:00:00 +0200

opsi-setup-detector (4.1.0.4) stable; urgency=low

  * add InstallAware
  * generic MS Installer

-- Detlef Oertel <d.oertel@uib.de>  Tue,  22 Jan 2019 : 15:00:00 +0200

opsi-setup-detector (4.1.0.3) stable; urgency=low

  * fix in osd-lib.opsiscript
  * osdform: main2:useRunMode := singleAnalyzeCreate on call with param filename
  * osdform: typo
  * osdanalyze:get_msi_info: msiinfo export <msi file> property
  * install msitools at linux

-- Detlef Oertel <d.oertel@uib.de>  Tue,  08 Jan 2019 : 15:00:00 +0200


opsi-setup-detector (4.1.0.2-2) stable; urgency=low

  * fix in osd-lib.opsiscript

-- Detlef Oertel <d.oertel@uib.de>  Tue,  08 Jan 2019 : 15:00:00 +0200

opsi-setup-detector (4.1.0.2) stable; urgency=low

  * remove PathToOpsiPackageBuilder from the needed configurations
  * osdform: more resourcestrings
  * osddlgnewproperty: more resourcestrings
  * changes at template files
  * templ: no architecture check at delsub
  * code cleanup

-- Detlef Oertel <d.oertel@uib.de>  Wed,  19 Dec 2018 : 15:00:00 +0200

opsi-setup-detector-experimental (4.1.0.1-1) stable; urgency=low

  * some fixes in setup script
  * more logging in binary

-- Detlef Oertel <d.oertel@uib.de>  Thu,  8 Nov 2018 : 15:00:00 +0200

opsi-setup-detector-experimental (4.1.0.0-1) stable; urgency=low

  * complete new implementation

-- Detlef Oertel <d.oertel@uib.de>  Tue,  30 Oct 2018 : 15:00:00 +0200
