Is it real to create the custom action, that checks rewrite access to file before each copy operation during product installation ? I need to show dialog with locked file name. Information about running application is not obligatory.
For example simple dialog: ---------------------------------------------- File "c:\MyProgram\lib.dll" is locked ! ---------------------------------------------- [Retry] [Abort] ---------------------------------------------- --- Alexander Biryukov On Tue, 22 Aug 2006 18:10:32 +0400, Chesong Lee <[EMAIL PROTECTED]> wrote: > > FilesInUse mechanism in MSI only *shows* files in use associated with > top-level Windows in the current session. If you want to prevent reboot, > I hate to say this but you need a custom action. Most of the > non-standard processing requires a custom action. WiX toolset has > several custom actions but your scenario can be too application-specific > to fit into the general WiX custom actions. > > > A scenario is to detect the application running in other sessions > (possibly with help of your application) from your custom action and ask > the user to close the application before continuing setup. Dialog can be > invoked from the custom action with MsiProcessMessage (FilesInUseDialog > can be specified with INSTALLMESSAGE_FILESINUSE). > > > Regards, > > > Chesong Lee > > > ________________________________ > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Nat > Luengnaruemitchai > Sent: Tuesday, August 22, 2006 7:39 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Citrix and FilesInUse > > > Hi, > > > I'm using WiX 2.0 to create an MSI installer for a Citrix application. I > found out that FilesInUse cannot detect files in use by other users in > the same Citrix server i.e. it doesn't provide any warning before do the > installation. Therefore, at the end, it will tell me that I need to > reboot the Citrix server. Is there a way to force FilesInUse to detect > more thoroughly? > > > P.S. I have admin right on the machine. > > > Thanks, > > Nat > ------------------------------------------------------------------------- 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