Hello Neil,
Neil Sleightholm wrote: > > You can use the MSIRESTARTMANAGERCONTROL property to disable restart > manager (http://msdn.microsoft.com/en-us/library/aa370377(VS.85).aspx). > I have had issues with RM and services, does your install include a > service? > > [...] > No, it doesn't, it is simply an app that runs on the user's desktop. I have made a number of experiments in the meantime with different values of the MSIRESTARTMANAGERCONTROL when doing a major upgrade with msiexec /qb from one build of my software to the next if the app from the older build is currently running. And the results really puzzle me and nourish my doubts on the real value of the Windows Vista restart manager. These are my results for the different values of this property and my observations, maybe someone can comment on them, notehowever, that the app is fully registered with the restart manager: 0: The dialog "The following applications should be " appears. If I choose "Automatically close applications and attempt to restart..." the running instance of the older build shuts down and after install a new instance from the newer build is started. Disable: No dialog appears, the running instance continues to run. Just like the install experience on Windows XP DisableShutdown: The dialog "The following applications should be " appears. If I choose "Automatically close applications and attempt to restart..." the running instance of the older build shuts down and after install a new instance from the newer build is started. >From my observations, there is no difference between MSIRESTARTMANAGERCONTROL having the value 0 or DisableShutdown. Both times this annoying dialog appears and the app is restarted after the install. However what I would like to have is no dialog but restart of the app. So the UI should be like MSIRESTARTMANAGERCONTROL=Disable (i.e. no dialog) but the restart behaviour like with MSIRESTARTMANAGERCONTROL=0 or MSIRESTARTMANAGERCONTROL=DisableShutdown (in both cases the app is restarted). Is what I would like to have simply not possible? Or against the design of the restart manager and its coupling with MSI? Any help appreciated, -- Stefan Kuhr -- View this message in context: http://n2.nabble.com/Prevent-%22files-in-use%22-dialog--tp3115333p3125753.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users