WiX cannot upload file, error LGHT0103

I am using WiX 3.5 and the installer. I used heat.exe to link all the files. He created a WiX file. I referenced in the main wxs files as a group of ref components. When iam builds my installers, it throws the following exception.

light.exe: error LGHT0103: the system cannot find the file ".......... \ target \ TMP-release \ JBoss-EAP-5.0 \ JBoss-server as \\ all \\ deploy httpha-invoker. sar \ invoker.war \ WEB-INF \ classes \ org \ JBoss \ call \ HTTP \ servlet \ ReadOnlyAccessFilter.class' with type ''.

It can download many files from this location except the above file. Despite the fact that the file is present.

+4
source share
3 answers

I used the variable for the sys.SOURCEFILEDIR directory, and it worked fine.

-1
source

Looks like you got into the linker error. As far as I can tell, this has already been reported to the WiX team , and was planned for v4.0. The comment on the problem indicates that the path is more than 255 characters, so you may need to redesign the file / folder layout to avoid paths of this length.

Hope this helps.

+8
source

Ravz1234 answer works! I used it with an environment variable, for example. env.SourcePath .

1) Set the environment variable that will be displayed in the source directory, for example. C:\SourceDir 2) On heat.exe add the -var env.SourcePath argument along with other arguments

0
source

All Articles