Seite 1 von 1

New opsi-winst in experimental

Verfasst: 29 Mai 2015, 14:02
von d.oertel
Dear opsi users,

Normally we do not comment any publication in the experimental branch.
In this case we want to introduce to you the new features of the opsi-winst/opsi-script 4.11.5.2
before every thing is fixed and can't be changed any more.
This would be the case if we publish it as testing.

The 4.11.5.x opsi-script version will be the stable version for opsi v4.0.6.
But you may use it at opsi v405 as well.

Here is a short overview:

– Files commands for hardlinks, symbolic links, rename and move in Files sections
– For-To Loop
– Switch / Case Statement
– New Stringlist function: removeFromListByContaining
– New Stringlist function: LoadTextFileWithEncoding( <file name> , <encoding>)
– New String function unquote2(<string>,<quote-string>)
– New String function GetShortWinPathName(<longpath string>)
– New String function GetConfidentialProductProperty ( <PropertyName>, <DefaultValue>)
– New boolean function CompareDotSeparatedNumbers(<str1>, <relationstr>, <str2>)
– New boolean function CompareDotSeparatedStrings(<str1>, <relationstr>, <str2>)
– New statement UpdateEnvironment. The call of UpdateEnvironment forces Windows to reload the environment
variables from the registry (NT6 only).
– Files command del: ATTENTION changed behavior: Similar like it is implemented for the copy command:
If a system file is in use, then it can be deleted only after a reboot. The opsi-winst/opsi-script default behavior is
therefore that a file in use will be marked for delete after the next reboot, AND the opsi-winst/opsi-script reboot
flag is set. Setting the copy option -c turns the automatic reboot off. Instead normal processing continues, the
deleting will be completed only when a reboot is otherwise triggered.

A more detailed description of the new features you will find in the chapter 'opsi-script / opsi-winst 4.11.5.2'
of the opsi-v406-releasenotes draft:
http://download.uib.de/opsi4.0/experime ... tes-en.pdf

All the packages and manuals you will find in the directory:
http://download.uib.de/opsi4.0/experime ... si-script/

- opsi-winst
- opsi-winst-test (Examples)
- jedit (Syntax highlighting)
- opsi-winst-manual-en.pdf
- opsi-winst-referencecard-en.pdf
- opsi-v406-releasenotes-en.pdf

From the 4.6. to 19.6. I will be out of office - so do not care if my answers to your questions and comments come after this.

cheers
d.oertel