[wix-users] Light can not find file

Hoover, Jacob Jacob.Hoover at greenheck.com
Mon Jul 8 12:30:31 PDT 2019


Have you tried https://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/create_internet_shortcut.html ?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Palomba, Anthony via wix-users
Sent: Monday, July 8, 2019 2:22 PM
To: wix-users at lists.wixtoolset.org
Cc: Palomba, Anthony <Anthony.Palomba at nttdata.com>
Subject: Re: [wix-users] Light can not find file

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.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.



More information about the wix-users mailing list