Skip to content

Commit cf64d97

Browse files
committed
Not stale
1 parent de34b54 commit cf64d97

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

Sources/Policies/ADMX/WAU.admx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,11 @@
164164
<string>SuccessOnly</string>
165165
</value>
166166
</item>
167+
<item displayName="$(string.NotificationLevel_ErrorsOnly)">
168+
<value>
169+
<string>ErrorsOnly</string>
170+
</value>
171+
</item>
167172
<item displayName="$(string.NotificationLevel_None)">
168173
<value>
169174
<string>None</string>

Sources/Policies/ADMX/en-US/WAU.adml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<policyDefinitionResources xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="4.8" schemaVersion="1.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="5.0" schemaVersion="1.0"
44
xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
55
<displayName>WinGet-AutoUpdate</displayName>
66
<description>WinGet-AutoUpdate GPO Management</description>
@@ -58,7 +58,7 @@
5858
(URL/UNC/GPO/Local)</string>
5959
<string id="ListPath_Explain">If this policy is enabled, you can set a
6060
(URL/UNC/GPO/Local) Path to external lists other than the default.
61-
If "Application GPO Blacklist/Whitelist" is set in this GPO the Path can be:
61+
If "Application GPO Blacklist/Whitelist" is set in this GPO the Path MUST be:
6262
GPO
6363

6464
If this policy is disabled or not configured, the default ListPath is used
@@ -84,12 +84,14 @@
8484
configure the Notification Level:
8585
1. Full (Default)
8686
2. SuccessOnly
87-
3. None
87+
3. ErrorsOnly
88+
4. None
8889

8990
If this policy is not configured or disabled, Notification Level: (1. Full).</string>
9091
<string id="NotificationLevel_Full">1. Full (Default)</string>
9192
<string id="NotificationLevel_SuccessOnly">2. SuccessOnly</string>
92-
<string id="NotificationLevel_None">3. None</string>
93+
<string id="NotificationLevel_ErrorsOnly">3. ErrorsOnly</string>
94+
<string id="NotificationLevel_None">4. None</string>
9395
<string id="UpdatesInterval_Name">Updates Interval</string>
9496
<string id="UpdatesInterval_Explain">If this policy is enabled, you can configure
9597
the Updates Interval:

Sources/Winget-AutoUpdate/functions/Start-NotifTask.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function Start-NotifTask {
1515
[Switch]$UserRun = $false
1616
)
1717

18-
if (($WAUConfig.WAU_NotificationLevel -eq "Full") -or ($WAUConfig.WAU_NotificationLevel -eq "SuccessOnly" -and $MessageType -eq "Success") -or ($UserRun)) {
18+
if (($WAUConfig.WAU_NotificationLevel -eq "Full") -or ($WAUConfig.WAU_NotificationLevel -eq "SuccessOnly" -and $MessageType -eq "Success") -or ($WAUConfig.WAU_NotificationLevel -eq "ErrorsOnly" -and $MessageType -eq "Error") -or ($UserRun)) {
1919

2020
# XML Toast template creation
2121
[xml]$ToastTemplate = New-Object system.Xml.XmlDocument

Sources/Wix/build.wxs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@
200200
<ComboBox Property="NOTIFICATIONLEVEL_VALUE">
201201
<ListItem Value="Full" Text="Full" />
202202
<ListItem Value="SuccessOnly" Text="Success only" />
203+
<ListItem Value="ErrorsOnly" Text="Errors only" />
203204
<ListItem Value="None" Text="None" />
204205
</ComboBox>
205206
</Control>

0 commit comments

Comments
 (0)