Thanks,
Rajneesh...
If you really want to do this, it looks like simply ommiting the FilesInUse
dialog might do the trick. Be forewarned that it will at the very least create
validation warnings...
--
R. Michael Sanford
Windows Installer MVP
+++++++++++++++++++++++++++++++++++++++++++++++++++++
"Rajneesh" <rajnees...@hotmail.com> wrote in message
news:eYSCUGh...@tk2msftngp13.phx.gbl...
I will try to remove the FilesInUse dialog and see if that gives any
problems.
Thanks,
Rajneesh...
"Michael Sanford [MVP]" <msan...@activeinstall.com> wrote in message
news:uRuxQphf...@TK2MSFTNGP12.phx.gbl...
But as per the documentation, you are not supposed to get that FileInUse
dialog when the process launching the install is holding the back the file.
The documetation says this -
If you expect the installer to display a FilesInUseDialog, but it does not,
this may be due to one of the following reasons:
a.. The files in use are not executables.
b.. The installer is not actually trying to install those files.
c.. The process holding those files is the process invoking the
installation.
d.. The process holding those files is one that does not have a window
with a title associated with it.
How are you launching the install? Instead of launching msiexec straight,
try calling MsiInstallProduct or MsiConfigureProduct.
--
Regards,
Sajan.
PS: Please don't send me direct emails, use the newsroom.
"Rajneesh" <rajnees...@hotmail.com> wrote in message
news:egmBtshf...@TK2MSFTNGP11.phx.gbl...
For any of the MSI team members:- If there any other way disable this.
I will try to use the MSI Api Calls and see if this solves the problem.
Thanks,
Rajneesh...
"Kallely Sajan" <saj...@hotmail.com> wrote in message
news:OdW1j1h...@TK2MSFTNGP11.phx.gbl...
I also tried the options given in the the MSI help library section titled
"Handling Progress Messages Using MsiSetExternalUI". In this i could trap
the INSTALLMESSAGE_FILESINUSE and ignore it. This does not help me either
because i will need to run the setup in silent or basic UI mode. I need to
run this in FULL UI as i need some inputs from the user.
Any of the MSI team members:
Please let me know of a way to trick MSI to not display the FilesInUse
dialog when running in Full UI mode.
Any help will be deeply appreciated.
Rajneesh...
"Rajneesh" <rajnees...@hotmail.com> wrote in message
news:OmggHDif...@TK2MSFTNGP12.phx.gbl...
Regards,
Sajan.
PS: Please don't send me direct emails, use the newsroom.
"Rajneesh" <rajnees...@hotmail.com> wrote in message
news:OmggHDif...@TK2MSFTNGP12.phx.gbl...
--
Stefan Krueger
Microsoft Windows Installer MVP
Please post your questions in the newsgroup or vist one of these web sites:
Windows Installer FAQ
http://www.msifaq.com - http://www.msifaq.de
InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)
"Rajneesh" <rajnees...@hotmail.com> schrieb im Newsbeitrag
news:OmggHDif...@TK2MSFTNGP12.phx.gbl...
If i remove the dialog altogether, MSI just throws an error diaog with
"Internal 2803: FilesInUse" error but goes ahead with the setup and does not
fail. I even tried to null the "ErrorDialog" property just before
InstallValidate and resetted it back to the SetupError dialog value hoping
that it will not display the error dialog. But then it still went ahead and
displayed it still.
Does the MSI team in this newsgroup have any answers?
Rajneesh...
"Stefan Krueger [MVP]" <nws...@installsite.net> wrote in message
news:OPl39lif...@TK2MSFTNGP09.phx.gbl...
After struggling for about 3 hours, looks like I was finally able to figure
out how to trick MSI to NOT display the FilesInUse dialog.
All i did was set the Attribute property in the FilesInUse Dialog row in the
Dialog table to 0 (Zero).
This seems to have done the trick. At InstallValidate, MSI I believe tries
to load the dialog and since the msidbDialogAttributesVisible property is
not set, all i see is just a flash and the setup goes on. It does prompt for
a reboot in the end, which is even better.
Any MSI Team member:
I still need to know from the MSI team, if this solution will have any
repercussions. Is this the intended behavior and that it will not change in
future releases of MSI engine.
Thanks for all those who tired to help me with this.
Sincerely,
Rajneesh...
If it is not very complicated, other suggestion I will make is to capture
the inputs from a non-install dialog, and launch the installation silently.
--
Regards,
Sajan.
PS: Please don't send me direct emails, use the newsroom.
"Rajneesh" <rajnees...@hotmail.com> wrote in message
news:#fIBS9if...@tk2msftngp13.phx.gbl...
I left the Attribute column empty and the behavior is the same as setting it
to 0. I agree leaving it empty is definitely better than setting it to 0, so
i will go with that.
I really cannot use an external UI to capture the information and then
launch the setup with /qb. It is just not feasible at this point.
Thanks for you help.
Rajneesh...
"Kallely Sajan" <saj...@hotmail.com> wrote in message
news:%23HoguUj...@tk2msftngp13.phx.gbl...
"If no dialog box named FilesInUse is found, or if the database has no
ListBox table, InstallValidate exits silently without an error."
So you could take out the dialog and get the behavior you wanted. But now it
reads:
"If there is no ListBox table in the database, InstallValidate exits
silently without an error."
The MSI team seems to have made this change for some reason. Or maybe that's
how it has always been, and they fixed the documentation to reflect reality.
In this case, I actually believe it is the former - I vaguely remember
playing with the FilesInUse dialog couple of years ago.
If you have no other ListBox controls, perhaps you can try dropping the
ListBox table and see if that works.
Naren
"Rajneesh" <rajnees...@hotmail.com> wrote in message
news:%23cZ7Tsi...@TK2MSFTNGP12.phx.gbl...