<?xml version="1.0" encoding="utf-8"?>
<policyDefinitionResources revision="1.1" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">

  <displayName>WinAppack</displayName>
  <description>WinAppack administrative template</description>

  <resources>
    <stringTable>
      <!-- supportedOn -->
      <string id="SUPPORTED_Win10_And_Later">Windows 10 and later</string>

      <!-- Categories -->
      <string id="Cat_WinAppack">WinAppack v1.1</string>
      <string id="Cat_Softwares">Softwares</string>


      <!-- PolicyMode -->
      <string id="PolicyMode_Name">PolicyMode</string>
      <string id="PolicyMode_Explain">
This policy enables or disables management of the WinAppack Agent via GPO. When disabled, all other policies have no effect.

0 = Disable management via CSP/GPO
1 = Enable management via CSP/GPO
      </string>

      <!-- LicenseKey -->
      <string id="LicenseKey_Name">LicenseKey</string>
      <string id="LicenseKey_Explain">
Use this policy to activate the WinAppack Agent. Without a license key, all other policies have no effect.
Set the Company LicenseKey.
        </string>

      <!-- DesktopShortcut -->
      <string id="DesktopShortcut_Name">DesktopShortcut</string>
      <string id="DesktopShortcut_Explain">
Manage the "WinAppack.lnk" shortcut on the public desktop.

0 = Remove WinAppack.lnk from Public Desktop
1 = Add WinAppack.lnk to Public Desktop
      </string>

      <!-- StartMenuShortcut -->
      <string id="StartMenuShortcut_Name">StartMenuShortcut</string>
      <string id="StartMenuShortcut_Explain">
Manage the "WinAppack.lnk" shortcut in the Start Menu.

0 = Remove WinAppack.lnk from Start Menu
1 = Add WinAppack.lnk to Start Menu
      </string>

      <!-- ManifestUrl -->
      <string id="ManifestUrl_Name">ManifestUrl</string>
      <string id="ManifestUrl_Explain">
Set the URL of the JSON manifest containing the list of available software.

Default (if not configured): https://api.winappack.fr/v1/WinAppack-SoftwareList.json
        </string>

      <!-- DownloadBaseUrl -->
      <string id="DownloadBaseUrl_Name">DownloadBaseUrl</string>
      <string id="DownloadBaseUrl_Explain">
Base URL hosting logos (.svg/.png) and PowerShell scripts (.ps1).

Accepted: http://* and https://*
Default (if not configured): https://api.winappack.fr
      </string>

      <!-- RefreshDelayMinutes -->
      <string id="RefreshDelayMinutes_Name">RefreshDelayMinutes</string>
      <string id="RefreshDelayMinutes_Explain">
Time interval between update checks.

Min: 10
Max: 1440
Default (if not configured): 60
      </string>

      <!-- CloseAppMessage -->
      <string id="CloseAppMessage_Name">CloseAppMessage</string>
      <string id="CloseAppMessage_Explain">
0 = Disable the message asking the user to close the application before installation
1 = Enable the message asking the user to close the application before installation
      </string>

      <!-- DefaultDeployment -->
      <string id="DefaultDeployment_Name">DefaultDeployment</string>
      <string id="DefaultDeployment_Explain">
Manage the default behavior in the user interface for software that does not have a deployment policy :
- Available
- NotAvailable

Default (if not configured): Available
      </string>
      <string id="DefaultDeploymentDropbox_Available">Available</string>
      <string id="DefaultDeploymentDropbox_NotAvailable">NotAvailable</string>





      <!-- DeploymentAvailable -->
      <string id="DeploymentAvailable_Name">Deployment Available</string>
      <string id="DeploymentAvailable_Explain">
Each software present in this policy will be available for installation/uninstallation in the user interface.

Use the Slug Software (https://winappack.fr/doc/software-list) - ex :
7_zip
Acrobat_Reader
VLC_Media_Player
...
      </string>

      <!-- DeploymentRequired -->
      <string id="DeploymentRequired_Name">Deployment Required</string>
      <string id="DeploymentRequired_Explain">
Each software present in this policy will be automatically installed. Users cannot manage the installation or uninstallation of this softwares in the user interface :

Use the Slug Software (https://winappack.fr/doc/software-list) - ex :
7_zip
Acrobat_Reader
VLC_Media_Player
...
      </string>

      <!-- DeploymentNotAvailable -->
      <string id="DeploymentNotAvailable_Name">Deployment NotAvailable</string>
      <string id="DeploymentNotAvailable_Explain">
Each software present in this policy will not be available for installation/uninstallation in the user interface. Users cannot manage the installation or uninstallation of this softwares in the user interface :

Use the Slug Software (https://winappack.fr/doc/software-list) - ex :
7_zip
Acrobat_Reader
VLC_Media_Player
...
      </string>

      <!-- DeploymentUninstall -->
      <string id="DeploymentUninstall_Name">Deployment Uninstall</string>
      <string id="DeploymentUninstall_Explain">
Each software present in this policy will be automatically uninstalled. Users cannot manage the installation or uninstallation of this softwares in the user interface :

Use the Slug Software (https://winappack.fr/doc/software-list) - ex :
7_zip
Acrobat_Reader
VLC_Media_Player
...
      </string>

    </stringTable>
    
    <presentationTable>

      <presentation id="TextboxString">
        <textBox refId="String">
          <label/>
        </textBox>
      </presentation>

      <presentation id="TextboxNumber">
        <decimalTextBox refId="Number">Integer:</decimalTextBox>
      </presentation>

      <presentation id="DefaultDeploymentDropbox">
        <dropdownList refId="DefaultDeploymentDropboxEnter"/>
      </presentation>


      <presentation id="DeploymentList">
        <multiTextBox refId="List"/>
      </presentation>


    </presentationTable>
  </resources>
</policyDefinitionResources>

