Re: [WiX-users] MsiRMFilesInUse example to restart browsers

2012-04-26 Thread Wilson, Phil
Are you maybe misunderstanding the FilesInUse dialogs? Windows decides to show 
this or nor based on what files need replacing, whether they are in use, their 
versions etc.  CloseApplication is not the same thing at all - it's a WiX 
feature that closes applications. 

Phil W 

-Original Message-
From: E. Timothy Uy [mailto:t...@loqu8.com] 
Sent: Thursday, April 26, 2012 9:22 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] MsiRMFilesInUse example to restart browsers

With chrome in the mix, nothing at all (not even IE or Firefox) gets terminated.

Action 9:04:37: WixRegisterRestartResources.
Action start 9:04:37: WixRegisterRestartResources.
WixRegisterRestartResources:  Entering WixRegisterRestartResources in 
C:\Windows\Installer\MSI7074.tmp, version 3.6.2809.0
WixRegisterRestartResources:  Registering process name iexplore.exe with the 
Restart Manager.
WixRegisterRestartResources:  Registering process name firefox.exe with the 
Restart Manager.
WixRegisterRestartResources:  Registering process name chrome.exe with the 
Restart Manager.
Action ended 9:04:38: WixRegisterRestartResources. Return value 1.
Action 9:04:38: InstallValidate. Validating install Action start 9:04:38: 
InstallValidate.
Action 9:04:43: ShutdownApplications. Shutting down applications The setup was 
unable to automatically close all requested applications.
Please ensure that the applications holding files in use are closed before 
continuing with the installation.
Action ended 9:04:54: InstallValidate. Return value 1.



On Wed, Apr 25, 2012 at 3:59 PM, E. Timothy Uy  wrote:

> chrome.exe  - does not close
> firefox.exe - closes, but never restarts iexplore.exe - closes and 
> restarts (blank page)
>
>
> On Wed, Apr 25, 2012 at 2:50 PM, E. Timothy Uy  wrote:
>
>> The plot thickens. Removing Chrome from the mix makes it work.
>>
>>  
>> > />
>>
>> Is this solvable? I did notice that chrome.exe uses a lot of processes.
>> Could this be the issue? Is there a limit on the # of processes?
>>
>> On Wed, Apr 25, 2012 at 2:14 PM, E. Timothy Uy  wrote:
>>
>>> I was able to show the FilesInUse (for iexplore, chrome and firefox) 
>>> but just adding
>>>
>>> 
>>> 
>>> >> />
>>>
>>> However, clicking on attempt to close prompted me with
>>>
>>> The setup was unable to automatically close all requested applications.
>>> Please ensure that the applications holding files in use are closed 
>>> before continuing with the installation.
>>>
>>> None of the browser instances are closed.
>>>
>>> Any advice would be much appreciated.
>>>
>>> Respectfully,
>>> Tim
>>>
>>> On Wed, Apr 25, 2012 at 1:56 PM, E. Timothy Uy  wrote:
>>>
>>>> Looks like RM only works with Vista+. What is the fallback for XP?
>>>>
>>>>
>>>> On Wed, Apr 25, 2012 at 1:53 PM, E. Timothy Uy  wrote:
>>>>
>>>>> Dear Rob et al.,
>>>>>
>>>>> Thanks everyone for being so gracious. This time I would like the 
>>>>> installer to shutdown any browsers (IE, Chrome, Firefox) prior to 
>>>>> installation, and restart them after installation completes. I 
>>>>> think I should use MsiRMFilesInUse but have not been able to 
>>>>> locate any samples or instructions. Is this used with 
>>>>> util:CloseApplication?
>>>>>
>>>>> I gather that I need  in UI. Can 
>>>>> I use WixUI_InstallDir or should I be using Mondo? A completed 
>>>>> example would be ideal. The How To Guides are fantastic.
>>>>>
>>>>> Respectfully,
>>>>> Tim
>>>>>
>>>>
>>>>
>>>
>>
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify th

Re: [WiX-users] MsiRMFilesInUse example to restart browsers

2012-04-26 Thread E. Timothy Uy
With chrome in the mix, nothing at all (not even IE or Firefox) gets
terminated.

Action 9:04:37: WixRegisterRestartResources.
Action start 9:04:37: WixRegisterRestartResources.
WixRegisterRestartResources:  Entering WixRegisterRestartResources in
C:\Windows\Installer\MSI7074.tmp, version 3.6.2809.0
WixRegisterRestartResources:  Registering process name iexplore.exe with
the Restart Manager.
WixRegisterRestartResources:  Registering process name firefox.exe with the
Restart Manager.
WixRegisterRestartResources:  Registering process name chrome.exe with the
Restart Manager.
Action ended 9:04:38: WixRegisterRestartResources. Return value 1.
Action 9:04:38: InstallValidate. Validating install
Action start 9:04:38: InstallValidate.
Action 9:04:43: ShutdownApplications. Shutting down applications
The setup was unable to automatically close all requested applications.
Please ensure that the applications holding files in use are closed before
continuing with the installation.
Action ended 9:04:54: InstallValidate. Return value 1.



On Wed, Apr 25, 2012 at 3:59 PM, E. Timothy Uy  wrote:

> chrome.exe  - does not close
> firefox.exe - closes, but never restarts
> iexplore.exe - closes and restarts (blank page)
>
>
> On Wed, Apr 25, 2012 at 2:50 PM, E. Timothy Uy  wrote:
>
>> The plot thickens. Removing Chrome from the mix makes it work.
>>
>> 
>> 
>>
>> Is this solvable? I did notice that chrome.exe uses a lot of processes.
>> Could this be the issue? Is there a limit on the # of processes?
>>
>> On Wed, Apr 25, 2012 at 2:14 PM, E. Timothy Uy  wrote:
>>
>>> I was able to show the FilesInUse (for iexplore, chrome and firefox) but
>>> just adding
>>>
>>> 
>>> 
>>> >> />
>>>
>>> However, clicking on attempt to close prompted me with
>>>
>>> The setup was unable to automatically close all requested applications.
>>> Please ensure that the applications holding files in use are closed before
>>> continuing with the installation.
>>>
>>> None of the browser instances are closed.
>>>
>>> Any advice would be much appreciated.
>>>
>>> Respectfully,
>>> Tim
>>>
>>> On Wed, Apr 25, 2012 at 1:56 PM, E. Timothy Uy  wrote:
>>>
 Looks like RM only works with Vista+. What is the fallback for XP?


 On Wed, Apr 25, 2012 at 1:53 PM, E. Timothy Uy  wrote:

> Dear Rob et al.,
>
> Thanks everyone for being so gracious. This time I would like the
> installer to shutdown any browsers (IE, Chrome, Firefox) prior to
> installation, and restart them after installation completes. I think I
> should use MsiRMFilesInUse but have not been able to locate any samples or
> instructions. Is this used with util:CloseApplication?
>
> I gather that I need  in UI. Can I
> use WixUI_InstallDir or should I be using Mondo? A completed example would
> be ideal. The How To Guides are fantastic.
>
> Respectfully,
> Tim
>


>>>
>>
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MsiRMFilesInUse example to restart browsers

2012-04-25 Thread E. Timothy Uy
chrome.exe  - does not close
firefox.exe - closes, but never restarts
iexplore.exe - closes and restarts (blank page)

On Wed, Apr 25, 2012 at 2:50 PM, E. Timothy Uy  wrote:

> The plot thickens. Removing Chrome from the mix makes it work.
>
> 
> 
>
> Is this solvable? I did notice that chrome.exe uses a lot of processes.
> Could this be the issue? Is there a limit on the # of processes?
>
> On Wed, Apr 25, 2012 at 2:14 PM, E. Timothy Uy  wrote:
>
>> I was able to show the FilesInUse (for iexplore, chrome and firefox) but
>> just adding
>>
>> 
>> 
>> 
>>
>> However, clicking on attempt to close prompted me with
>>
>> The setup was unable to automatically close all requested applications.
>> Please ensure that the applications holding files in use are closed before
>> continuing with the installation.
>>
>> None of the browser instances are closed.
>>
>> Any advice would be much appreciated.
>>
>> Respectfully,
>> Tim
>>
>> On Wed, Apr 25, 2012 at 1:56 PM, E. Timothy Uy  wrote:
>>
>>> Looks like RM only works with Vista+. What is the fallback for XP?
>>>
>>>
>>> On Wed, Apr 25, 2012 at 1:53 PM, E. Timothy Uy  wrote:
>>>
 Dear Rob et al.,

 Thanks everyone for being so gracious. This time I would like the
 installer to shutdown any browsers (IE, Chrome, Firefox) prior to
 installation, and restart them after installation completes. I think I
 should use MsiRMFilesInUse but have not been able to locate any samples or
 instructions. Is this used with util:CloseApplication?

 I gather that I need  in UI. Can I
 use WixUI_InstallDir or should I be using Mondo? A completed example would
 be ideal. The How To Guides are fantastic.

 Respectfully,
 Tim

>>>
>>>
>>
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MsiRMFilesInUse example to restart browsers

2012-04-25 Thread E. Timothy Uy
The plot thickens. Removing Chrome from the mix makes it work.




Is this solvable? I did notice that chrome.exe uses a lot of processes.
Could this be the issue? Is there a limit on the # of processes?

On Wed, Apr 25, 2012 at 2:14 PM, E. Timothy Uy  wrote:

> I was able to show the FilesInUse (for iexplore, chrome and firefox) but
> just adding
>
> 
> 
> 
>
> However, clicking on attempt to close prompted me with
>
> The setup was unable to automatically close all requested applications.
> Please ensure that the applications holding files in use are closed before
> continuing with the installation.
>
> None of the browser instances are closed.
>
> Any advice would be much appreciated.
>
> Respectfully,
> Tim
>
> On Wed, Apr 25, 2012 at 1:56 PM, E. Timothy Uy  wrote:
>
>> Looks like RM only works with Vista+. What is the fallback for XP?
>>
>>
>> On Wed, Apr 25, 2012 at 1:53 PM, E. Timothy Uy  wrote:
>>
>>> Dear Rob et al.,
>>>
>>> Thanks everyone for being so gracious. This time I would like the
>>> installer to shutdown any browsers (IE, Chrome, Firefox) prior to
>>> installation, and restart them after installation completes. I think I
>>> should use MsiRMFilesInUse but have not been able to locate any samples or
>>> instructions. Is this used with util:CloseApplication?
>>>
>>> I gather that I need  in UI. Can I use
>>> WixUI_InstallDir or should I be using Mondo? A completed example would be
>>> ideal. The How To Guides are fantastic.
>>>
>>> Respectfully,
>>> Tim
>>>
>>
>>
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MsiRMFilesInUse example to restart browsers

2012-04-25 Thread E. Timothy Uy
I was able to show the FilesInUse (for iexplore, chrome and firefox) but
just adding





However, clicking on attempt to close prompted me with

The setup was unable to automatically close all requested applications.
Please ensure that the applications holding files in use are closed before
continuing with the installation.

None of the browser instances are closed.

Any advice would be much appreciated.

Respectfully,
Tim

On Wed, Apr 25, 2012 at 1:56 PM, E. Timothy Uy  wrote:

> Looks like RM only works with Vista+. What is the fallback for XP?
>
>
> On Wed, Apr 25, 2012 at 1:53 PM, E. Timothy Uy  wrote:
>
>> Dear Rob et al.,
>>
>> Thanks everyone for being so gracious. This time I would like the
>> installer to shutdown any browsers (IE, Chrome, Firefox) prior to
>> installation, and restart them after installation completes. I think I
>> should use MsiRMFilesInUse but have not been able to locate any samples or
>> instructions. Is this used with util:CloseApplication?
>>
>> I gather that I need  in UI. Can I use
>> WixUI_InstallDir or should I be using Mondo? A completed example would be
>> ideal. The How To Guides are fantastic.
>>
>> Respectfully,
>> Tim
>>
>
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MsiRMFilesInUse example to restart browsers

2012-04-25 Thread E. Timothy Uy
Looks like RM only works with Vista+. What is the fallback for XP?

On Wed, Apr 25, 2012 at 1:53 PM, E. Timothy Uy  wrote:

> Dear Rob et al.,
>
> Thanks everyone for being so gracious. This time I would like the
> installer to shutdown any browsers (IE, Chrome, Firefox) prior to
> installation, and restart them after installation completes. I think I
> should use MsiRMFilesInUse but have not been able to locate any samples or
> instructions. Is this used with util:CloseApplication?
>
> I gather that I need  in UI. Can I use
> WixUI_InstallDir or should I be using Mondo? A completed example would be
> ideal. The How To Guides are fantastic.
>
> Respectfully,
> Tim
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users