Weatherlights / Winget-AutoUpdate-Intune

WAUaaS daily updates apps as system and notify users. WAUaaS brings you WAU in a service like pattern that can be deployed and configured by Microsoft Intune (or other MDM solutions).
MIT License
116 stars 6 forks source link

[Bug]: Invalid value: '1.04.0000' for attribute revision. When opening in Group Policy Manager. #7

Closed ITSourcePro closed 12 months ago

ITSourcePro commented 1 year ago

The problem

Revision needs to be 1.04 in the ADMX file, otherwise you get an error "Invalid value: '1.04.0000' for attribute revision. File: C:\WINDOWS\PolicyDefinitions\WinGet-AutoUpdate-Configurator.admx, line 1, column 244"

   Screenshot 2023-05-22 105131

What version of WAU has the issue?

1.04.0010

What version of Windows are you using (ex. Windows 11 22H2)?

Windows 11 22H2

What version of winget are you using?

v1.5.1361-preview

Log information

"Invalid value: '1.04.0000' for attribute revision. File: C:\WINDOWS\PolicyDefinitions\WinGet-AutoUpdate-Configurator.admx, line 1, column 244" in Group Policy Editor.

Additional information

No response

ChrisMcGhan commented 1 year ago

This ADMX has been pending on devices for days in Intune. I finally added it to C:\Windows\PolicyDefinitions and opened Group Policy Editor on Windows 11 and can confirm the error message. I then uploader the ADMX to ChatGPT 4 and asked it about line 1:

Me: Windows is reporting error: Invalid value 1.04.0000 for attribute revision

ChatGPT: The revision attribute for the policyDefinitions tag in an ADMX file must be in the format "MAJOR.MINOR", where both MAJOR and MINOR are integer values. The format you've used (1.04.0000) doesn't fit this requirement.

You should revise the attribute value to fit the correct format. If your major revision is 1 and your minor revision is 4, then the correct value for the revision attribute would be "1.4".

Here's the corrected line:

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 12 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.