pwall2222 / inno-setup-download

0 stars 0 forks source link

Action is failing with "Cannot find path" #1

Open Krillsson opened 2 weeks ago

Krillsson commented 2 weeks ago

There's an error while running this Action: Cannot find path 'C:\Users\runneradmin\AppData\Local\Temp\app' because it does not exist.

There's also something weird going on with this message: Warning: Unexpected setup data version: 6.3.0

See the full build log at: https://github.com/Krillsson/sys-API/actions/runs/11087049073/job/30805315302

pwall2222 commented 2 weeks ago

Woops, I think it's an issue with both upstream's!

So the thing is, InnoSetup is packaged with InnoSetup. And this has different packaging archive versions 5.., 5.1., 6..*, etc.

So to be able to extract the InnoSetup installer without installing it to the Windows machine, I use InnoExtract. It doesn't have support for any packaging versions above 6.2.2 and it seems the InnoSetup installer is now using a version above 6.2.2, so it broke.

I don't know how to go fix it, yet, but you might just want to grab the Powershell file on my repo and install InnoSetup instead of trying to extract it.

Or changing the version we grab to https://files.jrsoftware.org/is/6/innosetup-6.2.2.exe but I need to sleep now.

Krillsson commented 2 weeks ago

May I suggest that we hardcode the release downloaded to the last known working version. To get the github action back up running.

And then we can think about a long-term solution?

pwall2222 commented 2 weeks ago

I hardcoded the url release for 6.0.5!

Krillsson commented 1 week ago

It works now. Here's a successful run: https://github.com/Krillsson/sys-API/actions/runs/11142235188/job/30964748596