This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Howto add entry to FilesInUse dialog?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 20, 2008
09:10 PM
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.
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.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 21, 2008
12:20 PM
up:confused: :confused: :confused:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 21, 2008
05:39 PM
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 21, 2008
07:22 PM
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...
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...