From 603d7d60d355aa5b2d084192e87f43c0851e9451 Mon Sep 17 00:00:00 2001 From: Dominik Daehn Date: Thu, 13 Jun 2019 06:48:03 +0200 Subject: [PATCH] add ProductProperty desktoplink, defaultassociations, custom-post-install, custom-post-uninstall to control-File --- CLIENT_DATA/setup3264.ins | 8 ++++---- OPSI/control | 30 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/CLIENT_DATA/setup3264.ins b/CLIENT_DATA/setup3264.ins index fb93805..299cfa0 100644 --- a/CLIENT_DATA/setup3264.ins +++ b/CLIENT_DATA/setup3264.ins @@ -86,8 +86,8 @@ else ; Sub_check_exitcode comment "Copy files" Files_install_32 /32Bit -; Files_install_config /AllNtUserProfiles -; DosInAnIcon_set_config + Files_install_config /AllNtUserProfiles + DosInAnIcon_set_config Set $InstallDir$ = $InstallDir32$ Set $ProgExe$ = $Prog32$ Set $Property_defaultassociations$ = GetProductProperty("defaultassociations","true") @@ -113,8 +113,8 @@ else ; Sub_check_exitcode comment "Copy files" Files_install_64 /64Bit -; Files_install_config /AllNTUserProfiles -; DosInAnIcon_set_config + Files_install_config /AllNTUserProfiles + DosInAnIcon_set_config Set $InstallDir$ = $InstallDir64$ Set $ProgExe$ = $Prog64$ Set $Property_defaultassociations$ = GetProductProperty("defaultassociations","true") diff --git a/OPSI/control b/OPSI/control index d3f60e3..9066a32 100644 --- a/OPSI/control +++ b/OPSI/control @@ -30,6 +30,36 @@ description: which architecture (32/64 bit) has to be installed values: ["32 only", "64 only", "both", "system specific"] default: ["system specific"] +[ProductProperty] +type: bool +name: desktoplink +description: Show Desktop Link on/off +default: False + +[ProductProperty] +type: bool +name: defaultassociations +description: Set defaultassociations true/false (BMP-bmp DDS-dds GIF-gif JPG-jpg JPE-jpe JPEG-jpeg PCX-pcx PNG-png PSD-psd 8PSD-8psd TGA-tga TIF-tif TIFF-tiff DCX-dcx EMF-emf EXR-exr FLC-flc FLI-fli ICO-ico JBG-jbg JBIG-jbig JP2-jp2 JPC-jpc J2K-j2k MNG-mng BPM-bpm PCD-pcd RGB-rgb WBMP-wbmp WBM-wbm WEBP-webp WMF-wmf WPG-wpg XBM-xbm XCF-xcf XPM-xpm) +default: True + +[ProductProperty] +type: unicode +name: custom-post-install +multivalue: False +editable: True +description: Define filename for include script in custom directory after installation +values: ["none"] +default: ["none"] + +[ProductProperty] +type: unicode +name: custom-post-uninstall +multivalue: False +editable: True +description: Define filename for include script in custom directory after uninstallation +values: ["none"] +default: ["none"] + [ProductDependency] action: setup requiredProduct: sereby.aio