In the log file, I see:
MSI (s) (28:F8) [01:13:38:389]: Scheduling file
'C:\WINDOWS\Installer\280e0aa.msi' for deletion during post-install cleanup
(not post-reboot).
and
MSI (s) (28:F8) [01:13:38:405]: Scheduling file
'C:\WINDOWS\Installer\{3E568507-73F2-4843-ADCC-885C8DD10D67}\DA.exe' for
deletion during post-install cleanup (not post-reboot).
Then later I see many lines similar to:
MSI (s) (28:F8) [01:13:40:170]: Executing op: FileRemove(,FileName=DA.exe
,,ComponentId={48481B50-DA2C-41CF-9F18-CEB62EF80E8D})
MSI (s) (28:F8) [01:13:40:170]: Verifying accessibility of file: DA.exe
Other than that, I really don't know what to look for.
I thought maybe one of my uninstall custom actions was hosing the uninstall,
but after taking them out and going through the install-run-uninstall
routine, I see the same behavior.
The log file finishes with the optimistic:
Action ended 1:13:45: INSTALL. Return value 1.
MSI (s) (28:F8) [01:13:45:389]: Note: 1: 1724
MSI (s) (28:F8) [01:13:45:389]: Product: Desktop Assistant -- Removal
completed successfully.
It looks like the only way around this is to scab in a custom action that
does not let the uninstall proceed unless the program is shutdown.
Yuck....
On 11/21/06, Rob Mensching <[EMAIL PROTECTED]> wrote:
I'm at a loss then. The log file message you note below is what I would
expect to see when a file is in use. Is there maybe something more about
the files in use in the log file?
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *John Lalande
*Sent:* Tuesday, November 21, 2006 15:30
*To:* Rob Mensching
*Cc:* Bob Arnson; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Uninstalling while application is running
I am not *explicitly* suppressing any dialogs. I have tried uninstalling
by right-clicking the MSI and selecting uninstall from the context menu, I
have tried uninstalling from the Add/Remove Programs applet, and at Bob's
suggestion I uninstalled using the command line (misexec /x ...) so that I
could log the uninstall. All result in the same behavior.
On 11/21/06, *Rob Mensching* <[EMAIL PROTECTED]> wrote:
You shouldn't need a custom action. If a file was in use then the Windows
Installer should prompt for install. How are you uninstalling the product?
Is it possible that you are suppressing the dialog that would tell you a
reboot is required?
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *John Lalande
*Sent:* Tuesday, November 21, 2006 14:29
*To:* Bob Arnson
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Uninstalling while application is running
Does my installer have to explicitly do something to reboot if the files
are in use? Is there a custom action I should be inserting into my
uninstall sequence?
This is a major bug in my installer.
On 11/21/06, *John Lalande* <[EMAIL PROTECTED]> wrote:
I have logged the uninstall, however I am not sure what I should be
looking for.
I see several entries similar to:
"FileX.dll is being held in use by the following process: ...Name: AppX,
Id: 4284, Window Title: '(not determined yet)'. Close that application and
retry."
Is there somthing in particular I should look for?
On 11/21/06, *Bob Arnson* < [EMAIL PROTECTED]> wrote:
John Lalande wrote:
> In this scenario, shouldn't the user be prompted to reboot and then
> the files removed on the reboot? Or did I fail to do something
> important when I write the installer?
Yes, you should have gotten a reboot prompt. Check a verbose log -- MSI
logs additional data when files are in use.
--
sig://boB
http://bobs.org
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users