Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build a windows release with Wix v3.11 #31

Open
jasperp92 opened this issue Mar 15, 2022 · 1 comment
Open

Cannot build a windows release with Wix v3.11 #31

jasperp92 opened this issue Mar 15, 2022 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@jasperp92
Copy link

Dear developers,
I have troubles building a windows release with Wix Toolset v 3.11

I get the following errors:
$ bash release.sh windows

Creating Windows installers
C:\Program Files (x86)\WiX Toolset v3.11\bin
Windows Installer XML Toolset Toolset Harvester version 3.11.2.4516
Copyright (c) .NET Foundation and contributors. All rights reserved.

heat.exe : warning HEAT5150 : Could not harvest data from a file that was expected to be a SelfReg DLL: C:\Users\JayPC\documents\github\openroberta-connector\installers\windows\resources\windows\esp32\esptool.exe. If this file does not support SelfReg you can ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Unable to load file: C:\Users\JayPC\documents\github\openroberta-connector\installers\windows\resources\windows\esp32\esptool.exe, error: 193
Windows Installer XML Toolset Toolset Harvester version 3.11.2.4516
Copyright (c) .NET Foundation and contributors. All rights reserved.

heat.exe : error HEAT5052 : The directory 'C:\Users\JayPC\documents\github\openroberta-connector\installers\windows\libs' could not be found.
candle.exe : error CNDL0103 : The system cannot find the file 'libs.wxs' with type 'Source'.
light.exe : error LGHT0103 : The system cannot find the file 'setup.wixobj' with type 'Source'.
light.exe : error LGHT0103 : The system cannot find the file 'setup.wixobj' with type 'Source'.
mv: cannot stat 'OpenRobertaConnectorSetupDE-v1.3.0-5-gcfa2c09.msi': No such file or directory
mv: cannot stat 'OpenRobertaConnectorSetupEN-v1.3.0-5-gcfa2c09.msi': No such file or directory
Release finished

Do you have any hints or have I made a mistake? I followed the instructions in the readme and set the path varialbes for Wix.
Thank you in advance!

Jasper

@RaghuvirShirodkar
Copy link
Member

Hey @jasperp92,

it seems from your error logs that the folder \openroberta-connector\installers\windows\libs is missing:

heat.exe : error HEAT5052 : The directory 'C:\Users\JayPC\documents\github\openroberta-connector\installers\windows\libs' could not be found.

The libs directory for windows is copied during maven installation of the project.
Did you run mvn clean install (in the project directory) before bash release.sh windows?

@RaghuvirShirodkar RaghuvirShirodkar self-assigned this May 11, 2022
@RaghuvirShirodkar RaghuvirShirodkar moved this from Todo to In Progress in Release 4.2.12 May 11, 2022
@RaghuvirShirodkar RaghuvirShirodkar added the question Further information is requested label May 11, 2022
@bjost2s bjost2s removed this from Release 4.2.12 May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants