Chad,
Yes my application has a regular Window that shows up in the Explorer
taskbar.  I'll see if I can debug the code to see where it's failing.

Thanks,
Mike

-----Original Message-----
From: Chad Petersen <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] CloseApplication not working
To: "General discussion for Windows Installer XML toolset."
        <wix-users@lists.sourceforge.net>
Message-ID:
        
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

If you run you test.exe and look in the taskbar does it show the icon
for your application? I've seen some problems if the application is just
a process without a taskbar icon. Even SysTray applications don't always
seem to work. Short of that I don't know.

I ended up going with a custom action and popup dialog to display the
running processes (applications, Services, etc.) and not let the user
passed this dialog until it is all clear. They can go close
applications, stop Services, and if necessary, use Task Manager to end
anything else deemed necessary.

A verbose log will show what processes are using which files that your
installer is trying to replace, which was real handy to determine what
to add to the list. A person can search the log for "in use" to find the
troublemakers.

Chad

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Ballou
Sent: Monday, July 14, 2008 11:29 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] CloseApplication not working

I added the CloseApplication Wix feature to my install, but it doesn't
seem to be working.  In the MSI log it detects my EXE is running, but it
doesn't seem to send the WM_CLOSE message to shut it down.  I used the
old Spy++ tool to watch the window messages and I never see that
message.  It does flag the install to reboot at the end however.

Here is my xml entry for it.

    <util:CloseApplication Id="test" CloseMessage="yes"
Description="!(loc.RestartTestUI)" Target="test.exe"
Property="TESTRUNNING" />

Any ideas what might be going wrong?  

Thanks,
Mike

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to