Hi all,

I have a question on using burn for a multi package install with full download.
I have a chain of packages like below:
<Chain>
    <PackageGroupRef Id="msi1"/>
    <PackageGroupRef Id="msi2"/>
    <PackageGroupRef Id="msi3"/>
    <PackageGroupRef Id="msi4"/>
    <PackageGroupRef Id="msi5"/>
    <PackageGroupRef Id="msi6"/>
</Chain>


Each PackageGroup consists of a MSI and it's payloads. All have the DownloadUrl 
data set - I deliver only the exe which should download everything.
I did not specify anything for the Cache attribute in any of the MsiPackage 
units.

My problem is that for some reason, at some random point, for example, the 
chainer stops with an error like:
Prompt for source of package: 4.msi, payload: aaa.cab, path:...
Failed to resolve source for file: ....aaa.cab, error: 0x80070002.
Error 0x80070002: Failed while prompting for source (original path 
'....aaa.cab').
Failed to acquire payload: aaa.cab to working path: C:\DOCUME~1\....aaa.cab, 
error: 0x80070002.


This happens randomly for one of the packages (all have large size payloads).
When this happens while downloading payloads for the msi4 package (for 
example), the log will show:
Removing cached package: 3.msi, from path: ....
Removing cached package: 2.msi, from path: ....
Removing cached package: 1.msi, from path: ....


I end up having after this some still cached files from the 4.msi package (all 
that got downloaded), and no files remain cached from the previous packages in 
the chain.
If I start the chainer again, the download will be restarted for the first 3 
packages.... and some files will be found when getting to 4th package.
Why do the first 3 get removed and the incompletely downloaded package remains 
partially cached ?
I need to avoid the re-download of the first 3 packages due to their big size.
Can I do something that in such a case, all downloaded packages remain cached 
until they are uninstalled ?
Specifying Cache="yes" on each MsiPackage will produce this result ? Does 
Cache="yes" means they will remain cached until they are uninstalled (even if 
they are not installed, just cached after download) ?


A second question - is there any event raised/property changed in such a case 
(failed download) - just to be able to inform the user about the error ?

Regards,
Adrian
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to