switched to GPO-based setup

This commit is contained in:
Ludwig Lehnert
2026-06-29 10:52:57 +00:00
parent 97a18f8777
commit fe4733d903
4 changed files with 433 additions and 71 deletions

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<policyDefinitions revision="1.0" schemaVersion="1.0">
<policyNamespaces>
<target prefix="stlSoftwarekatalog" namespace="STL.Policies.Softwarekatalog" />
<using prefix="windows" namespace="Microsoft.Policies.Windows" />
</policyNamespaces>
<resources minRequiredRevision="1.0" />
<categories>
<category name="Softwarekatalog" displayName="$(string.Softwarekatalog)" />
</categories>
<policies>
<policy name="Softwarekatalog_Settings" class="Machine" displayName="$(string.Softwarekatalog_Settings)" explainText="$(string.Softwarekatalog_Settings_Help)" key="Software\Policies\STL\Softwarekatalog" valueName="Enabled" presentation="$(presentation.Softwarekatalog_Settings)">
<parentCategory ref="Softwarekatalog" />
<supportedOn ref="windows:SUPPORTED_Windows7" />
<enabledValue>
<decimal value="1" />
</enabledValue>
<disabledValue>
<decimal value="0" />
</disabledValue>
<elements>
<boolean id="AllowUserInstalls" valueName="AllowUserInstalls">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
<boolean id="AllowUserUninstall" valueName="AllowUserUninstall">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
<boolean id="EnforceRequired" valueName="EnforceRequired">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
<list id="Catalog" key="Software\Policies\STL\Softwarekatalog\Catalog" valuePrefix="Catalog" additive="false" explicitValue="true" />
<list id="Required" key="Software\Policies\STL\Softwarekatalog\Required" valuePrefix="Required" additive="false" explicitValue="true" />
</elements>
</policy>
</policies>
</policyDefinitions>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<policyDefinitionResources revision="1.0" schemaVersion="1.0">
<displayName>Softwarekatalog</displayName>
<description>Richtlinien fuer den Softwarekatalog.</description>
<resources>
<stringTable>
<string id="Softwarekatalog">Softwarekatalog</string>
<string id="Softwarekatalog_Settings">Softwarekatalog konfigurieren</string>
<string id="Softwarekatalog_Settings_Help">Aktiviert und konfiguriert den Softwarekatalog. Katalog-Eintraege werden unter HKLM\Software\Policies\STL\Softwarekatalog\Catalog gespeichert. Der Wertname ist der Alias, der Wert hat das Format PackageId|DisplayName|Description. Pflichtsoftware wird unter HKLM\Software\Policies\STL\Softwarekatalog\Required gespeichert. Der Wertname ist der Alias, der Wert ist 1. Der Client liest maximal 500 Eintraege pro Liste.</string>
</stringTable>
<presentationTable>
<presentation id="Softwarekatalog_Settings">
<checkBox refId="AllowUserInstalls">Benutzer duerfen Software installieren</checkBox>
<checkBox refId="AllowUserUninstall">Benutzer duerfen Software deinstallieren</checkBox>
<checkBox refId="EnforceRequired">Pflichtsoftware automatisch installieren</checkBox>
<listBox refId="Catalog">Freigegebene Software. Name = Alias, Wert = PackageId|DisplayName|Description.</listBox>
<listBox refId="Required">Pflichtsoftware. Name = Alias aus Katalog, Wert = 1.</listBox>
</presentation>
</presentationTable>
</resources>
</policyDefinitionResources>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<policyDefinitionResources revision="1.0" schemaVersion="1.0">
<displayName>Software Catalog</displayName>
<description>Policies for Software Catalog.</description>
<resources>
<stringTable>
<string id="Softwarekatalog">Software Catalog</string>
<string id="Softwarekatalog_Settings">Configure Software Catalog</string>
<string id="Softwarekatalog_Settings_Help">Enables and configures Software Catalog. Catalog entries are stored below HKLM\Software\Policies\STL\Softwarekatalog\Catalog. Value name is alias, value format is PackageId|DisplayName|Description. Required software is stored below HKLM\Software\Policies\STL\Softwarekatalog\Required. Value name is alias, value is 1. Client reads up to 500 entries per list.</string>
</stringTable>
<presentationTable>
<presentation id="Softwarekatalog_Settings">
<checkBox refId="AllowUserInstalls">Allow users to install software</checkBox>
<checkBox refId="AllowUserUninstall">Allow users to uninstall software</checkBox>
<checkBox refId="EnforceRequired">Automatically install required software</checkBox>
<listBox refId="Catalog">Allowed software. Name = alias, value = PackageId|DisplayName|Description.</listBox>
<listBox refId="Required">Required software. Name = catalog alias, value = 1.</listBox>
</presentation>
</presentationTable>
</resources>
</policyDefinitionResources>