https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
f

Francesco Pedron

07/14/2022, 4:44 PM
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

Lucas

07/14/2022, 6:00 PM
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

Francesco Pedron

07/15/2022, 8:55 AM
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

Lucas

07/16/2022, 4:24 PM
Glad i could help, it was the same for me.
10 Views