"SourceFile" is consistently used throughout the WiX toolset as the "location 
to the source on your build machine where the bits that need to be included in 
the resulting package need to be found." IIRC, the only place where 
"SourceFile" is not used to mean a build machine path is on the File element, 
where just "Source" is used since the "File" part of "SourceFile" seemed 
redundant (but debated that for a while).

In WiX v1 the attribute "SourceFile" attribute was called "src" but everyone 
thought that just looked weird.

The "Name" attribute on files is also regularly used to allow you to change the 
*installed* name of a file based thing. Payloads are a bit unique in that they 
also allow you to put relative paths in them. Design limitations of the Windows 
Installer generally prevent us from using relative paths in the "Name" 
attributes even though it'd be nice in some cases.

So, to answer your question, I named most of these things.

_______________________________________________________________
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-----Original Message-----
From: froggie [mailto:froggie1...@tortenboxer.de] 
Sent: Friday, June 20, 2014 3:45 AM
To: wix-users
Subject: Re: [WiX-users] Wix 3.8 - Burn - wrong path for payload in ExePackage


Thank you very much!

It is working like a charm. (Besides this weird property-naming. 
SourceFile is not the source of the payload at runtime, but name-property is 
the source. Who implemented that?)

Am 18.06.2014 14:13, schrieb Markus Wehrle:
> Hi,
> to place a package on disk layout you can use attribute "name".
> e.g. set name=redist\WindowsXP-KB942288-v3-x86.exe to get your 
> expected result Markus www.xeam-solutions.com
>
> > froggie <froggie1...@tortenboxer.de> hat am 18. Juni 2014 um 13:32
> geschrieben:
> >
> >
> > Hi!
> > I'm trying to create a bootstrapper which is also working when there 
> > is no internet connection.
> > So my expectation is the following list of files as a result:
> >
> > * Setup.exe (the bootstrapper with some compressed dependencies)
> > * redist\[dependencies] (a directory with some other dependencies 
> > which could also be downloaded)
> >
> > The current output of my VisualStudio is the following list:
> >
> > * Setup.exe
> > * list of dependencies (which should be in directory redist)
> >
> > So during my tests I saw there is a wrong path for the payload (see 
> > first line of log below).
> > The path should be: "C:\Dokumente und 
> > Einstellungen\vm-user\Desktop\redist\WindowsXP-KB942288-v3-x86.exe"
> > The path actually is: "C:\Dokumente und 
> > Einstellungen\vm-user\Desktop\WindowsXP-KB942288-v3-x86.exe"
> >
> > What am I doing wrong and how can I resolve this?
> >
> > This is my current code:
> >
> > <ExePackage
> > Id="Installer405"
> > DisplayName="Windows Installer 4.5"
> > PerMachine="yes"
> > Permanent="yes"
> > Vital="yes"
> > Compressed="no"
> > SourceFile="redist\WindowsXP-KB942288-v3-x86.exe"
> > DownloadUrl="$(var.WindowsInstaller405RedistLink)"
> > InstallCondition="VersionNT=v5.1 AND NOT VersionNT64 AND VersionMsi 
> > &lt; v4.5"
> > InstallCommand="/quiet /norestart">
> >
> > <ExitCode Behavior="forceReboot"/>
> > </ExePackage>
> >
> > This is the current output of the log:
> >
> > [09EC:06E0][2014-06-18T13:16:42]w343: Prompt for source of package:
> > Installer405, payload: Installer405, path: C:\Dokumente und 
> > Einstellungen\vm-user\Desktop\WindowsXP-KB942288-v3-x86.exe
> > [09EC:06E0][2014-06-18T13:16:42]i338: Acquiring package: 
> > Installer405,
> > payload: Installer405, download from:
> > 
> http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0
> e0f2e08356d/WindowsXP-KB942288-v3-x86.exe
>
> > [09EC:06E0][2014-06-18T13:16:44]e000: Error 0x80072ee7: Failed to 
> > send request to URL:
> > 
> http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0
> e0f2e08356d/WindowsXP-KB942288-v3-x86.exe,
>
> > trying to process HTTP status code anyway.
> > [09EC:06E0][2014-06-18T13:16:44]e000: Error 0x80072ee7: Unknown HTTP 
> > status code 0, returned from URL:
> > 
> http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0
> e0f2e08356d/WindowsXP-KB942288-v3-x86.exe
>
> > [09EC:06E0][2014-06-18T13:16:44]e000: Error 0x80072ee7: Failed to 
> > send request to URL:
> > 
> http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0
> e0f2e08356d/WindowsXP-KB942288-v3-x86.exe
>
> > [09EC:06E0][2014-06-18T13:16:44]e000: Error 0x80072ee7: Failed to 
> > connect to URL:
> > 
> http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0
> e0f2e08356d/WindowsXP-KB942288-v3-x86.exe
>
> > [09EC:06E0][2014-06-18T13:16:44]e000: Error 0x80072ee7: Failed to 
> > get size and time for URL:
> > 
> http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0
> e0f2e08356d/WindowsXP-KB942288-v3-x86.exe
>
> > [09EC:06E0][2014-06-18T13:16:44]e000: Error 0x80072ee7: Failed 
> > attempt to download URL:
> > 
> 'http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0e0f2e08356d/WindowsXP-KB942288-v3-x86.exe'
>  
>
> > to:
> > 
> 'C:\DOKUME~1\vm-user\LOKALE~1\Temp\{d635d502-e29d-48f5-a93c-a45eafed3999}\Installer405'
>  
>
> > [09EC:06E0][2014-06-18T13:16:44]e000: Error 0x80072ee7: Failed to 
> > acquire payload from:
> > 
> 'http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0e0f2e08356d/WindowsXP-KB942288-v3-x86.exe'
>  
>
> > to working path:
> > 
> 'C:\DOKUME~1\vm-user\LOKALE~1\Temp\{d635d502-e29d-48f5-a93c-a45eafed3999}\Installer405'
>  
>
> > [09EC:06E0][2014-06-18T13:16:44]e313: Failed to acquire payload:
> > Installer405 to working path:
> > 
> C:\DOKUME~1\vm-user\LOKALE~1\Temp\{d635d502-e29d-48f5-a93c-a45eafed399
> 9}\Installer405,
>
> > error: 0x80072ee7.
> > [09EC:04D8][2014-06-18T13:16:44]e000: Error 0x80072ee7: Failed while 
> > caching, aborting execution.
> >
> > 
> ----------------------------------------------------------------------
> --------
>
> > HPCC Systems Open Source Big Data Platform from LexisNexis Risk
> Solutions
> > Find What Matters Most in Your Big Data with HPCC Systems Open 
> > Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > Leverages Graph Analysis for Fast Processing & Easy Data Exploration 
> > http://p.sf.net/sfu/hpccsystems 
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find 
What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. 
Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration 
http://p.sf.net/sfu/hpccsystems _______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to