Hi,

We created a custom BAL. Using this BAL we created a bundle containing Net
FX 4.51. Now we install it on a Win 7 VM. MBAPreq appears ->  Install NetFx
4.51 success -> Reboot -> OurBAL appears -> Start Install ->
[0380:0B04][2014-01-13T16:59:25]: Failed to resolve source for file:
C:\Users\MyCompany\Desktop\Release\MyBootstrapper.exe, error: 0x80070002.
[0380:0B04][2014-01-13T16:59:25]: Error 0x80070002: Failed while prompting
for source (original path
'C:\Users\MyCompany\Desktop\Release\MyBootstrapper.exe').

We did a renaming after building the Bundle!

Log:
[0250:0448][2014-01-13T16:51:00]: Caching bundle from:
'C:\Users\MyCompany\AppData\Local\Temp\{7add70a9-0569-413f-a5bd-5433197d64cf}\.be\MyBootstrapper.exe'
to: 'C:\ProgramData\Package
Cache\{7add70a9-0569-413f-a5bd-5433197d64cf}\MyBootstrapper.exe'
...
[0778:0AFC][2014-01-13T16:54:03]: Variable: WixBundleOriginalSource =
C:\Users\MyCompany\Desktop\Release\MyBootstrapper_1.00_x86.exe
...

0380:03EC][2014-01-13T16:59:25]: Apply begin
[0380:0B04][2014-01-13T16:59:25]: Prompt for source of container:
WixAttachedContainer, path:
C:\Users\MyCompany\Desktop\Release\MyBootstrapper.exe
[0380:0B04][2014-01-13T16:59:25]: Failed to resolve source for file:
C:\Users\MyCompany\Desktop\Release\MyBootstrapper.exe, error: 0x80070002.
[0380:0B04][2014-01-13T16:59:25]: Error 0x80070002: Failed while prompting
for source (original path
'C:\Users\MyCompany\Desktop\Release\MyBootstrapper.exe').
[0380:0B04][2014-01-13T16:59:25]: Failed to acquire container:
WixAttachedContainer to working path:
C:\Users\MyCompany\AppData\Local\Temp\{7add70a9-0569-413f-a5bd-5433197d64cf}\3313F36671A1B7780BFBBBF5676D50FA8797FD27,
error: 0x80070002.
[0380:03EC][2014-01-13T16:59:25]: Error 0x80070002: Failed while caching,
aborting execution.
[0380:03EC][2014-01-13T16:59:25]: Apply complete, result: 0x80070002,
restart: None, ba requested restart:  No

When not renaming bundle it works as expected.

So how to tell the engine to not use the stripped version in
C:\ProgramData\Package Cache\{7add70a9-0569-413f-a5bd-5433197d64cf} but use
the WixBundleOriginalSource instead? At first glance OnResolveSource seems
not to offer something here or am I missing something?

Or is renaming WiX Bundles no good idea by design?
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to