Go Back   PackageDeploy Application Packaging Forums > Package Development > Application Packaging > Platformsdk MSI

Reply
 
LinkBack Thread Tools Display Modes
Old 05-17-2010, 03:01 PM   #1 (permalink)
Rob Hamflett
Guest
 
Posts: n/a
Default Running program detection - Windows Installer vs the OS

Hi all,

I have a question regarding the 'detect running programs' capabilities of Windows Installer. When
Vista came along the ability for an installer to detect what running programs were holding files
open was improved. My question is, how much of this is down to Vista and how much is down to
Windows Installer? We've been using the Windows Installer 4.5 redistributable, but XP is still not
asking the user to close the running programs that Vista is. In this case it's a COM component that
Visual Studio has loaded. My installer detects that it is running and requests a reboot, but this
results in different behaviour between XP and Vista. Is it just a difference in behaviour between
the operating systems, or should Windows Innstaller 4.5 be taking care of this?

Thanks,
Rob
  Reply With Quote
Old 05-18-2010, 06:01 PM   #2 (permalink)
Adrian Accinelli
Guest
 
Posts: n/a
Default Re: Running program detection - Windows Installer vs the OS

"Rob Hamflett" <rob@snsys.com> wrote in message
news:ukY2ULc9KHA.508@TK2MSFTNGP06.phx.gbl...
> Hi all,
> I have a question regarding the 'detect running programs' capabilities
> of Windows Installer. When Vista came along the ability for an
> installer to detect what running programs were holding files open was
> improved. My question is, how much of this is down to Vista and how much
> is down to Windows Installer? We've been using the Windows Installer
> 4.5 redistributable, but XP is still not asking the user to close the
> running programs that Vista is. In this case it's a COM component that
> Visual Studio has loaded. My installer detects that it is running and
> requests a reboot, but this results in different behaviour between XP
> and Vista. Is it just a difference in behaviour between the operating
> systems, or should Windows Innstaller 4.5 be taking care of this?
> Thanks,
> Rob

Hi Rob,

Vista has RestartManager support which Windows Installer 4.5 makes use of.
That is the reason the file in use detection works differently (and more
effectlively) on Vista than on XP.

Windows Installer does not have any additional improved support for file in
use detection on older platforms.

Sincerely,
Adrian Accinelli


  Reply With Quote
Old 05-19-2010, 09:01 AM   #3 (permalink)
Rob Hamflett
Guest
 
Posts: n/a
Default Re: Running program detection - Windows Installer vs the OS

On 18/05/2010 17:37, Adrian Accinelli wrote:
> Hi Rob,
>
> Vista has RestartManager support which Windows Installer 4.5 makes use of.
> That is the reason the file in use detection works differently (and more
> effectlively) on Vista than on XP.
>
> Windows Installer does not have any additional improved support for file in
> use detection on older platforms.


Excellent, thanks. This is what I suspected, but I didn't want to report this claim to our test
team without doing some digging first.

Rob
  Reply With Quote
Old 08-12-2010, 04:01 PM   #4 (permalink)
Kenneth A. Larsen
Guest
 
Posts: n/a
Default Re: Running program detection - Windows Installer vs the OS


"Rob Hamflett" <rob@snsys.com> wrote in message
news:ukY2ULc9KHA.508@TK2MSFTNGP06.phx.gbl...
> Hi all,
>
> I have a question regarding the 'detect running programs' capabilities of
> Windows Installer. When Vista came along the ability for an installer to
> detect what running programs were holding files open was improved. My
> question is, how much of this is down to Vista and how much is down to
> Windows Installer? We've been using the Windows Installer 4.5
> redistributable, but XP is still not asking the user to close the running
> programs that Vista is. In this case it's a COM component that Visual
> Studio has loaded. My installer detects that it is running and requests a
> reboot, but this results in different behaviour between XP and Vista. Is
> it just a difference in behaviour between the operating systems, or should
> Windows Innstaller 4.5 be taking care of this?
>
> Thanks,
> Rob



You're welcome!


  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:21 AM.


vBulletin, Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
2007 - 2012 PackageDeploy.com