Related
I have a Burn Bootstrapper with 2 MSIs and 2 Exe Packages. My Product MSI does not get uninstalled when I uninstall with the bootstrapper.
relevant Package part from Bundle.wxs
<MsiPackage SourceFile="Resources\MyProduct.msi" ForcePerMachine="yes" Visible="yes" Permanent="no">
(the visibility is only set to be able to uninstall "per hand" later on. The install log seems to be alright regarding installation of the product, and it shows (the MSI) in Add/Remove Programs.
(excerpt)
[0020:0D1C][2015-07-15T16:15:50]i201: Planned package: MyProduct.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0B34:0E40][2015-07-15T16:17:43]i305: Verified acquired payload: MyProduct.msi at path: C:\ProgramData\Package Cache\.unverified\MyProduct.msi, moving to: C:\ProgramData\Package Cache\{5147F2CD-4057-408C-9871-5CF419E4A064}v3.14.0000\MyProduct.msi.
[0B34:0AEC][2015-07-15T16:17:44]i323: Registering package dependency provider: {5147F2CD-4057-408C-9871-5CF419E4A064}, version: 3.14.0000, package: MyProduct.msi
[0B34:0AEC][2015-07-15T16:17:44]i301: Applying execute package: MyProduct.msi, action: Install, path: C:\ProgramData\Package Cache\{5147F2CD-4057-408C-9871-5CF419E4A064}v3.14.0000\MyProduct.msi, arguments: ' ALLUSERS="1" MSIFASTINSTALL="7" INSTALLBASE="1"'
[0020:0D1C][2015-07-15T16:23:38]i319: Applied execute package: MyProduct.msi, result: 0x0, restart: None
[0B34:0AEC][2015-07-15T16:23:38]i325: Registering dependency: {973aefce-662d-437a-b703-e6e06af73ea5} on package provider: {5147F2CD-4057-408C-9871-5CF419E4A064}, package: MyProduct.msi
on uninstall however the state of the package is always absent, thus not uninstalled. is this a possible bug or am I missing something painfully obvious?
uninstall log excerpt:
[0F30:0EE0][2015-07-15T16:24:48]i101: Detected package: MyProduct.msi, state: Absent, cached: Complete
[0F30:0EE0][2015-07-15T16:24:49]i201: Planned package: MyProduct.msi, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: Yes, dependency: Unregister
[0BBC:0FD8][2015-07-15T16:24:50]i326: Removed dependency: {973aefce-662d-437a-b703-e6e06af73ea5} on package provider: {5147F2CD-4057-408C-9871-5CF419E4A064}, package MyProduct.msi
[0BBC:0FD8][2015-07-15T16:24:50]i329: Removed package dependency provider: {5147F2CD-4057-408C-9871-5CF419E4A064}, package: MyProduct.msi
[0BBC:0FD8][2015-07-15T16:24:50]i351: Removing cached package: MyProduct.msi, from path: C:\ProgramData\Package Cache\{5147F2CD-4057-408C-9871-5CF419E4A064}v3.14.0000\
Tested with a VM and an empty snapshot, to be sure to not have a tainted testing environment. (using WiX 3.8 + wixextba because i need ability to check for two directories listed and a few little checks here and there)
edit: with a fresh head this morning i tried it again, and reread all the logs probably the culprit may be (different guids, new run...)
[0FA0:054C][2015-07-16T10:09:48]w355: Unable to register source directory: C:\ProgramData\Package Cache\{39A0BA42-7EAB-435C-BADC-C531E5B16763}v3.14.0000\, product: {39A0BA42-7EAB-435C-BADC-C531E5B16763}, reason: 0x80070645. Continuing...
i found nothing regarding this error except for problems with Microsoft Security Essentials. Any clues?
edit2: MSDN Errorcodes 1605 is "ERROR_UNKNOWN_PRODUCT" yet the MSI Installation log has no "return value 3" and states
MSI (s) (90:78) [11:06:10:483]: Windows Installer installed the product. Product Name: MyProduct. Product Version: 3.14.0000. Product Language: 1031. Manufacturer: MyManufacturer. Installation success or error status: 0.
I can uninstall it when set Visible="yes".
To whom it may concern;
the problem was, that the MSI/wxs had Id='*'for Product. As soon as I fixed the Productcode (which will be changed for every release to get Major Upgrades) the registration does work and the MSI is properly uninstalled.
I have created a managed bootstrapper (wix v3.9.1208.0) that works a little like Visual studio/Resharper installers which works great in that:
On install it installs pre-requisites and installs or skips what you select from the list of available applications that are bundled up.
If you modify then it will uninstall/skip/install you selections.
Uninstall removes all non pre-requisite applications.
My problem is when I Upgrade. The applications being upgraded are installed with no problem and even the uninstall of the previous bundle gets kicked off at the end however this is where it all goes wrong.
It gets to the ApplyComplete event where I call the bootstrappers InvokeShutdown and then it stops. The last few lines of my log getting to this point is as follows with the error at the end.
[2950:1B18][2015-02-26T16:03:03]i207: Planned related bundle: {afe9a965-64d2-4656-a968-95ad1ca320a1}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None
[2950:1B18][2015-02-26T16:03:03]i201: Planned package: App1, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: Unregister
[2950:1B18][2015-02-26T16:03:03]i201: Planned package: LicenceManager, state: Present, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: Unregister
[2950:1B18][2015-02-26T16:03:03]i201: Planned package: vcRedistx64, state: Present, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2950:1B18][2015-02-26T16:03:03]i201: Planned package: NetFx452Web, state: Present, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2950:1B18][2015-02-26T16:03:03]i201: Planned package: dotnetfx35setup.exe, state: Present, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2950:1B18][2015-02-26T16:03:03]i000: Executing OnPlanComplete
[2950:1B18][2015-02-26T16:03:03]i299: Plan complete, result: 0x0
[2950:1B18][2015-02-26T16:03:03]i300: Apply begin
[2934:22D0][2015-02-26T16:03:03]i329: Removed package dependency provider: {93F9AE5C-EC11-4122-8F1D-11A4EEDAF4C9}, package: App1
[2934:22D0][2015-02-26T16:03:03]i329: Removed package dependency provider: {2326EAF9-A4C2-4AE0-A22B-8B8640B1A151}, package: LicenceManager
[2950:1B18][2015-02-26T16:03:03]i000: Executing OnExecuteComplete
[2934:22D0][2015-02-26T16:03:03]i330: Removed bundle dependency provider: {41b57ce1-0fc2-4761-9779-fb0dab861ce9}
[2934:22D0][2015-02-26T16:03:03]i352: Removing cached bundle: {41b57ce1-0fc2-4761-9779-fb0dab861ce9}, from path: C:\ProgramData\Package Cache\{41b57ce1-0fc2-4761-9779-fb0dab861ce9}\
[2950:1B18][2015-02-26T16:03:03]i000: Executing OnApplyComplete
[2950:1B18][2015-02-26T16:03:03]i000: OnApplyComplete() - Invoking shutdown due to Action being Uninstall
[2950:20E8][2015-02-26T16:03:03]e000: Unable to load DLL 'WtsApi32.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
I looked at procmon to see if i could get any more insight and found these as the last few entries. There is a delete pending for the WtsApi32.dll just before the log entry for the dll being locked. Is the shutdown trying to happen too early?
08:01:50.8330216 Bootstrapper.exe 12112 CreateFile C:\ProgramData\Package Cache\{6ab12c5b-558c-42b4-9f60-958771befc1c}\POWRPROF.DLL DELETE PENDING Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
08:01:50.8335070 Bootstrapper.exe 12112 CreateFile C:\Windows\Microsoft.NET\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WtsApi32.dll NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
08:01:50.8336118 Bootstrapper.exe 12112 CreateFile C:\ProgramData\Package Cache\{6ab12c5b-558c-42b4-9f60-958771befc1c}\WtsApi32.dll DELETE PENDING Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
08:01:50.8341131 Bootstrapper.exe 12112 WriteFile C:\Users\UserName\AppData\Local\Temp\BundleLog_20150227080127.log SUCCESS Offset: 6,794, Length: 146
The package folder where the wtsapi32.dll is trying to be deleted from does show as access denied if I try and go there in windows explorer.
turns out someone had commented out my logic in my custom BA override of Run to show the view in certain scenarios and not others. So when the Command.Display was Embedded the code was trying to display my view and hence I think dlls were getting locked on shutdown.
Oh well at least the cause is found!
I can find what the problem is. Wix finds new version, removes old but not install new. What can be the problem?
log
[0A3C:0A40][2014-12-01T01:32:53]i200: Plan begin, 2 packages, action: Install
[0A3C:0A40][2014-12-01T01:32:53]w321: Skipping dependency registration on package with no dependency providers: NetFx40Redist
[0A3C:0A40][2014-12-01T01:32:53]i201: Planned package: NetFx40Redist, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0A3C:0A40][2014-12-01T01:32:53]i201: Planned package: Synchronizer, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0A3C:0A40][2014-12-01T01:32:53]i207: Planned related bundle: {7d6ed5aa-7d5e-4ae7-821a-11a2299402c1}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None
[0A3C:0A40][2014-12-01T01:32:53]i299: Plan complete, result: 0x0
[0A3C:0A40][2014-12-01T01:32:53]i300: Apply begin
[0CB8:078C][2014-12-01T01:32:53]i360: Creating a system restore point.
[0CB8:078C][2014-12-01T01:33:12]i361: Created a system restore point.
[0CB8:078C][2014-12-01T01:33:12]i000: Caching bundle from: 'C:\Users\test\AppData\Local\Temp\{d345c5a3-17e8-4106-a8e6-c89c587c52e1}\.be\InstallerBundle.exe' to: 'C:\ProgramData\Package Cache\{d345c5a3-17e8-4106-a8e6-c89c587c52e1}\InstallerBundle.exe'
[0CB8:078C][2014-12-01T01:33:12]i320: Registering bundle dependency provider: {d345c5a3-17e8-4106-a8e6-c89c587c52e1}, version: 1.0.5.51
[0CB8:078C][2014-12-01T01:33:12]i301: Applying execute package: {7d6ed5aa-7d5e-4ae7-821a-11a2299402c1}, action: Uninstall, path: C:\ProgramData\Package Cache\{7d6ed5aa-7d5e-4ae7-821a-11a2299402c1}\InstallerBundle.exe, arguments: '"C:\ProgramData\Package Cache\{7d6ed5aa-7d5e-4ae7-821a-11a2299402c1}\InstallerBundle.exe" -uninstall -quiet -burn.related.upgrade -burn.ancestors={d345c5a3-17e8-4106-a8e6-c89c587c52e1}'
[0A3C:0A40][2014-12-01T01:33:24]i319: Applied execute package: {7d6ed5aa-7d5e-4ae7-821a-11a2299402c1}, result: 0x0, restart: None
[0A3C:0A40][2014-12-01T01:33:24]i399: Apply complete, result: 0x0, restart: None, ba requested restart: No
[0A3C:0A40][2014-12-01T01:35:27]i500: Shutting down, exit code: 0x0
my product.wxs (part of upgrading)
<Property Id='PREVIOUSVERSIONSINSTALLED' Secure='yes' />
<Upgrade Id="$(var.UpgradeCode)">
<UpgradeVersion OnlyDetect="yes"
Minimum="1.0.0.0"
Maximum='99.0.0.0'
IncludeMinimum="yes"
IncludeMaximum="no"
Property="PREVIOUSVERSIONSINSTALLED"
IgnoreRemoveFailure="yes" />
</Upgrade>
<InstallExecuteSequence>
<RemoveExistingProducts Before="InstallInitialize"/>
</InstallExecuteSequence>
What can cause this? Also, I should say that I have read questions about majorUpgrade and tried to add it but nothing changes. Moreover, this installer worked fine before last merge (but nothing is changed in installer). This is really frustrating.
I have setup a custom UI boot strap application. It seems pretty standard and im not sure the problem has anything to do with the custom UI side.
The problem is when I press install and call from c# code Engine.Plan(LaunchAction.Install);
nothing happens, no packages are installed, no events are fired from the bootsrapapplication. The log is updated with a message that to me says it is trying to install?
'Plan begin, 6 packages, action: Install'
;
[2AC8:28C8][2013-12-20T13:55:22]i001: Burn v3.9.10.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Projects\insite-ship\trunk\Insite.Ship\InstallerPackages\FullInstall.exe, cmdline: '-burn.unelevated BurnPipe.{782B0AE9-76D2-4CD2-A177-04B969ED5DC1} {475E24AF-43DA-4A90-9484-2B12BBD7CD34} 11044'
[2AC8:28C8][2013-12-20T13:55:22]i000: Initializing string variable 'INSTALLSQL' to value 'true'
[2AC8:28C8][2013-12-20T13:55:22]i000: Initializing string variable 'InstallEpicor' to value 'true'
[2AC8:28C8][2013-12-20T13:55:22]i000: Initializing string variable 'InstallIntegration' to value 'true'
[2AC8:28C8][2013-12-20T13:55:22]i000: Initializing string variable 'InstallPrint' to value 'true'
[2AC8:28C8][2013-12-20T13:55:22]i000: Initializing string variable 'InstallWeb' to value 'true'
[2AC8:28C8][2013-12-20T13:55:22]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\pwade\AppData\Local\Temp\Insite_Ship_Installer_FULL_20131220135522.log'
[2AC8:28C8][2013-12-20T13:55:22]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Projects\insite-ship\trunk\Insite.Ship\InstallerPackages\FullInstall.exe'
[2AC8:28C8][2013-12-20T13:55:22]i000: Setting string variable 'WixBundleName' to value 'Insite Ship Installer FULL'
[2AC8:28C8][2013-12-20T13:55:22]i000: Loading managed bootstrapper application.
[2AC8:28C8][2013-12-20T13:55:22]i000: Creating BA thread to run asynchronously.
[2AC8:2040][2013-12-20T13:55:22]i000: Launching custom TestBA UX
[2AC8:28C8][2013-12-20T13:55:22]i100: Detect begin, 6 packages
[2AC8:28C8][2013-12-20T13:55:22]i000: Setting string variable 'Netfx4x64FullVersion' to value '4.5.50938'
[2AC8:28C8][2013-12-20T13:55:22]i000: Setting string variable 'Netfx4FullVersion' to value '4.5.50938'
[2AC8:28C8][2013-12-20T13:55:22]i052: Condition 'Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion)' evaluates to true.
[2AC8:28C8][2013-12-20T13:55:22]i101: Detected package: Netfx4Full, state: Present, cached: None
[2AC8:28C8][2013-12-20T13:55:22]i101: Detected package: sql, state: Absent, cached: None
[2AC8:28C8][2013-12-20T13:55:22]i101: Detected package: epicor, state: Absent, cached: None
[2AC8:28C8][2013-12-20T13:55:22]i101: Detected package: integration, state: Absent, cached: None
[2AC8:28C8][2013-12-20T13:55:22]i101: Detected package: Print, state: Absent, cached: None
[2AC8:28C8][2013-12-20T13:55:22]i101: Detected package: Web, state: Absent, cached: None
[2AC8:28C8][2013-12-20T13:55:22]i199: Detect complete, result: 0x0
[2AC8:28C8][2013-12-20T13:55:29]i200: Plan begin, 6 packages, action: Install
[2AC8:28C8][2013-12-20T13:55:29]w321: Skipping dependency registration on package with no dependency providers: Netfx4Full
[2AC8:28C8][2013-12-20T13:55:29]w321: Skipping dependency registration on package with no dependency providers: sql
[2AC8:28C8][2013-12-20T13:55:29]i000: Setting string variable 'WixBundleLog_sql' to value 'C:\Users\pwade\AppData\Local\Temp\Insite_Ship_Installer_FULL_20131220135522_0_sql.log'
[2AC8:28C8][2013-12-20T13:55:29]i000: Setting string variable 'WixBundleRollbackLog_epicor' to value 'C:\Users\pwade\AppData\Local\Temp\Insite_Ship_Installer_FULL_20131220135522_1_epicor_rollback.log'
[2AC8:28C8][2013-12-20T13:55:29]i000: Setting string variable 'WixBundleLog_epicor' to value 'C:\Users\pwade\AppData\Local\Temp\Insite_Ship_Installer_FULL_20131220135522_1_epicor.log'
[2AC8:28C8][2013-12-20T13:55:29]i000: Setting string variable 'WixBundleRollbackLog_integration' to value 'C:\Users\pwade\AppData\Local\Temp\Insite_Ship_Installer_FULL_20131220135522_2_integration_rollback.log'
[2AC8:28C8][2013-12-20T13:55:29]i000: Setting string variable 'WixBundleLog_integration' to value 'C:\Users\pwade\AppData\Local\Temp\Insite_Ship_Installer_FULL_20131220135522_2_integration.log'
[2AC8:28C8][2013-12-20T13:55:29]i000: Setting string variable 'WixBundleRollbackLog_Print' to value 'C:\Users\pwade\AppData\Local\Temp\Insite_Ship_Installer_FULL_20131220135522_3_Print_rollback.log'
[2AC8:28C8][2013-12-20T13:55:29]i000: Setting string variable 'WixBundleLog_Print' to value 'C:\Users\pwade\AppData\Local\Temp\Insite_Ship_Installer_FULL_20131220135522_3_Print.log'
[2AC8:28C8][2013-12-20T13:55:29]i000: Setting string variable 'WixBundleRollbackLog_Web' to value 'C:\Users\pwade\AppData\Local\Temp\Insite_Ship_Installer_FULL_20131220135522_4_Web_rollback.log'
[2AC8:28C8][2013-12-20T13:55:29]i000: Setting string variable 'WixBundleLog_Web' to value 'C:\Users\pwade\AppData\Local\Temp\Insite_Ship_Installer_FULL_20131220135522_4_Web.log'
[2AC8:28C8][2013-12-20T13:55:29]i201: Planned package: Netfx4Full, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[2AC8:28C8][2013-12-20T13:55:29]i201: Planned package: sql, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[2AC8:28C8][2013-12-20T13:55:29]i201: Planned package: epicor, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[2AC8:28C8][2013-12-20T13:55:29]i201: Planned package: integration, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[2AC8:28C8][2013-12-20T13:55:29]i201: Planned package: Print, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[2AC8:28C8][2013-12-20T13:55:29]i201: Planned package: Web, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[2AC8:28C8][2013-12-20T13:55:29]i299: Plan complete, result: 0x0
Calling Plan() just sets up the execution plan. In order to actually perform the actions (install/uninstall, etc, the packages), you'll need to follow the Plan with a call to Engine.Apply(IntPtr.Zero).
Note: you'll want to hook into the PlanComplete event to know when planning is actually done, since it's an async process.
I've written a series of blog posts on writing a Wix custom managed UI installer, of which parts 4 and 5 talk about this exact process and you might find them helpful:
http://www.wrightfully.com/2013/01/part-1-of-writing-your-own-net-based.html
In my bundle i have code like this:
<?define RoboMongoUrl ="http://robomongo.org/files/windows/Robomongo-0.8.4-RC2-i386.exe"?>
<ExePackage Id="RoboMongo"
DisplayName="RoboMongo"
Cache="no"
Compressed="no"
PerMachine="yes"
Permanent="no"
Vital="yes"
Name="redist\Robomongo-0.8.4-RC2-i386.exe"
DownloadUrl="$(var.RoboMongoUrl)"
InstallCondition="ComponentSelect_5"
InstallCommand='/Action=Install '
UninstallCommand="/Action=Uninstall "
RepairCommand ="/Action=Repair"
DetectCondition="RoboMongoInstanceFound64 OR RoboMongoInstanceFound">
<RemotePayload Description="Программа администрирования MongoDB"
Version ="0.8.4.2"
ProductName="RoboMongo"
Hash="71C17E48BC32304FA8724FFA7CA1C4C08891BC97" Size="7141182" />
</ExePackage>
It compiles ok. But when i try to install, i get an error in log.
[04E0:0690][2013-11-19T16:27:41]i201: Planned package: NetFx40Web, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[04E0:0690][2013-11-19T16:27:41]i201: Planned package: SQLExpressx64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[04E0:0690][2013-11-19T16:27:41]i201: Planned package: SQLExpressx86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[04E0:0690][2013-11-19T16:27:41]i201: Planned package: MongoDB, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[04E0:0690][2013-11-19T16:27:41]i201: Planned package: RoboMongo, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: Yes, dependency: None
[04E0:0690][2013-11-19T16:27:41]i201: Planned package: Server, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: Yes, dependency: None
[04E0:0690][2013-11-19T16:27:41]i201: Planned package: MWP, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: Yes, dependency: None
[04E0:0690][2013-11-19T16:27:41]i299: Plan complete, result: 0x0
[04E0:0690][2013-11-19T16:27:41]i300: Apply begin
[04A8:01A0][2013-11-19T16:27:42]i360: Creating a system restore point.
[04A8:01A0][2013-11-19T16:27:49]i361: Created a system restore point.
[04E0:0690][2013-11-19T16:27:49]i000: Caching bundle from: 'C:\DOCUME~1\alex\LOCALS~1\Temp\{e0fb3d52-7a6a-40d4-a9ac-3f469271a9b3}\.be\FullInstallationBoot.exe' to: 'C:\Documents and Settings\alex\Local Settings\Application Data\Package Cache\{e0fb3d52-7a6a-40d4-a9ac-3f469271a9b3}\FullInstallationBoot.exe'
[04E0:0690][2013-11-19T16:27:49]i320: Registering bundle dependency provider: {e0fb3d52-7a6a-40d4-a9ac-3f469271a9b3}, version: 1.0.0.0
[04E0:00EC][2013-11-19T16:27:49]w343: Prompt for source of package: RoboMongo, payload: RoboMongo, path: E:\redist\Robomongo-0.8.4-RC2-i386.exe
[04E0:00EC][2013-11-19T16:27:49]e054: Failed to resolve source for file: E:\redist\Robomongo-0.8.4-RC2-i386.exe, error: 0x80070002.
[04E0:00EC][2013-11-19T16:27:49]e000: Error 0x80070002: Failed while prompting for source (original path 'E:\redist\Robomongo-0.8.4-RC2-i386.exe').
[04E0:00EC][2013-11-19T16:27:49]e313: Failed to acquire payload: RoboMongo to working path: C:\DOCUME~1\alex\LOCALS~1\Temp\{e0fb3d52-7a6a-40d4-a9ac-3f469271a9b3}\RoboMongo, error: 0x80070002.
[04E0:0690][2013-11-19T16:27:49]e000: Error 0x80070002: Failed while caching, aborting execution.
[04E0:0690][2013-11-19T16:27:49]i330: Removed bundle dependency provider: {e0fb3d52-7a6a-40d4-a9ac-3f469271a9b3}
[04E0:0690][2013-11-19T16:27:49]i352: Removing cached bundle: {e0fb3d52-7a6a-40d4-a9ac-3f469271a9b3}, from path: C:\Documents and Settings\alex\Local Settings\Application Data\Package Cache\{e0fb3d52-7a6a-40d4-a9ac-3f469271a9b3}\
[04E0:0690][2013-11-19T16:27:49]i399: Apply complete, result: 0x80070002, restart: None, ba requested restart: No
[04E0:0690][2013-11-19T16:27:49]i300: Apply begin
[04A8:01A0][2013-11-19T16:27:49]i360: Creating a system restore point.
It looks like it doesn't even try to download package from web. It is a bit confusing. Does anybody know what is wrong with my code? Thanks in advance.
Your BA needs to handle OnResolveSource to ask the Burn engine to download packages that don't exist locally.