PDA

View Full Version : Performance of Installshield 2014 in comparison with Installshield 12 Installer



EktaJain
10-05-2014, 02:47 AM
Hi, I have a Basic msi Project(with some Installscript functions called through custom actions) in Installshield 12 and now I am porting it to Installshield 2014.

Steps followed to port:
1) I just opened the .ism file in Installshield 2014
2) It prompted me with a Message box asking me if I wanted to convert. I clicked yes.
3) I built the project and then it successfully did.

Problem:
1) I enabled the windows logs.
2) I just installed the application using Installshield 12 based Installers in silent mode. I then measured the time using the logs.
3) I repeated the step 2 using Installshield 2014 based Installers. But I found the time taken was pretty much huge.

Analysis Done:
1) On Investigating through the logs, I found few differences, one such is as shown below,

Installshield 12 based Log:

InstallShield 4:30:25: Running InstallScript function f16
MSI (s) (AC!D0) [04:30:25:929]: Closing MSIHANDLE (54) of type 790531 for thread 2768
MSI (s) (AC!D0) [04:30:25:929]: Creating MSIHANDLE (55) of type 790531 for thread 2768
InstallShield 4:30:25: Using temp folder C:\Users\AppData\Local\Temp\{16E972DD-01AC-4667-8F30-D203AE6B1359}
MSI (s) (AC!D0) [04:30:25:929]: Closing MSIHANDLE (55) of type 790531 for thread 2768
MSI (s) (AC!D0) [04:30:25:929]: Creating MSIHANDLE (56) of type 790531 for thread 2768
InstallShield 4:30:25: Installing engine...
MSI (s) (AC!D0) [04:30:25:929]: Closing MSIHANDLE (56) of type 790531 for thread 2768
MSI (s) (AC!D0) [04:30:25:929]: Creating MSIHANDLE (57) of type 790531 for thread 2768
InstallShield 4:30:25: Using product language 1033
MSI (s) (AC!D0) [04:30:25:929]: Closing MSIHANDLE (57) of type 790531 for thread 2768
MSI (s) (AC!D0) [04:30:25:929]: Creating MSIHANDLE (58) of type 790531 for thread 2768
InstallShield 4:30:25: Extracting support file setup.inx to C:\Users\AppData\Local\Temp\{16E972DD-01AC-4667-8F30-D203AE6B1359}\setup.inx
MSI (s) (AC!D0) [04:30:25:929]: Closing MSIHANDLE (58) of type 790531 for thread 2768
MSI (s) (AC!D0) [04:30:25:992]: Creating MSIHANDLE (59) of type 790531 for thread 2768
InstallShield 4:30:25: Opening stream of file C:\Windows\Installer\MSIA57B.tmp
MSI (s) (AC!D0) [04:30:25:992]: Closing MSIHANDLE (59) of type 790531 for thread 2768
MSI (s) (AC!D0) [04:30:26:054]: Creating MSIHANDLE (60) of type 790531 for thread 2768
InstallShield 4:30:25: Extracting support file ISRT.dll to C:\Users\AppData\Local\Temp\{16E972DD-01AC-4667-8F30-D203AE6B1359}\ISRT.dll
MSI (s) (AC!D0) [04:30:26:054]: Closing MSIHANDLE (60) of type 790531 for thread 2768
MSI (s) (AC!D0) [04:30:26:070]: Creating MSIHANDLE (61) of type 790531 for thread 2768
InstallShield 4:30:26: Extracting support file IsConfig.ini to C:\Users\AppData\Local\Temp\{16E972DD-01AC-4667-8F30-D203AE6B1359}\IsConfig.ini
MSI (s) (AC!D0) [04:30:26:070]: Closing MSIHANDLE (61) of type 790531 for thread 2768
MSI (s) (AC!D0) [04:30:26:101]: Creating MSIHANDLE (62) of type 790531 for thread 2768
InstallShield 4:30:26: Extracting support file _isres1033.dll to C:\Users\AppData\Local\Temp\{16E972DD-01AC-4667-8F30-D203AE6B1359}\_isres.dll
MSI (s) (AC!D0) [04:30:26:101]: Closing MSIHANDLE (62) of type 790531 for thread 2768
MSI (s) (AC!D0) [04:30:26:148]: Creating MSIHANDLE (63) of type 790531 for thread 2768
InstallShield 4:30:26: Extracting support file String1033.txt to C:\Users\AppData\Local\Temp\{16E972DD-01AC-4667-8F30-D203AE6B1359}\String1033.txt
MSI (s) (AC!D0) [04:30:26:164]: Closing MSIHANDLE (63) of type 790531 for thread 2768
MSI (s) (AC!D0) [04:30:26:164]: Creating MSIHANDLE (64) of type 790531 for thread 2768
InstallShield 4:30:26: Skipping optional support file _isuser1033.dll
MSI (s) (AC!D0) [04:30:26:164]: Closing MSIHANDLE (64) of type 790531 for thread 2768
MSI (s) (AC!D0) [04:30:26:164]: Creating MSIHANDLE (65) of type 790531 for thread 2768
InstallShield 4:30:26: Detected X64 OS
MSI (s) (AC!D0) [04:30:26:164]: Closing MSIHANDLE (65) of type 790531 for thread 2768
MSI (s) (AC!D0) [04:30:26:195]: Creating MSIHANDLE (66) of type 790531 for thread 2768
InstallShield 4:30:26: Extracting support file ISBEWX64.exe to C:\Users\AppData\Local\Temp\{16E972DD-01AC-4667-8F30-D203AE6B1359}\ISBEW64.exe
MSI (s) (AC!D0) [04:30:26:195]: Closing MSIHANDLE (66) of type 790531 for thread 2768
MSI (s) (AC!D0) [04:30:26:195]: Creating MSIHANDLE (67) of type 790531 for thread 2768

Installshield 2014 based Log:

InstallShield 4:42:39: Running InstallScript function f16
MSI (s) (10!F8) [04:42:39:531]: Closing MSIHANDLE (54) of type 790531 for thread 1528
MSI (s) (10!F8) [04:42:39:531]: Creating MSIHANDLE (55) of type 790531 for thread 1528
InstallShield 4:42:39: Opening stream of file C:\Windows\Installer\MSIB245.tmp
MSI (s) (10!F8) [04:42:39:531]: Closing MSIHANDLE (55) of type 790531 for thread 1528
MSI (s) (10!F8) [04:42:39:687]: Creating MSIHANDLE (56) of type 790531 for thread 1528
InstallShield 4:42:39: Extracting support file IsConfig.ini to C:\Users\AppData\Local\Temp\{F4450A7A-72DD-4649-AA06-2AC98C639474}\IsConfig.ini
MSI (s) (10!F8) [04:42:39:687]: Closing MSIHANDLE (56) of type 790531 for thread 1528
MSI (s) (10!F8) [04:42:39:687]: Creating MSIHANDLE (57) of type 790531 for thread 1528
InstallShield 4:42:39: Extracted isconfig.ini to C:\Users\AppData\Local\Temp\{F4450A7A-72DD-4649-AA06-2AC98C639474}\IsConfig.ini
MSI (s) (10!F8) [04:42:39:687]: Closing MSIHANDLE (57) of type 790531 for thread 1528
MSI (s) (10!F8) [04:42:39:687]: Creating MSIHANDLE (58) of type 790531 for thread 1528
InstallShield 4:42:39: Got '{E720DC5E-47B1-4047-8C8B-5CD15D4F3D6C}' for TempPathGuid from isconfig.ini
MSI (s) (10!F8) [04:42:39:703]: Closing MSIHANDLE (58) of type 790531 for thread 1528
MSI (s) (10!F8) [04:42:39:703]: Creating MSIHANDLE (59) of type 790531 for thread 1528
InstallShield 4:42:39: Attempting to use temp path 'C:\Users\AppData\Local\Temp\{E720DC5E-47B1-4047-8C8B-5CD15D4F3D6C}'
MSI (s) (10!F8) [04:42:39:703]: Closing MSIHANDLE (59) of type 790531 for thread 1528
MSI (s) (10!F8) [04:42:39:703]: Creating MSIHANDLE (60) of type 790531 for thread 1528
InstallShield 4:42:39: Using new temp path
MSI (s) (10!F8) [04:42:39:703]: Closing MSIHANDLE (60) of type 790531 for thread 1528
MSI (s) (10!F8) [04:42:39:703]: Creating MSIHANDLE (61) of type 790531 for thread 1528
InstallShield 4:42:39: Cleaning up temp file C:\Users\AppData\Local\Temp\{F4450A7A-72DD-4649-AA06-2AC98C639474}\IsConfig.ini
MSI (s) (10!F8) [04:42:39:703]: Closing MSIHANDLE (61) of type 790531 for thread 1528
MSI (s) (10!F8) [04:42:39:703]: Creating MSIHANDLE (62) of type 790531 for thread 1528
InstallShield 4:42:39: Using temp folder C:\Users\AppData\Local\Temp\{E720DC5E-47B1-4047-8C8B-5CD15D4F3D6C}
MSI (s) (10!F8) [04:42:39:703]: Closing MSIHANDLE (62) of type 790531 for thread 1528
MSI (s) (10!F8) [04:42:39:703]: Creating MSIHANDLE (63) of type 790531 for thread 1528
InstallShield 4:42:39: Installing engine...
MSI (s) (10!F8) [04:42:39:703]: Closing MSIHANDLE (63) of type 790531 for thread 1528
MSI (s) (10!F8) [04:42:39:703]: Creating MSIHANDLE (64) of type 790531 for thread 1528
InstallShield 4:42:39: Using product language 1033
MSI (s) (10!F8) [04:42:39:703]: Closing MSIHANDLE (64) of type 790531 for thread 1528
MSI (s) (10!F8) [04:42:39:703]: Creating MSIHANDLE (65) of type 790531 for thread 1528
InstallShield 4:42:39: Detected X64 OS
MSI (s) (10!F8) [04:42:39:703]: Closing MSIHANDLE (65) of type 790531 for thread 1528
MSI (s) (10!F8) [04:42:39:750]: Creating MSIHANDLE (66) of type 790531 for thread 1528
InstallShield 4:42:39: Extracting support file ISBEWX64.exe to C:\Users\AppData\Local\Temp\{E720DC5E-47B1-4047-8C8B-5CD15D4F3D6C}\ISBEW64.exe
MSI (s) (10!F8) [04:42:39:750]: Closing MSIHANDLE (66) of type 790531 for thread 1528
MSI (s) (10!F8) [04:42:39:750]: Creating MSIHANDLE (67) of type 790531 for thread 1528

I also found some extra temporary files getting copied! Can This be controlled?

2)I found some differences in the ISConfig.ini file in the Interm folder of my resulting CDROM Image generated while building the project.
In IS12 based ini file,there was no field called TempPathGuid but in IS2014 ini file there was a field named named TempPathGuid.
I suspect that because of this information, the setup is creating a new folder with name=TempPathGuid value in Temporary location and copying the extra files.
Can this be controlled??


Can anyone help me in the above mentioned problem.

Thanks.