Add new template and add modified verison with Old-Msi Old-Installer support

This commit is contained in:
Mario Fetka
2019-09-19 17:23:23 +02:00
parent ce4a1c3507
commit 4f2b64d8c7
46 changed files with 3232 additions and 184 deletions

View File

@@ -0,0 +1,114 @@
[Changelog]
opsi-template-with-admin (4.1.0.0-2) stable; urgency=low
* fixed shell shebang in preinst and postisnt
* changelog now in changelog.txt
-- detlef oertel <d.oertel@uib.de> Tue, 30 Apr 2019 15:00:00 +0000
opsi-template-with-admin (4.1.0.0-1) stable; urgency=low
* allows to temporary disable UAC
* use: asconfidential
* use: GetRegistryValue
* requires opsi-script 4.12.0.16
-- detlef oertel <d.oertel@uib.de> Thu, 03 Jan 2019 15:00:00 +0000
opsi-template-with-admin (4.0.6-1) stable; urgency=low
* extended rebootflag ; fixes #1652
* changed *.ins to *.opsiscript
* ScriptErrorMessages=off
-- detlef oertel <d.oertel@uib.de> Wed, 02 Sep 2015 15:00:00 +0200
opsi-template-with-admin (4.0.5-1) stable; urgency=low
*
-- detlef oertel <d.oertel@uib.de> Fri, 24 Oct 2014 15:01:53 +0200
opsi-template-with-admin (4.0.3-1) stable; urgency=low
* removing psgetsid from postinst and preinst
-- detlef oertel <d.oertel@uib.de> Fri, 12 Apr 2012 15:01:53 +0200
opsi-template-with-admin (4.0.2-2) stable; urgency=low
* requires opsi-winst >= 4.11.3.3
* uses /productid switch at opsi-winst call
* code cleanup (use of synative instead of 64bit)
* property debug: switches loglevel and lock keyboard
* code cleanup
-- detlef oertel <d.oertel@uib.de> Thu, 19 Sep 2012 15:01:53 +0200
opsi-template-with-admin (4.0.2-1) stable; urgency=low
* requires opsi-winst >= 4.11.3
* using SidToName instead of psgetsid.exe
* priority set to -20
* first reboot is commented (;ExitWindows /ImmediateReboot). Uncomment it if you have problems with the autologon
-- detlef oertel <d.oertel@uib.de> Wed, 04 Jul 2012 15:01:53 +0200
opsi-template-with-admin (1.0-8) stable; urgency=low
* localdomain = "%PCNAME%"
-- Jan Schneider <j.schneider@uib.de> Wed, 4 May 2011 14:09:00 +0100
opsi-template-with-admin (1.0-7) stable; urgency=low
* localdomain = "." for nt6
-- Jan Schneider <j.schneider@uib.de> Tue, 29 Mar 2011 17:56:00 +0100
opsi-template-with-admin (1.0-6) stable; urgency=low
* postinst fix: /bin/bash
* preinst fix: no more case sensitiv for pcgetsid.exe
-- detlef oertel <d.oertel@uib.de> Tue, 30 Dec 2010 15:01:53 +0200
opsi-template-with-admin (1.0-5) testing; urgency=low
* added support for opsi 4.0 opsi-client-agent
* scripts renamed to setup.ins, local_setup.ins and uninstall.ins
-- detlef oertel <d.oertel@uib.de> Tue, 13 Jun 2010 15:01:53 +0200
opsi-template-with-admin (1.0-4) testing; urgency=low
* new (64 bit) functions of winst 4.10.3 used
-- detlef oertel <d.oertel@uib.de> Fri, 16 Apr 2010 15:01:53 +0200
opsi-template-with-admin (1.0-3) testing; urgency=low
* in [sub_fetch_SearchResult] changed ("$s$") to ('$s$')
-- detlef oertel <d.oertel@uib.de> Tue, 26 Jan 2010 15:01:53 +0200
opsi-template-with-admin (1.0-2) stable; urgency=low
* added support for 64 Bit
* code cleanup
* added psgetsid for international support
-- detlef oertel <d.oertel@uib.de> Mon, 14 Dec 2009 15:01:53 +0200
opsi-template-with-admin (1.0-1) stable; urgency=low
* initial package based on http://www.opsi.org/opsi_wiki/TemplateForInstallationsAsTemporaryLocalAdmin
-- detlef oertel <d.oertel@uib.de> Mon, 13 Nov 2009 15:01:53 +0200

View File

@@ -0,0 +1,34 @@
[Package]
version: 2
depends:
[Product]
type: localboot
id: opsi-template-with-admin
name: opsi template for installs with logged in admin
description: A opsi demo package
advice:
version: 4.1.0.0
priority: -20
licenseRequired: False
productClasses:
setupScript: setup.opsiscript
uninstallScript: localsetup\uninstall.opsiscript
updateScript:
alwaysScript:
onceScript:
customScript:
userLoginScript:
[ProductProperty]
type: bool
name: debug
description: should be false for production: switch off keyboard lock and increase loglevel
default: False
[ProductProperty]
type: bool
name: test-set-fatal
description: test only: if true script result is set to fatal
default: False

View File

@@ -0,0 +1,9 @@
#!/bin/bash
#
# This script executes after unpacking files from that archive and registering the product at the server.
#
# The following environment variables can be used to obtain information about the current installation:
# PRODUCT_ID: id of the current product
# CLIENT_DATA_DIR: directory which contains the installed client data
#

View File

@@ -0,0 +1,10 @@
#!/bin/bash
#
# preinst script for softprod
# This script executes before that package will be unpacked from its archive file.
#
# The following environment variables can be used to obtain information about the current installation:
# PRODUCT_ID: id of the current product
# CLIENT_DATA_DIR: directory where client data will be installed
#