Hi,

Looking at the log of my uninstall that was invoked like;
    msiexec /x MyInstal.msi /l* c:\uninstall.log

I see the following;
    Action start 11:58:36: InstallValidate.
    Action ended 12:12:52: InstallValidate. Return value 1.

This 14 minutes represents over 60% of the total uninstall time and I would
like to reduce it.
FYI - I have over 17000 files in my installation.

Is it necessary that InstallValidate is executed during uninstall?

I'm thinking of creating/changing the InstallValidate condition to be;
    NOT (REMOVE = "ALL")

Reading the InstallValidate documentation [1], it appears I will loose the
ability to check/display FilesInUse.
I assume requires a reboot if the user has files in use, but this is
acceptable if it's the only downside.

Since this mostly affects in-house development/test, perhaps it would be
more reasonable to create a "hidden" condition for InstallValidate like;
    NOT INSTALLVALIDATE_OVERRIDE

Is this a reasonable thing to do?

Thanks,
Dale

[1] http://msdn.microsoft.com/en-us/library/aa369546%28VS.85%29.aspx
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to