[wix-users] (no subject)

Ивайло Гугалов ivaylogugalov at gmail.com
Mon Apr 5 04:09:15 PDT 2021


Hello,

I have a custom Bootstrapper UI, which is installing an exe package inside
the Bundle element.
I am trying to upgrade my previous Bundle (which hasn't any upgrade logic
in it). To do this, I am uninstalling the previously installed EXE file and
Bundle completely and then trying to install the new version of the Bundle
and EXE.
I am doing this with my custom Bootstrapper and the
"bootstrapper.Engine.Plan(LaunchAction.Install)" and having an
"InstallCondition" on my ExePackage element.
So firstly, the previous Bundle is uninstalled with the EXE inside, which
is working fine.
Afterwards I am trying again to
run "bootstrapper.Engine.Plan(LaunchAction.Install)" so the new Bundle and
new EXE could be installed, which is not working:

[2021-04-05T01:40:07]i207: Planned related bundle:
{0fc6742b-7df8-4629-bcbc-d56e4615491a}, type: Upgrade, default requested:
Absent, ba requested: Absent, execute: Uninstall, rollback: Install,
dependency: None

[2021-04-05T01:40:07]i301: Applying execute package:
{0fc6742b-7df8-4629-bcbc-d56e4615491a}, action: Uninstall, path:
C:\Users\user\AppData\Local\Package
Cache\{0fc6742b-7df8-4629-bcbc-d56e4615491a}\MyBundle.exe, arguments:
'"C:\Users\Ivaylo\AppData\Local\Package
Cache\{0fc6742b-7df8-4629-bcbc-d56e4615491a}\MyBundle.exe" -uninstall
-quiet -burn.related.upgrade
-burn.ancestors={53d63072-2238-4f98-8f96-271cd5524d21}'

[2021-04-05T01:40:07]e000: Error 0x80070003: Failed to create embedded
process at path: C:\Users\user\AppData\Local\Package
Cache\{0fc6742b-7df8-4629-bcbc-d56e4615491a}\MyBundle.exe

[2021-04-05T01:40:07]e000: Error 0x80070003: Failed to run bundle as
embedded from path: C:\Users\Ivaylo\AppData\Local\Package
Cache\{0fc6742b-7df8-4629-bcbc-d56e4615491a}\MyBundle.exe

0fc6742b-7df8-4629-bcbc-d56e4615491a is the GUID of the old Bundle.
I am assuming that my new Bundle is not realizing that it needs to try and
install itself, but rather it's retrying to uninstall the previous version
again.
Is there a way to install the new Bundle and new EXE package after
uninstalling the old ones?


More information about the wix-users mailing list