Hello Guys, Thanks for your suggestions. I'd like to share the results here in case if anyone else run into the same problem.
To begin with, DISABLEROLLBACK switch during uninstall really reduced the time required to complete uninstallation, from 22 minutes to 7. So, with this option, the install time ~= uninstall time. Reducing the number of components also helped. Having ~500 components (1 per directory) instead of ~25,000 (1 per file) improved the performance of both install and uninstall to the half time (from ~7 minutes to ~4). But there's a risk of component violations here, which one should be aware of. Thanks again for your suggestions! -- Yan -----Original Message----- From: Wilson, Phil [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 8:00 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Uninstall takes 3 times longer timeframethan install Set MSI logging policy and do the uninstall to see what's taking the time. There is, for example, a C runtime custom action called (I think) SxSUninstallCA that runs for a looooong time. Phil Wilson -----Original Message----- From: Bryan Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 9:37 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Uninstall takes 3 times longer timeframe than install Yan, Try uninstalling from the command line with the option DISABLEROLLBACK=1. For example, msiexec /x yourmsi.msi DISABLEROLLBACK=1. This might make the uninstall quicker if it does not need to create copies of all the files as it removes them in case you hit the cancel button during uninstallation. Something else that I think has been done in the past is to group large numbers of files into components, so you have maybe 1000 files associated with 1 component. This may or may not be appropriate for your installation. This works because it reduces the number of writes/deletes to the registry. -----Original Message----- From: Yan Sklyarenko [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 8:32 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Uninstall takes 3 times longer timeframe than install Hello WiX community, My installation source contains 25,000+ files. I used heat.exe to create a WiX authoring out of the root directory. This gave me a *.wxs file with approximately the same number of components, which is claimed to be handled OK by Windows Installer. After some rough tweaking, I managed to build the MSI package (again, it contains only files, nothing else). The idea is just to test the performance. So, the installation took about 7 minutes, while the uninstallation time is 3 times bigger, about 22 minutes. Is it normal? If not, then where should I look to troubleshoot the problem? I apologize if this was already discussed somewhere one day. In this case, I'd appreciate a link. Thank you. -- Yan ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users