ofelman / HPIA-Repository-Downloader

The script is designed to create and maintain HP Image Assistant offline repositories with a GUI interface, and to update the repository with scripted runtime options
11 stars 10 forks source link

Support for windows 10 21h1 #5

Closed thewebserverisdown closed 2 years ago

thewebserverisdown commented 2 years ago

Repository sync fails could not find a data file for this platform for 21H1 image

ini set to $v_OSVALID = @("1809", "1909", "2009", "2104") $v_OSVER = "2104"

if set top 21H1 powershell gives a interger datatype error. How to configure so that 2104 softpaqs will download? is it generally okay to user 2009 version string instead?

ofelman commented 2 years ago

this should work

$v_OSVALID = @("1809", "1909", "2009", "21H1") $v_OSVER = "21H1"

On Sun, Oct 10, 2021 at 8:55 PM thewebserverisdown @.***> wrote:

Repository sync fails could not find a data file for this platform for 21H1 [image: image] https://user-images.githubusercontent.com/4382362/136719347-d9e00527-c545-4fe5-b221-efe70dbc323b.png

ini set to $v_OSVALID = @("1809", "1909", "2009", "2104") $v_OSVER = "2104"

if set top 21H1 powershell gives a interger datatype error. How to configure so that 2104 softpaqs will download? is it generally okay to user 2009 version string instead?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ofelman/HPIA-Repository-Downloader/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOU6LDZF3KB424CYIXFQNP3UGIYYRANCNFSM5FXCKETQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

thewebserverisdown commented 2 years ago

image image Does not seem to work my friend due to datatype error expecting integer but 21h1 contains h char?

thewebserverisdown commented 2 years ago

Updated to 1.87 of the code and it seems to work now. I note that OS NOT SUPPORTED seems to be returned for all the models - its that correct? image

thewebserverisdown commented 2 years ago

deleting the old powerhsel HPCSML C:\Program Files\WindowsPowerShell\Modules and then downloading 1.6.3 fixed the issues for me and is all working.

It Seemed to produce errors or different result for version prior to 1.6.3 when running the command Get-SoftpaqList -Platform 83b2 -Os win10 -OsVer "21H1"

ofelman commented 2 years ago

Correct... 2021 versions are now updated in the INI file and match those that our Softpaq CVA files use, e.g., 21H1 and 21H2... try using the latest version 1.92.02