cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
slalande50
Level 5

Custom action crashes the installation

My problem is intermittent, Even rarely reproducible. But when the problem appears, it can be reproduced without any problem and get stuck in this behavior.

So I try to call an Installscript Custom Action which ends up crashing the application.

The windows Log indicates that the custom action returns 3 which represents an unprocessed custom action.

Here is the output of the windows installer log:

MSI (s) (D8:4C) [10:04:13:611]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIF51F.tmp, Entrypoint: f1
Action start 10:04:13: ManageFontInstall.
InstallShield 10:04:14: Running InstallScript function f1
InstallShield 10:04:14: Opening stream of file C:\Windows\Installer\MSIF51F.tmp
InstallShield 10:04:14: Extracting support file IsConfig.ini to C:\Users\mip5000\AppData\Local\Temp\{2E37752C-CBD8-4023-8A26-ED7F01461EB7}\IsConfig.ini
InstallShield 10:04:14: Extracted isconfig.ini to C:\Users\mip5000\AppData\Local\Temp\{2E37752C-CBD8-4023-8A26-ED7F01461EB7}\IsConfig.ini
InstallShield 10:04:14: Got '{70DDB886-7154-4798-8849-010C4ABE295B}' for TempPathGuid from isconfig.ini
InstallShield 10:04:14: Attempting to use temp path 'C:\Users\mip5000\AppData\Local\Temp\{70DDB886-7154-4798-8849-010C4ABE295B}'
InstallShield 10:04:14: Using temp folder C:\Users\mip5000\AppData\Local\Temp\{2E37752C-CBD8-4023-8A26-ED7F01461EB7}
InstallShield 10:04:14: Installing engine...
InstallShield 10:04:14: Using product language 1033
InstallShield 10:04:14: Extracting support file setup.inx to C:\Users\mip5000\AppData\Local\Temp\{2E37752C-CBD8-4023-8A26-ED7F01461EB7}\setup.inx
InstallShield 10:04:14: Extracting support file ISRT.dll to C:\Users\mip5000\AppData\Local\Temp\{2E37752C-CBD8-4023-8A26-ED7F01461EB7}\ISRT.dll
InstallShield 10:04:14: Extracting support file _isres_0x0409.dll to C:\Users\mip5000\AppData\Local\Temp\{2E37752C-CBD8-4023-8A26-ED7F01461EB7}\_isres_0x0409.dll
InstallShield 10:04:14: Extracting support file String1033.txt to C:\Users\mip5000\AppData\Local\Temp\{2E37752C-CBD8-4023-8A26-ED7F01461EB7}\String1033.txt
InstallShield 10:04:14: Extracting support file _isuser_0x0409.dll to C:\Users\mip5000\AppData\Local\Temp\{2E37752C-CBD8-4023-8A26-ED7F01461EB7}\_isuser_0x0409.dll
InstallShield 10:04:14: Setting script cmdline...
InstallShield 10:04:14: ProductCode is {9EDCF01C-5413-4CF3-9E12-8AB9551FAEAC}
InstallShield 10:04:14: Initializing Engine
InstallShield 10:04:15: Done Initializing...
MSI (s) (D8!AC) [10:04:15:362]: Note: 1: 2732 2: 0
InstallShield 10:04:15: Registering Msi Server...
InstallShield 10:04:15: Invoking script function ManageFonts
InstallShield 10:04:15: CallScriptFunctionFromMsiCA() ends
InstallShield 10:04:15: Cleaning up temp file C:\Users\mip5000\AppData\Local\Temp\{2E37752C-CBD8-4023-8A26-ED7F01461EB7}\ISRT.dll
InstallShield 10:04:15: Cleaning up temp file C:\Users\mip5000\AppData\Local\Temp\{2E37752C-CBD8-4023-8A26-ED7F01461EB7}\IsConfig.ini
InstallShield 10:04:15: Cleaning up temp file C:\Users\mip5000\AppData\Local\Temp\{2E37752C-CBD8-4023-8A26-ED7F01461EB7}\String1033.txt
InstallShield 10:04:15: Cleaning up temp file C:\Users\mip5000\AppData\Local\Temp\{2E37752C-CBD8-4023-8A26-ED7F01461EB7}\_isres_0x0409.dll
InstallShield 10:04:15: Cleaning up temp file C:\Users\mip5000\AppData\Local\Temp\{2E37752C-CBD8-4023-8A26-ED7F01461EB7}\_isuser_0x0409.dll
InstallShield 10:04:15: Cleaning up temp file C:\Users\mip5000\AppData\Local\Temp\{2E37752C-CBD8-4023-8A26-ED7F01461EB7}\setup.inx
Action ended 10:04:15: ManageFontInstall. Return value 3.
Action ended 10:04:15: INSTALL. Return value 3.


Then I have done a test where the first line of the Installscript custom action displays a Message box. The message box is never displayed when the crash happens. So I know that my InstallScript function is never called.

The worst is that when doing a major upgrade, On the remove of the previous installation, this Installscript Custom Action is called and processed without any problem and returns 1. but on the second time, makes the application crash

I have no clue what could be the problem. I've been working on this one for several days. Please help.

thanks in advance.
Labels (1)
0 Kudos
(1) Reply
slalande50
Level 5

Anyone with a clue on what could be the problem. I really need to fix this one and cannot find any solutions.

Please someone help.

thanks
0 Kudos