cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reureu
Level 10

Problem with InstallScript custom action (Basic MSI)

Hi,

We have got one customer facing a rather interesting problem when trying to install our product.
Our setup is made of a Basic MSI project with InstallShield 2010 SP1.
The problem is: the InstallScript custom actions (scheduled for immediate execution) fail when the customer tries to install our product on Win7 x64.

Here is what I can see in the MSI logfile (have a look at the lines in bold characters).

MSI (c) (00:04) [08:34:22:011]: Doing action: initReleaseSpecificProperties
Action 8:34:22: initReleaseSpecificProperties. Configuring properties
Action start 8:34:22: initReleaseSpecificProperties.
MSI (c) (00:04) [08:34:22:011]: Creating MSIHANDLE (51) of type 790542 for thread 3332
MSI (c) (00:70) [08:34:22:011]: Invoking remote custom action. DLL: C:\Users\HPOA-P~1\AppData\Local\Temp\MSIB7E9.tmp, Entrypoint: f35
MSI (c) (00!94) [08:34:22:058]: Creating MSIHANDLE (52) of type 790531 for thread 660
InstallShield 8:34:22: Running InstallScript function f35
MSI (c) (00!94) [08:34:22:058]: Closing MSIHANDLE (52) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:058]: Creating MSIHANDLE (53) of type 790531 for thread 660
InstallShield 8:34:22: Opening stream of file C:\Users\HPOA-P~1\AppData\Local\Temp\MSIB7E9.tmp
MSI (c) (00!94) [08:34:22:058]: Closing MSIHANDLE (53) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:058]: Creating MSIHANDLE (54) of type 790531 for thread 660
InstallShield 8:34:22: Extracting support file IsConfig.ini to C:\Users\HPOA-P~1\AppData\Local\Temp\{9E853D5A-A4E2-49BC-B734-BCEB66778616}\IsConfig.ini
MSI (c) (00!94) [08:34:22:058]: Closing MSIHANDLE (54) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:058]: Creating MSIHANDLE (55) of type 790531 for thread 660
InstallShield 8:34:22: Extracted isconfig.ini to C:\Users\HPOA-P~1\AppData\Local\Temp\{9E853D5A-A4E2-49BC-B734-BCEB66778616}\IsConfig.ini
MSI (c) (00!94) [08:34:22:058]: Closing MSIHANDLE (55) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:058]: Creating MSIHANDLE (56) of type 790531 for thread 660
InstallShield 8:34:22: Got '{A9558FEF-329B-46C3-8141-CDDDCD03CDF3}' for TempPathGuid from isconfig.ini
MSI (c) (00!94) [08:34:22:058]: Closing MSIHANDLE (56) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:058]: Creating MSIHANDLE (57) of type 790531 for thread 660
InstallShield 8:34:22: Attempting to use temp path 'C:\Users\HPOA-P~1\AppData\Local\Temp\{A9558FEF-329B-46C3-8141-CDDDCD03CDF3}'
MSI (c) (00!94) [08:34:22:058]: Closing MSIHANDLE (57) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:058]: Creating MSIHANDLE (58) of type 790531 for thread 660
InstallShield 8:34:22: Using new temp path
MSI (c) (00!94) [08:34:22:058]: Closing MSIHANDLE (58) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:058]: Creating MSIHANDLE (59) of type 790531 for thread 660
InstallShield 8:34:22: Cleaning up temp file C:\Users\HPOA-P~1\AppData\Local\Temp\{9E853D5A-A4E2-49BC-B734-BCEB66778616}\IsConfig.ini
MSI (c) (00!94) [08:34:22:058]: Closing MSIHANDLE (59) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:058]: Creating MSIHANDLE (60) of type 790531 for thread 660
InstallShield 8:34:22: Using temp folder C:\Users\HPOA-P~1\AppData\Local\Temp\{A9558FEF-329B-46C3-8141-CDDDCD03CDF3}
MSI (c) (00!94) [08:34:22:058]: Closing MSIHANDLE (60) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:058]: Creating MSIHANDLE (61) of type 790531 for thread 660
InstallShield 8:34:22: Installing engine...
MSI (c) (00!94) [08:34:22:058]: Closing MSIHANDLE (61) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:058]: Creating MSIHANDLE (62) of type 790531 for thread 660
InstallShield 8:34:22: Using product language 1033
MSI (c) (00!94) [08:34:22:058]: Closing MSIHANDLE (62) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:074]: Creating MSIHANDLE (63) of type 790531 for thread 660
InstallShield 8:34:22: Detected X64 OS
MSI (c) (00!94) [08:34:22:074]: Closing MSIHANDLE (63) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:074]: Creating MSIHANDLE (64) of type 790531 for thread 660
InstallShield 8:34:22: Skipping optional support file _isuser_0x0409.dll
MSI (c) (00!94) [08:34:22:074]: Closing MSIHANDLE (64) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:074]: Creating MSIHANDLE (65) of type 790531 for thread 660
InstallShield 8:34:22: Setting script cmdline...
MSI (c) (00!94) [08:34:22:074]: Closing MSIHANDLE (65) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:074]: Creating MSIHANDLE (66) of type 790531 for thread 660
InstallShield 8:34:22: ProductCode is {340E591D-BE29-4839-9C1D-BE528CFA6DF7}
MSI (c) (00!94) [08:34:22:074]: Closing MSIHANDLE (66) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:074]: Creating MSIHANDLE (67) of type 790531 for thread 660
InstallShield 8:34:22: Initializing Engine
MSI (c) (00!94) [08:34:22:074]: Closing MSIHANDLE (67) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:074]: Creating MSIHANDLE (68) of type 790531 for thread 660
InstallShield 8:34:22: Failed to open script 'C:\Users\HPOA-P~1\AppData\Local\Temp\{A9558FEF-329B-46C3-8141-CDDDCD03CDF3}\setup.inx', error is -2147024890
MSI (c) (00!94) [08:34:22:074]: Closing MSIHANDLE (68) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:074]: Creating MSIHANDLE (69) of type 790531 for thread 660
InstallShield 8:34:22: Open Script operation failed, error is 0x80070006
MSI (c) (00!94) [08:34:22:074]: Closing MSIHANDLE (69) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:074]: Creating MSIHANDLE (70) of type 790531 for thread 660
InstallShield 8:34:22: Failed to invoke __ISWIUnInit, error is 0x80020006
MSI (c) (00!94) [08:34:22:074]: Closing MSIHANDLE (70) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:074]: Creating MSIHANDLE (71) of type 790531 for thread 660
InstallShield 8:34:22: Failed to invoke __ISRTUninit, error is 0x80020006
MSI (c) (00!94) [08:34:22:074]: Closing MSIHANDLE (71) of type 790531 for thread 660
MSI (c) (00!94) [08:34:22:074]: Creating MSIHANDLE (72) of type 790531 for thread 660
InstallShield 8:34:22: Initialize() Failure, Failed to Initialize script support, Error = 0x80070006
MSI (c) (00!94) [08:34:22:074]: Closing MSIHANDLE (72) of type 790531 for thread 660
MSI (c) (00:70) [08:34:22:074]: Closing MSIHANDLE (51) of type 790542 for thread 3332
Action ended 8:34:22: initReleaseSpecificProperties. Return value 1.


Any idea about what these errors mean?
We have checked that the file 'C:\Users\HPOA-P~1\AppData\Local\Temp\{A9558FEF-329B-46C3-8141-CDDDCD03CDF3}\setup.inx' actually exists on the disk when this error occurs.
Could it be due to a problem with the DLL's required to execute InstallScript custom actions?

We have faced a few installation issues in the past, but it is the very first time we see such an issue.

Any help would be greatly appreciated.

Thanks.
Labels (1)
0 Kudos
(1) Reply
Reureu
Level 10

We managed to solve this problem.

For some reason, one folder remained in the User's temp folder after a previous installation failure.
'C:\Users\HPOA-P~1\AppData\Local\Temp\{A9558FEF-329B-46C3-8141-CDDDCD03CDF3}'

This folder would normally be used to extract some files (like ISBEW64.exe) required by the InstallScript engine.
This folder was left by a previous aborted tentative, and Windows Explorer would not let me delete it.

I had to start a Command Prompt as Administrator to delete this folder.
Then the installation worked smoothly.
0 Kudos