OpenRoberta / openroberta-connector

The multiplatform connector program for most robots supported by the Open Roberta Lab.
Apache License 2.0
9 stars 15 forks source link

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

Open jasperp92 opened 2 years ago

jasperp92 commented 2 years ago

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 commented 2 years ago

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?