Installing files takes a very long time per file
Posted 24 January 2013 - 17:17
I am using InstallShield 2010.
Wehn I get to the stage that the install is taking place, it looks like it has stuck. However I added some trace in to see what was happening, and it seems to take a very long time when copying over each individual file.
Here is an example (note the last few lines with the timestamp):
QUOTE |
15:09:49 - -> In OnInstallingFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\layout.bin] 15:09:49 - -> In OnInstalledFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\layout.bin] 15:09:49 - -> In OnInstallingFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\data1.hdr] 15:09:49 - -> In OnInstalledFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\data1.hdr] 15:09:49 - -> In OnInstallingFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\data1.cab] 15:09:49 - -> In OnInstalledFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\data1.cab] 15:09:49 - -> In OnInstallingFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\setup.exe] 15:09:49 - -> In OnInstalledFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\setup.exe] 15:09:49 - -> In OnInstallingFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\ISSetup.dll] 15:09:49 - -> In OnInstalledFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\ISSetup.dll] 15:09:49 - -> In OnInstallingFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\0x0409.ini] 15:09:49 - -> In OnInstalledFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\0x0409.ini] 15:09:49 - -> In OnInstallingFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\setup.isn] 15:09:49 - -> In OnInstalledFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\setup.isn] 15:09:49 - -> In OnInstallingFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\setup.inx] 15:09:49 - -> In OnInstalledFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\setup.inx] 15:09:49 - -> In OnInstallingFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\setup.ini] 15:09:49 - -> In OnInstalledFile [C:\Program Files\InstallShield Installation Information\{97DAC527-223D-45D5-BD94-6F5506974003}\setup.ini] 15:09:49 - -> In OnInstallingFile [C:\POS\AxInterop.ENBPUMPX2Lib.dll] 15:09:49 - -> In OnInstalledFile [C:\POS\AxInterop.ENBPUMPX2Lib.dll] 15:11:05 - -> In OnInstallingFile [C:\POS\AxInterop.ENBSESSIONX2Lib.dll] 15:11:06 - -> In OnInstalledFile [C:\POS\AxInterop.ENBSESSIONX2Lib.dll] 15:12:22 - -> In OnInstallingFile [C:\POS\AxInterop.WMPLib.dll] 15:12:22 - -> In OnInstalledFile [C:\POS\AxInterop.WMPLib.dll] 15:13:38 - -> In OnInstallingFile [C:\POS\ICSharpCode.SharpZLib.dll] |
Any ideas why this happens? Or how I can figure it out?
Posted 25 January 2013 - 11:39
Antivirus software running in the background?
Stefan Krüger
InstallSite.org twitter facebook
Posted 25 January 2013 - 11:52
Unless there is some way to diagnose, the only alternative I can think of is to start again, but this will be time consuming in itself, with custom dialogs, and a lot of code etc.
Posted 25 January 2013 - 16:37
Why would copying these over be so slow? It does not pick them up as self-reg files if I check. Only refers to them as assembly files.
Posted 28 January 2013 - 14:24
This is only a problem with an InstallScript project. If I use an InstallScript MSI project it is no longer an issue.
I would still like to figure out why though!
Posted 28 January 2013 - 15:43
Stefan Krüger
InstallSite.org twitter facebook
Posted 28 January 2013 - 16:37
- Using the current InstallScript project = extremely slow install
- Using a brand new InstallScript project with same install files = extremely slow install
- Using a brand new InstallScript MSI project with same install files = fast install
Posted 10 September 2014 - 12:40
Hey, did someone find a solution for this issue?
I recently got a customer request to debug the slow installation (InstallScript based) of a product on their machines.
IS debugger showed me the install is taking a lot of time to copy a file to the destination.
In Windows Task Manager I noticed a process called DotNetInstaller.exe is spawned everytime before copying a file. Do you know what this process does?
Thanks,
Venkatesh
Posted 12 September 2014 - 15:49
Just a shot in the dark: check you component settings - is .NEt Assembly set to yes or no?
Stefan Krüger
InstallSite.org twitter facebook