[wix-users] Light can not find file

Hoover, Jacob Jacob.Hoover at greenheck.com
Mon Jul 8 13:31:16 PDT 2019


No,
  Wix doesn't care.  I just tested it and I can create a MSI with a url file without issue.  However, if you are deploying an internet shortcut, it would make more sense to do so with the supported method.  A *.url file is an internet shortcut.

  Beyond that, there isn't much help we can offer as you didn't provide any logs. (Was it candle or light that failed?  What was the error/code/message? Do you have LSW turned on?  Does the case of your authoring match the case of your file on disk?)

Jacob

-----Original Message-----
From: Palomba, Anthony [mailto:Anthony.Palomba at nttdata.com] 
Sent: Monday, July 8, 2019 2:52 PM
To: Hoover, Jacob <Jacob.Hoover at greenheck.com>
Subject: RE: Light can not find file

Jacob,

Thanks for your response. I am not really trying to create an internet short cut. I am simply trying to get WIX to find the file.

Are you saying that because it might be a shortcut file that WIX is refusing to find it? Why would WIX try to interpret the files contents?



Anthony



-----Original Message-----
From: Hoover, Jacob [mailto:Jacob.Hoover at greenheck.com]
Sent: Monday, July 8, 2019 2:31 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Palomba, Anthony <Anthony.Palomba at nttdata.com>
Subject: RE: Light can not find file

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.
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.
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