rzander / ruckzuck

software package manager for windows
https://ruckzuck.tools
Microsoft Public License
223 stars 20 forks source link

RZ for ConfigMgr does creates entry application but does not download package or create deployment type #193

Closed doralsoral closed 2 years ago

doralsoral commented 2 years ago

The last time I went into the RZ menu from CM it showed about 4 of my apps needed updating so I ran it like i normally do. After it was done none of those apps had a deployment type. I went to look in my content source and noticed none of the new apps were even downloaded. This also includes any new applications I have never deployed with RZ. I have uninstalled/reinstalled RZ and made a new config file from scratch. Not sure where else to start troubleshooting. Are there any log files I could start looking at?

rzander commented 2 years ago

The reason is because RZ4CM is using an outdated API... I have created a fixed version on: https://github.com/rzander/ruckzuck/releases/tag/1.7.2.5

I do not have a ConfigMgr Site available, so if you can try to replace the RZ4CM.exe (make a backup of the old exe and .config)

doralsoral commented 2 years ago

The reason is because RZ4CM is using an outdated API... I have created a fixed version on: https://github.com/rzander/ruckzuck/releases/tag/1.7.2.5

I do not have a ConfigMgr Site available, so if you can try to replace the RZ4CM.exe (make a backup of the old exe and .config)

So I just replaced the .exe in the install folder. Initially it gave me a prompt where i had to click run unless i unchecked the box to ask everytime. After I unchecked it I got one prompt from SCCM to allow changes to the computer. After that even after restarting the CM console when I try to launch RZ from the console the UI never pops up. It is running in the background and I have to end it in task manager.

rzander commented 2 years ago

ok, seems to be more complicated... I have to spin up an SCCM Environment---

rzander commented 2 years ago

I have updated the RZ4CM.exe on https://github.com/rzander/ruckzuck/releases/tag/1.7.2.5 Can you try it again... at least on my test site it's working now...

doralsoral commented 2 years ago

I have updated the RZ4CM.exe on https://github.com/rzander/ruckzuck/releases/tag/1.7.2.5 Can you try it again... at least on my test site it's working now...

Yes this one works. Thanks very much

grantemsley commented 2 years ago

I can also confirm that it's working mostly working, but there may be a couple bugs still.

Edit: Actually, not just one app had that SWId issue. Multiple did. And creating one of the apps with SwId 0 actually renames the other ones, but keeps the deployment type and source files of the first one. So now I have an application named "PDF-XChange Editor 9.4.363.0 RZ0", and it's deployment type points to the folder "Google Chrome 104.0.5112.102 X64_RZ0", which contains the chrome installer. So it's a bit more severe of an issue than I thought.

rzander commented 2 years ago

Now I remember why I have not touched these two beasts (RZ4Intuen and RZ4CM) for a long time... SWId does no longer exists, so I have to find another way to detect the updates....

grantemsley commented 2 years ago

Strangely swid does report a proper value in the getsoftwares api call. It's only the catalog where it's sometimes missing.

dssantos83 commented 2 years ago

Hello guys. Same problem here. After the @rzander update (https://github.com/rzander/ruckzuck/releases/tag/1.7.2.5) the download and deployment started to work again. But now I have a lot of bugs on packages updates. Gone crazy :(

rzander commented 2 years ago

I have update the RZ4CM.exe on https://github.com/rzander/ruckzuck/releases/tag/1.7.2.5 The Update detection will no longer use the SWId. If the RuckZuck package does not conatin an RZID (all new Packages), it will generate an RZID based on the ModifyDate from the RZCatalog...

grantemsley commented 2 years ago

Finally got a chance to test out the update. So far so good, it looks like it properly created all the packages I had issues with before. It's still showing the oldest installed version under old version instead of the newest installed one, but it looks like detection is working properly so that's just a display bug and doesn't really matter.

Thanks for the quick work fixing it!

dssantos83 commented 2 years ago

I've tested here too. Everything is working as expected. Thanks for the fix.

rzander commented 2 years ago

FYI, on https://github.com/rzander/ruckzuck/releases/tag/1.7.2.5 there is a updated RZ4CM.exe that fixes an Issue when you try to edit an app. The installer (RZ4ConfigMgrSetup.exe) will be updated with the next version.