Thanks for your comments, it is good to know it should work. StopServices is before RemoveFiles. Interestingly it also happens on a normal uninstall so a least it is consistent.
Neil -----Original Message----- From: Eric St.John [mailto:eric.st.j...@hotmail.com] Sent: 12 May 2009 17:33 To: wix-users Subject: Re: [WiX-users] Files in use Neil, we run into the same issue with our product, but normally restart manager catches it: MSI (s) (6C:2C) [17:29:11:221]: RESTART MANAGER: Detected that the service FooService will be stopped due to a service control action authored in the package before the files are updated. So, we will not attempt to stop this service using Restart Manager MSI (s) (6C:2C) [17:29:11:221]: RESTART MANAGER: Detected that the service BarService will be stopped due to a service control action authored in the package before the files are updated. So, we will not attempt to stop this service using Restart Manager MSI (s) (6C:2C) [17:29:11:221]: Note: 1: 2727 2: Action ended 17:29:11: InstallValidate. Return value 1.Are you sure your StopServices action is occurring before RemoveFiles? If this only happens on major upgrade and not a regular uninstall it might be worthwhile to know what is different about the sequence that trips up the above special case logic in RM. -Eric > Date: Tue, 12 May 2009 17:02:39 +0100 > From: n...@x2systems.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Files in use > > Even with it disabled I still think it is used. From the log: > > MSI (s) (AC:38) [16:52:55:648]: RESTART MANAGER: Disabled by > MSIRESTARTMANAGERCONTROL property; Windows Installer will use the > built-in FilesInUse functionality. > > Then a bit later: > > MSI (s) (AC:D4) [16:53:05:170]: RESTART MANAGER: Detected that > application with id 3092, friendly name 'zzz Service', service short > name 'zzzSvc', of type RmService and status 1 holds file[s] in use. > > Neil > > -----Original Message----- > From: Neil Sleightholm [mailto:n...@x2systems.com] > Sent: 12 May 2009 16:35 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Files in use > > I disabled restart manager in 2 ways, with the property > MSIRESTARTMANAGERCONTROL set to Disable and by removing the > MsiRMFilesInUse dialog but I still get the FileInUse dialog. I think > that means it is not directly attributable to restart manager. I did > find a KB article that said that WI 4.5 fixed a file in use problem with > case sensitivity of service names but I am using 4.5 on both systems > (and 5.0 on Windows 7). > > I am not sure where to go from here, any help much appreciated. > > Neil > > -----Original Message----- > From: Rob Mensching [mailto:r...@wixtoolset.org] > Sent: 12 May 2009 16:11 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Files in use > > The difference between Vista and XP is the RestartManager. IIRC, there > are a few things you can do to suppress the RestartManager usage via > MSIRM type properties... that might get you closer. > > Neil Sleightholm wrote: >> When I run a major upgrade install on Windows Vista or later the files >> in use (or restart manager) dialog is displayed for the two services I >> am installing, this doesn't happen on Windows XP (Windows Installer >> v4.5). The services are controlled by the ServiceControl element and >> listed in the ServiceControl table. >> >> >> >> The dialog isn't needed as the services are stopped by the install but >> only after the InstallValidate action. I thought of moving the >> StopServices action but that can't be moved before InstallValidate > which >> is where it would need to go. >> >> >> >> Does anyone know why this is happening? Is there any way to stop this >> dialog being displayed for services on Vista? >> >> >> >> Thanks >> >> >> >> Neil >> >> >> >> Neil Sleightholm >> X2 Systems Limited >> n...@x2systems.com <mailto:n...@x2systems.com> >> >> >> >> > ------------------------------------------------------------------------ > ------ >> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! > Your >> production scanning environment may not be a perfect world - but > thanks to >> Kodak, there's a perfect scanner to get the job done! With the NEW > KODAK i700 >> Series Scanner you'll get full speed at 300 dpi even with all image >> processing features enabled. http://p.sf.net/sfu/kodak-com >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > > ------------------------------------------------------------------------ > ------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks > to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------ > ------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks > to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------ ------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users _________________________________________________________________ Hotmail(r) has ever-growing storage! Don't worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tut orial_Storage1_052009 ------------------------------------------------------------------------ ------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users