installationwix

WiX can'f find my file : unable to load file, error LGHT0103


I am using WiX 3.5 and making an installer. I have used heat.exe to bundle all the files. It produced a WiX file. I referred in main wxs files as componentgroup ref. When I build my installer, it throws the following exception.

light.exe : error LGHT0103 : The system cannot find the file '..........\target\tmp-release\jboss-eap-5.0\jboss-as\server\all\deploy\httpha-invoker.sar\invoker.war\WEB-INF\classes\org\jboss\invocation\http\servlet\ReadOnlyAccessFilter.class' with type ''.

It is able load many files from this location, except the above file, even though the file is present.


Solution

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