MSI was never "fast". You should have seen it on a Pentium 200MMX with 16MB of memory. The more keyfiles you have in an installer, the more processing that Windows Installer has to perform. You should consider only having select files (EXE,DLL,OCX...) as keyfiles and the rest as companion files. This will pretty much rule out patching so only do this if you are fine with only doing major upgrades. I don't know heat well enough to know how to make it do this as personally I wouldn't ever use heat the way you are using it.
Other things to consider are disabling rollback, http://msdn.microsoft.com/en-us/library/windows/desktop/aa372899%28v=vs.85%2 9.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/dd408005%28v=vs.85%2 9.aspx I've used these techniques on installers with as much as 200,000 files with acceptable performance. ---------------------------------------- From: d8x...@hotmail.com Sent: Thursday, April 11, 2013 4:49 PM To: "Wix-Users" <wix-users@lists.sourceforge.net> Subject: [WiX-users] Slow Installs I have an installation which consists of around 7,000 files. Each file is in it's own Component. The WXS file is auto generated during build time (via heat) so names, guids, etc. are auto generated. The MSI is started from an External UI via the Deployment SDK's Installer.InstallProduct() method. The issue I am having is that I have a few machines in which this install takes 20+ minutes to complete. If I run the MSI (internal UI with 2 dialog boxes) directly it completes in less than 4 minutes. I have other machines where the installer always completes in less than 4 minutes, even when launched via the External UI. The windows installer logs show two troubled spots; InstallValidate and InstallFinalize. Note time stamps for each. Multiple this by 7,000 and there is a huge difference. -- Fast Machine InstallValidate (about 10 sec.):Action start 11:17:12: InstallValidate. MSI (s) (70:1C) [11:17:12:372]: PROPERTY CHANGE: Deleting MsiRestartManagerSessionKey property. Its current value is 'fa2e3aad27d16d4e815391f8e05031e8'. MSI (s) (70:1C) [11:17:12:372]: Feature: HELP; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:372]: Component: cmp7508239CD3C91A04CD46DAD6344526D1; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:372]: Component: cmpE1A2A7D49B5BA1B317E2F32AE4340A48; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:372]: Component: cmpD995221AD6EB80B0573784486383E37A; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:372]: Component: cmp4871692295893014F9578D4EE91D4998; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:372]: Component: cmp6ECBB2DE1A63C18C88A4466391DB4CE0; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:372]: Component: cmp5CAB7469C4EBA6B60F503CE7A104A964; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:372]: Component: cmp6C30822E8A3BEACD47668C3D6FC18F04; Installed: Absent; Request: Local; Action: Local MSI (s) (70:1C) [11:17:12:387]: Component: cmpD11C1CE8888D98B7B1BAF34A45A5E509; Installed: Absent; Request: Local; Action: Local.Action ended 11:17:22: InstallValidate. Return value 1. -- Slow Machine InstallValidate (about 4 minutes):Action start 15:45:17: InstallValidate. MSI (s) (94:34) [15:45:17:967]: PROPERTY CHANGE: Deleting MsiRestartManagerSessionKey property. Its current value is '55fca73a0d8baf459591e1f88d52b83f'. MSI (s) (94:34) [15:45:17:998]: Feature: HELP; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:139]: Component: cmp7508239CD3C91A04CD46DAD6344526D1; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:280]: Component: cmpE1A2A7D49B5BA1B317E2F32AE4340A48; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:295]: Component: cmpD995221AD6EB80B0573784486383E37A; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:311]: Component: cmp4871692295893014F9578D4EE91D4998; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:342]: Component: cmp6ECBB2DE1A63C18C88A4466391DB4CE0; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:358]: Component: cmp5CAB7469C4EBA6B60F503CE7A104A964; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:389]: Component: cmp6C30822E8A3BEACD47668C3D6FC18F04; Installed: Absent; Request: Local; Action: Local MSI (s) (94:34) [15:45:18:405]: Component: cmpD11C1CE8888D98B7B1BAF34A45A5E509; Installed: Absent; Request: Local; Action: Local.Action ended 15:49:17: InstallValidate. Return value 1. InstallFinalize is very similar in that each "Executing op: ComponentRegister" and "Executing op: FileCopy" is taking much longer on some machines. I am not sure how to correct the issues or where the root cause can be found. Aside from tracking down machine differences, is there any guidance on how to proceed with resolving this issue? What type of machine difference would cause such behavior? Thanks,Dex. ---------------------------------------------------------------------------- -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users