My installer (previleged in LaunchCondition) would install an application which 
requires elevated previlege (Run as Administrator).

On Vista and Win7 with UAC turned on and my application is still running (as 
Admin),
if the uninstallation is performed via  "Programs and Features" or
via command prompt with normal user previlege (msiexec /x xxx.msi),

there will be a pop-up dialog showing:
"The setup must update files or services that cannot be updated while the 
system is running.
If you choose to continue, a reboot wil be required to complete the setup."

And within the log,
I can find:
MSI (s) (5C:50) [16:45:58:108]: RESTART MANAGER: Did detect that a critical 
application holds file[s] in use, so a reboot will be necessary.
MSI (s) (5C:50) [16:45:58:108]: Note: 1: 1610

However,
if the uninstallation is performed via command prompt with "Run as 
Administrator",
the installer won't pop-up "Reboot Request" dialog,
but would sucessfully show the "MsiRMFilesInUse" dialog to let the users make 
decision.
And, within log,
the above 2 lines log doesn't exist.

My question would be how to make "MsiRMFilesInUse" dialog to show up instead of 
"Reboot Request".

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to