
hjsunj1.5524922104121135E12 asked a question.
Why is the uninstallation so slow?
The uninstallation process cost 2 hours! And the most time was cost at
"validating the installation.."
I don't know if this situation was caused by our project since our project has a large size 9.52GB.
So my question is:
If the project size caused this problem, do we have any way to improve the uninstallation speed?
If it's not the project size issue, how should I solve the problem?
Many thanks.
Out of curiosity, and only for testing, does it make any difference if DISABLEROLLBACK is set?
I'll try DISABLEROLLBACK!
installguy,
http://www.classyselection.com
The following is the log of InstallValidate when uninstalling on Vista!
Vista
Action Start 12:58:10: InstallValidate.
MSI (s) (C0:94) [12:58:10:890]: Note: 1: 2205 2: 3: BindImage
MSI (s) (C0:94) [12:58:10:890]: Note: 1: 2205 2: 3: ProgId
MSI (s) (C0:94) [12:58:10:890]: Note: 1: 2205 2: 3: PublishComponent
MSI (s) (C0:94) [12:58:10:890]: Note: 1: 2205 2: 3: SelfReg
MSI (s) (C0:94) [12:58:10:890]: Note: 1: 2205 2: 3: Extension
MSI (s) (C0:94) [12:58:10:890]: Note: 1: 2205 2: 3: Font
MSI (s) (C0:94) [12:58:10:890]: Note: 1: 2205 2: 3: Shortcut
MSI (s) (C0:94) [12:58:10:890]: Note: 1: 2205 2: 3: Class
MSI (s) (C0:94) [12:58:10:937]: Note: 1: 2205 2: 3: _RemoveFilePath
MSI (s) (C0:94) [14:11:35:987]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'.
MSI (s) (C0:94) [14:11:35:987]: Note: 1: 2205 2: 3: BindImage
MSI (s) (C0:94) [14:11:35:987]: Note: 1: 2205 2: 3: ProgId
MSI (s) (C0:94) [14:11:35:987]: Note: 1: 2205 2: 3: PublishComponent
MSI (s) (C0:94) [14:11:35:987]: Note: 1: 2205 2: 3: SelfReg
MSI (s) (C0:94) [14:11:35:987]: Note: 1: 2205 2: 3: Extension
MSI (s) (C0:94) [14:11:35:987]: Note: 1: 2205 2: 3: Font
MSI (s) (C0:94) [14:11:35:987]: Note: 1: 2205 2: 3: Shortcut
MSI (s) (C0:94) [14:11:35:987]: Note: 1: 2205 2: 3: Class
MSI (s) (C0:94) [14:11:35:987]: Note: 1: 2727 2:
MSI (s) (C0:94) [14:12:00:658]: Note: 1: 2727 2:
MSI (s) (C0:94) [14:12:00:658]: PROPERTY CHANGE: Modifying REMOVE property. Its current value is 'All'. Its new value: 'ALL'.
MSI (s) (C0:94) [14:12:00:658]: Doing action: RemoveExistingProducts
Action Finish 14:12:00: InstallValidate. Return 1.
Guido
Guido
I think I know why, at least I solved it for my installation. I have a setup with about 20.000 files. It takes more than an hour to deinstall. If I disable the RestartManager (new feature from Vista), uninstall only takes 5 minutes !!
I now disabled it systemwide (http://msdn.microsoft.com/en-us/library/aa368298(VS.85).aspx ) and will do new tests with disabling it only for my application.
I think Acresso should provide an answer to why this has such a bug performance impact and how it should be improved.
Best Regards,
Guido
Thank you for your answer! First, in my case, I'm happy to see that with this action I can resolve the item.
About my installation, I have about 7 components, out of which 5 are dynamic ones. And still this behaviour occurs. The dynamic components refer to a rather large directory structure. What should I do to prevent that those components are so costly ?
Best Regards,
Guido