RemotePayload isn't a great name for the concept because it keeps confusing
people. RemotePayload is used when you have *none* of the bits available at
build time. Thus all the metadata that is usually gathered at build time is
specified directly on the RemotePayload element.

RemotePayload does *not* do anything say this file should be downloaded.

In your case, I think you just remove the RemotePayload and allow the
Payload/@SourceFile to let the build gather the metadata.


On Thu, Jun 6, 2013 at 6:31 AM, Benjamin Mayrargue <benja...@vapolia.fr>wrote:

> Hi,
>
> is this possible ? It does not compile with error "Payload is missing the
> SourceFile attribute". Does it mean you can not have a remotepayload as a
> dependency ?
>
>       <ExePackage        Id="Securite"
> DetectCondition="installState &gt; 10"
> InstallCommand='[KEYSECURITE]'        PerMachine="yes"
> Permanent="yes"        Vital="yes"        Cache="no"
> InstallSize="1000000"        Compressed="yes"
> SourceFile="$(var.EmptyApp.TargetPath)">        <Payload
> DownloadUrl="$(var.UrlSecurite)">          <RemotePayload
> CertificatePublicKey="D2A6F974A08D42D7795C7AA5440E04E16DDCFD06"
> CertificateThumbprint="76DD0F11CF7E174ED20F160C3F991E6BF418A6FD"
> Description="ProduitVide"
> Hash="C792F08CF024CFB72F6634280D6E647F27C4ABB5"
> ProductName="ProduitVide" Size="81576" Version="1.0.0.0" />
> </Payload>        <Payload
> SourceFile="installers\ProduitVide4.exe.config"/>        <ExitCode
> Value="0" Behavior="success" />      </ExePackage>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to