Sto leggendo this section of WiX toolset manual e mi chiedo come forzare il bootstrapper WiX per scaricare un pacchetto MSI? Ad esempio, prima di installare la mia applicazione, il programma di avvio automatico deve scaricare e installare:Come forzare un bootstrapper WiX per scaricare un pacchetto MSI?
- .NET Framework Client Profilo
- SQL Server 2008 R2 Gestione concorrente Objects.
ho pensato, posso descrivere corrispondente MsiPackage
come questo:
ma the schema reference per MsiPackage
elemento dice, che
"At a minimum, the SourceFile or Name attribute must be specified."
E, naturalmente, esso doesn' t lie - senza SourceFile
o Name
il progetto di bundle compila con errori.
Aggiunta RemotePayload
-MsiPackage
in questo modo:
<MsiPackage Name="redist\SharedManagementObjects.msi"
DisplayName="Microsoft SQL Server 2008 R2 Management Objects"
DisplayInternalUI="yes"
Vital="yes"
DownloadUrl="http://go.microsoft.com/fwlink/?LinkID=188438&clcid=0x409">
<RemotePayload Size="10953728"
Version="10.50.1600.1"
ProductName="Microsoft SQL Server 2008 R2 Management Objects"
Description="Microsoft SQL Server 2008 R2 Management Objects"
Hash="6ce3a433309c63d98bcf0e2b9f1dfaed8cc18783"/>
</MsiPackage>
causa un errore di generazione:
Unable to read package ''. This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package.
Mi sto perdendo qualcosa?