I assume it's from the window text. Based on that assumption, try setting the
Text property on your winforms app and see if it is shown correctly in restart
manager. Do you have a hidden window that it may be picking up instead?
Thanks,
James
From: John Lalande [mailto:[EMAIL PROTECTED]
Sent: Friday, September 07, 2007 5:59 AM
To: Bob Arnson; James Finnigan
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] problem with MsiRMFilesInUse dialog
I have checked the verbose log file (using 'l*v' on the command line) and I
don't see anything helpful. Early on, the restart manager session starts then
nothing till the InstallValidate action where the log simply reports:
[19:36:09:822]: RESTART MANAGER: The user chose to go on with the installation,
although a reboot will be required.
Then nothing more till the uninstall is finished.
One thing that may impact the Restart Manager is that all of our forms are
custom .Net forms. We do not use the standard Windows title bar; we draw our
own vertical 'side bar'. I am assuming that the mechanism the Restart Manager
uses to find the Window names is different than what was used in the past; and
that our forms are not following that convention. Perhaps our custom form has
an unset property that Restart Manager needs in order to get the display name.
If I knew how Restart Manager gets the program name, I am hoping that we can
update our product accordingly.
It does find the window because if I choose to let the installer close my
program, it does just that. Furthermore, because our product uses an
out-of-proc COM server, that item *does* display but as the second item in the
list where the first item is a blank line.
John
On 9/6/07, James Finnigan <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
Restart Manager registration is to allow the apps to keep their same state
(e.g. open the same document just as the user had it before restarting). I
would be surprised if it affect the UI like this. However, there are cases
when restart manager can't get anything at all because in order to see who has
a file open you need to be able to get a file handle yourself. If the file is
opened with enough exclusivity, restart manager is unable to determine who has
the file open. This may be what you're seeing - checking what Bob told you is
a good way to see where the breakdown is.
HTH,
James
-----Original Message-----
From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto: [EMAIL
PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Bob Arnson
Sent: Thursday, September 06, 2007 5:07 PM
To: John Lalande
Cc: wix-users@lists.sourceforge.net <mailto:wix-users@lists.sourceforge.net>
Subject: Re: [WiX-users] problem with MsiRMFilesInUse dialog
John Lalande wrote:
> I am having a problem when uninstalling on Vista while my application
> is running. The FilesInUse dialog certainly displays, unfortunately
> the displayed list is completely empty.
>
> From where does the installer retrieve the application titles? On XP
> the FilesInUse dialog correctly shows my running application.
>
> Is there something missing in my application? I seen some
> documentation regarding registering with the Restart Manager. Is that
> necessary for the Vista FilesInUse dialog to work correctly?
MSI handles the Restart Manager integration; check a verbose log to see
what info MSI is getting from RM.
--
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users