BURN (WIX bootstrapper) - files in use dialog not being shown
Asked Answered
M

1

5

I have created a WIX msi for one of our products which works really well. The product is a Word addin and at upgrade/uninstall the msi automatically checks if Word is open (ie. my assemblies are currently locked in execution) and if it is, then it comes up with the Files In Use dialog.

The only improvement I would like to make is at installation time. I would like to check whether word is open and force close before install. It would be great to do so, using the same Files In Use UI. Is there an easy way to do this?

I have also created a custom bootstrapper (unmanaged), using the sample code from the toolset. Overall this is really good too, however I have real problems when upgrading/uninstalling. Ideally, I don’t want to DisplayInternalUI but I would like the Files In Use to pop up when necessary. Is this possible?

Manzo answered 7/3, 2014 at 10:52 Comment(0)
D
8

The feature request 4382 was implemented and is available in v3.10.0.1726. Set ShowFilesInUse to yes in the WixStandardBootstrapperApplication element.

Daile answered 4/6, 2015 at 23:29 Comment(1)
Thank you for letting me knowManzo

© 2022 - 2024 — McMap. All rights reserved.