Hi, i've been a bit distracted so got half way through trying to implement this..
I'm installing an IE plugin so would like to prompt the user to get them to restart IE (or at least ask if they want to) and i'm having a few problems I can use the closeApplication custom action to set a property as follows: <util:CloseApplication Id="CheckIE" CloseMessage="no" Property="IERunning" Target="iexplore.exe" RebootPrompt="no"/><InstallUISequence><Custom Action="WixCloseApplications" Before="AppSearch"/></InstallUISequence>and then use that to display a dialog during installation asking if the user would like IE to be restarted and sets a property if required. But then i come unstuck. I've tried to use the Description property of CloseApplication to display a message, but that doesn't seem to work. I've also tried to schedule another CloseApplication to occur at the end of the install based on the value of my property: <util:CloseApplication Id="CloseIE" CloseMessage="yes" Target="iexplore.exe" RebootPrompt="no">AutoRestartIE</util:CloseApplication><InstallExecuteSequence><Custom Action="WixCloseApplications" After="InstallValidate"/></InstallExecuteSequence>Where AutoRestartIE is the property set by the dialog. It seems that only one of the CloseApplication actions is run (which ever is listed first) and i've tried to add a sequence value to them to no avail. the relevant output of the log is like this: Doing action: WixCloseApplicationsAction 17:36: WixCloseApplications. Action start 17:36: WixCloseApplications.MSI (c) (4C:50) [17:36:26:316]: Invoking remote custom action. DLL: c:\temp\MSI11A9.tmp, Entrypoint: WixCloseApplicationsMSI (c) (4C:60) [17:36:26:316]: Cloaking enabled.MSI (c) (4C:60) [17:36:26:316]: Attempting to enable all disabled priveleges before calling Install on ServerMSI (c) (4C:60) [17:36:26:316]: Connected to service for CA interface.WixCloseApplications: Checking App: iexplore.exe WixCloseApplications: App: iexplore.exe found running, 1 processes, setting 'IERunning' property.MSI (c) (4C!38) [17:36:26:394]: PROPERTY CHANGE: Adding IERunning property. Its value is '1'.Action ended 17:36: WixCloseApplications. Return value 1.MSI (c) (4C:54) [17:36:26:394]: Doing action: AppSearch...Action 17:36: RestartIEDlg. Dialog createdMSI (c) (4C:8C) [17:36:29:800]: PROPERTY CHANGE: Adding AutoRestartIE property. Its value is '1'....Doing action: WixCloseApplicationsAction 17:36: WixCloseApplications. Action start 17:36: WixCloseApplications.MSI (s) (FC:74) [17:36:32:175]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI11AA.tmp, Entrypoint: WixCloseApplicationsMSI (s) (FC:28) [17:36:32:175]: Generating random cookie.MSI (s) (FC:28) [17:36:32:175]: Created Custom Action Server with PID 3388 (0xD3C).MSI (s) (FC:E4) [17:36:32:206]: Running as a service.MSI (s) (FC:E4) [17:36:32:206]: Hello, I'm your 32bit Impersonated custom action server.WixCloseApplications: Checking App: iexplore.exe WixCloseApplications: App: iexplore.exe found running, 1 processes, setting 'IERunning' property.MSI (s) (FC!EC) [17:36:32:238]: PROPERTY CHANGE: Adding IERunning property. Its value is '1'.Action ended 17:36: WixCloseApplications. Return value 1.MSI (s) (FC:C8) [17:36:32:238]: Doing action: InstallValidateAction 17:36: InstallValidate. Validating install Is what i'm trying possible or is there something i'm missing? Has any one any ideas... Thanks -- Got needs? Get Goblin'! - http://www.pricegoblin.co.uk/ ------------------------------------------------------------------------- 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