[wix-users] Light can not find file

Palomba, Anthony Anthony.Palomba at nttdata.com
Mon Jul 8 12:21:58 PDT 2019


Hey folks,

I really need help with this. Can someone please give me some feedback.

Why can WIX not find this specified file: "BgsSupportInformation.url"?  It has no problem finding 'Helper.dll'

I tried making the file name shorter, it does not seem to make a difference.

Please see example XML below.



Anthony

From: Palomba, Anthony
Sent: Wednesday, JulyI 3, 2019 12:39 PM
To: 'wix-users at lists.wixtoolset.org' <wix-users at lists.wixtoolset.org>
Subject: Light can not find file

Het folks,

I am trying to get a simple installer example working...

Here is the XML in question:
<Component Id='HelperLibrary' Guid='649f39da-b11a-45b2-817f-ab8d06e0555e'>
  <!--<File Id='HelperDLL' Name='Helper.dll' DiskId='1' Source='Helper.dll' KeyPath='yes' />-->
  <File Id='BgsSupportInformationURL' Name='BgsSupportInformation.url' DiskId='1' Source='BgsSupportInformation.url' KeyPath='yes'/>
</Component>

When I try to reference BgsSupportInformation.url, light can not find the file. When I replace it with Helper.dll, it works.
I have verified that both files are present in the same directory.

Can someone please explain why there should be a difference in finding these files?



Thanks,
Anthony
Disclaimer: This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding.



More information about the wix-users mailing list