Thanks for suggestion, Bob.

But there are still some cases when I don't know how to ask user to free
the file before actually performing the file remove attempt and thus
reboot schedule. For instance, if aspnet_wp locks the *.db files,
according to Windows Installer reboot behavior
(http://blogs.msdn.com/windows_installer_team/archive/2005/09/19/470980.
aspx), FilesInUse won't pop up - it is neither an executable file which
is locked, nor it has the window with title...

What's the best practice here? Are there any options to know which files
are locked and inject an action before InstallValidate to handle the
stuff?

Sorry if it is a silly question, just failed to find a hint about it...
Thank you.

-- Yan

-----Original Message-----
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Tuesday, March 17, 2009 2:55 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] System reboot and WinLogo requirements

Yan Sklyarenko wrote:
> So, what's the compromise? Is it a good practice to suppress reboot
> setting the REBOOT property? What's the best practice working with
> "reboot mechanism" in general?
>   

Prompt the user to close the app that keeps the files locked. If not 
possible, take the reboot.

-- 
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------
------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based
development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to