Hi Jeff.

 

The custom needs be placed in the proper sequence, such as before RemoveAllFiles. WiX, or more accurately MSI, isn’t organized towards stages of installation, but allows you to schedule events based on those stages.

 

Joel Peterson

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff MacDuff
Sent: Monday, November 06, 2006 8:16 AM
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to prompt to terminate process on uninstall

 

Ok a follow up question,

 

Where do I put the uninstall custom action at in the Wix file?

 

My wix file doesn’t contain any kind of remove / uninstall sections from what I can tell?

 

-JEff

 

From: Rob Mensching
Sent: Thursday, October 26, 2006 1:02 PM
To: Jeff MacDuff; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to prompt to terminate process on uninstall

 

wix\ src\ca\wixca\dll\CloseApps.cpp

 

From: Jeff MacDuff
Sent: Thursday, October 26, 2006 12:58
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to prompt to terminate process on uninstall

 

Ahh ok.. I understand.

 

Can you tell me more about this CloseApps CA ? Is this an existing item I can just hook into?

 

From: Rob Mensching
Sent: Thursday, October 26, 2006 12:58 PM
To: Jeff MacDuff; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to prompt to terminate process on uninstall

 

You’d have to use a CustomAction like CloseApps to kill off more than just those files that are held in use by a process with a visible window.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff MacDuff
Sent: Thursday, October 26, 2006 12:53
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to prompt to terminate process on uninstall

 

What is the correct method in the WIX file to list the process names that should / need to be killed before uninstall occurs?

 

What we are seeing is that if process A is running… the MSI at uninstall time will uninstall all of the other files ( dll’s / xml’s / etc ) and then prompt the user to reboot. At reboot the process A is removed.

 

The bug is that if the user chooses not to reboot.. and clicks on the process A systray icon this will cause process A to crash since it’s dependent files are now gone.

 

How do I tell the MSI uninstall process to kill process A ?

 

Thanks,

Jeff

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to