I changed to a single ServiceControl element and it still failed. I was wondering whether I am doing this right, I am modifying the new install but I was wondering if the problem is the original install that is being replaced - does anyone know which install is throwing up the "File in use" dialog?
Neil -----Original Message----- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 12 May 2009 18:18 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use I am using MSIRESTARTMANAGERCONTROL=Disable which according to the docs "Disables interaction of the package with the Restart Manager. Windows Installer uses the FilesInUse Dialog." - I am suspecting that it might mean that is disable use of MsiRMFilesInUse not the Restart Manager. The Wait value is 1 (yes) <ServiceControl Id="StopZzzService" Name="zzzSvc" Stop="both" Remove="uninstall" Wait="yes" /> I wonder if this is relevant, I have 2 ServiceControl entries for each service because I only want to wait for stop not start. I will try removing one and see what happens. Neil -----Original Message----- From: Wilson, Phil [mailto:phil.wil...@wonderware.com] Sent: 12 May 2009 17:42 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Files in use Some settings of MSIRESTARTMANAGERCONTROL disable the MsiRMFilesInUse dialog, the docs are clear on that, and don't turn off the entire files-in-use detection. Did you use Disable or DisableShutdown? What's the Wait value in your ServiceControl element? I'd expect to see a log entry saying that the service will be stopped due to "a service control action before the files are updated", and I'm wondering if it wants the Wait value to wait for the service to stop, otherwise the service process might still be running when its files need updating. Phil Wilson -----Original Message----- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Tuesday, May 12, 2009 9:03 AM To: General discussion for Windows Installer XML toolset. 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 ------------------------------------------------------------------------ ------ 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