Hi, today I tried to run "packageMsi" gradle task ...
# compose-desktop
f
Hi, today I tried to run "packageMsi" gradle task on my compose-desktop project but I got this error:
Copy code
Cannot expand ZIP 'C:\Users\User\Documents\project_dir\build\wixToolset\wix311.zip' as it is not a file.
In fact "wix311.zip" is not a file, but a directory that contains a "wix311-binaries.zip" file. I checked online but I haven't found any reference to this bug. Do you have any idea if it is a known issue and how may I resolve it? Let me know if there's any information I can provide, thanks. This is the gradle output just before the mentioned error message is printed:
Copy code
18:35:25: Executing 'packageMsi'...


> Task :downloadWix
Download <https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip>
Download <https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip>

> Task :unzipWix FAILED
l
I had this error and i'm pretty sure i found the solution somewhere. If i'm not mistaken the solution was to add an env variable "WIX_PATH" to a folder with wix311 unziped
f
Thanks Lucas, didn't find that issue but that solves my problem. As written on a comment on that issue the problem on my project started when I splitted it in multiple modules.
l
Glad i could help, it was the same for me.