cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
RomanGuzi
Level 3

Howto add entry to FilesInUse dialog?

Hello,
when I uninstall my basic MSI it automatically detects Internet Explorer which uses file that has to be deleted. So installer shows dialog stated that Internet explorer has to be closed. However it does not detect Firefox which is also has to be closed because it uses different file from installation.
After uninstall complete it asks me to restart machine because one file was used by firefox and installer wasn't able to delete it.

Is there is a way to add entry to FilesInUse dialog?

I created custom action and run it right after CostFinalize.
In custom action I am planning to insert record ???? to FilesInUse table???
so that InstallValidate action can display FilesInUse dialog with record I added manually. How can I insert that record?

Thank You.
Labels (1)
0 Kudos
(3) Replies
RomanGuzi
Level 3

up:confused: :confused: :confused:
0 Kudos
RobertDickau
Flexera Alumni

Please see this old newsletter tip for information about modifying the in-memory MSI database at run time (PDF warning): http://www.acresso.com/webdocuments/PDF/msiaccess.pdf.
0 Kudos
RomanGuzi
Level 3

Good spec!
But it did not help because table FilesInUse so well described in help (look for InstallValidate action) does not exists.
I start looking into some kind of workaround...
0 Kudos