Flexera Software Community  

Go Back   Flexera Software Community > Products > InstallShield > InstallShield Windows 12
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-12-2006, 06:39 PM
mrsteve mrsteve is offline
New User (0 Posts)
 
Join Date: Sep 2006
Posts: 4
InstallScript CA's on Vista - Slow initialization

My InstallScript custom actions (in a basic MSI project) each take about 30 seconds to load on Vista, compared to a second or two on 2003 or earlier. This is regardless of the content of the action; even an empty function will do this. Obviously this behavior makes InstallScript CA's useless on Vista. Is anyone else seeing this?


Here's a log snippet:

MSI (c) (F0:70) [17:02:02:686]: Doing action: InstallScriptAction
Action 17:02:02: InstallScriptAction.
Action start 17:02:02: InstallScriptAction.
MSI (c) (F0:2C) [17:02:02:889]: Invoking remote custom action. DLL: C:\Users\User\AppData\Local\Temp\MSI6D8E.tmp, Entrypoint: f1
MSI (c) (F0:E8) [17:02:02:905]: Cloaking enabled.
MSI (c) (F0:E8) [17:02:02:905]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (F0:E8) [17:02:02:905]: Connected to service for CA interface.
InstallShield: Running InstallScript function f1
InstallShield: IsBE.dll location: C:\ProgramData\InstallShield\ISEngine12.0\IsBE.dll
InstallShield: Using temp folder C:\Users\User\AppData\Local\Temp\{233F10DB-8044-4800-90E0-700D71E5FD83}
InstallShield: Installing engine...
InstallShield: Using product language 1033
InstallShield: Extracting support file setup.inx to C:\Users\User\AppData\Local\Temp\{233F10DB-8044-4800-90E0-700D71E5FD83}\setup.inx
InstallShield: Opening stream of file C:\Users\User\AppData\Local\Temp\MSI6D8E.tmp
InstallShield: Extracting support file ISRT.dll to C:\Users\User\AppData\Local\Temp\{233F10DB-8044-4800-90E0-700D71E5FD83}\ISRT.dll
InstallShield: Extracting support file IsConfig.ini to C:\Users\User\AppData\Local\Temp\{233F10DB-8044-4800-90E0-700D71E5FD83}\IsConfig.ini
InstallShield: Extracting support file _isres1033.dll to C:\Users\User\AppData\Local\Temp\{233F10DB-8044-4800-90E0-700D71E5FD83}\_isres.dll
InstallShield: Extracting support file String1033.txt to C:\Users\User\AppData\Local\Temp\{233F10DB-8044-4800-90E0-700D71E5FD83}\String1033.txt
InstallShield: Skipping optional support file _isuser1033.dll
InstallShield: Setting script cmdline...
InstallShield: ProductCode is {15F004AB-7FEA-4290-B1A5-4DD3E88ED3AA}
InstallShield: Initializing Engine
InstallShield: Done Initializing...
InstallShield: Registering Msi Server...
InstallShield: Invoking script function TestFunction
InstallShield: CallScriptFunctionFromMsiCA() ends
MSI (c) (F0:2C) [17:02:34:686]: NOTE: custom action InstallScriptAction unexpectedly closed the hInstall handle (type MSIHANDLE) provided to it. The custom action should be fixed to not close that handle.
Action ended 17:02:34: InstallScriptAction. Return value 1.
Reply With Quote
  #2  
Old 09-13-2006, 07:46 AM
joshstechnij's Avatar
joshstechnij joshstechnij is offline
InstallShield Software Engineer
 
Join Date: Jul 2006
Location: Schaumburg, IL
Posts: 1,285
We are actively working with one of our customers that is experiencing the same behavior on Vista machines only. Unfortunately, we are unable to reproduce this issue in-house, but we have been able to isolate the behavior to a specific location in the InstallScript engine initialization.

Are you running this on a dual-core machine (such as Intel Core Duo)?

Also, can you run and log the attached MSI package on a machine that experiences this behavior and attach the verbose log?

Last edited by joshstechnij : 06-18-2008 at 12:07 PM.
Reply With Quote
  #3  
Old 09-14-2006, 03:11 PM
mrsteve mrsteve is offline
New User (0 Posts)
 
Join Date: Sep 2006
Posts: 4
Josh,
No dual-core machines, just P4's and Xeons. The behavior is the same whether or not hyperthreading is enabled.

I've attached a log from your TestICSA.msi.
Attached Files
File Type: zip TestISCALog.zip (26.3 KB, 302 views)
Reply With Quote
  #4  
Old 09-14-2006, 04:06 PM
joshstechnij's Avatar
joshstechnij joshstechnij is offline
InstallShield Software Engineer
 
Join Date: Jul 2006
Location: Schaumburg, IL
Posts: 1,285
The behavior in the log is consistent with the behavior seen from another customer:
InstallShield 9:41:17: 2: Creating User Interface Object
InstallShield 9:41:17: 2: UI Thread Waiting For Messages
InstallShield 9:41:47: Wait timed out

There is a step missing (between Creating User... and UI Thread...) which indicates an exception occurred, causing an internal event to not be set, which causes the wait timeout.

Is this a clean install of Vista, or have any settings/options/etc. been changed from the out of box configuration?

I have attached an updated build of the test project that includes additional logging to try to determine where the exception occurs. Can you try logging with this new test?

Last edited by joshstechnij : 06-18-2008 at 12:07 PM.
Reply With Quote
  #5  
Old 09-14-2006, 04:40 PM
mrsteve mrsteve is offline
New User (0 Posts)
 
Join Date: Sep 2006
Posts: 4
This is happening on both clean and "dirty" installs of Vista. The attached log is from a fresh install of Vista build 5720 with all default settings.
Attached Files
File Type: zip TestISCALog2.zip (26.6 KB, 325 views)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 08:38 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2010 Flexera Software Inc. All rights reserved.