This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Failed to run script function, error 0x8002000e
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 10, 2014
05:11 AM
Failed to run script function, error 0x8002000e
Hi
Could someone explain to me what I'm doing wrong here. I'm getting the error "Failed to run script function, error 0x8002000e"
Installscript Msi with logging enabled and I'm trying to execute the below code after CostFinalize (ignore what the image says)
export prototype SetSude();
function SetSude()
STRING szTemp;
begin
SprintfMsiLog ("SetSude hello");
end;

MSI (s) (B4:24) [10:53:36:521]: Doing action: SetSude
Action ended 10:53:36: CostFinalize. Return value 1.
MSI (s) (B4:28) [10:53:36:524]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI6081.tmp, Entrypoint: f2
Action start 10:53:36: SetSude.
InstallShield 10:53:37: Running InstallScript function f2
InstallShield 10:53:37: Opening stream of file C:\Windows\Installer\MSI6081.tmp
InstallShield 10:53:37: Extracting support file IsConfig.ini to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\IsConfig.ini
InstallShield 10:53:37: Extracted isconfig.ini to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\IsConfig.ini
InstallShield 10:53:37: Got '{3B507A6D-6002-4951-800A-C636DDE6869A}' for TempPathGuid from isconfig.ini
InstallShield 10:53:37: Attempting to use temp path 'C:\Users\GARETH~1\AppData\Local\Temp\{3B507A6D-6002-4951-800A-C636DDE6869A}'
InstallShield 10:53:37: Using temp folder C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}
InstallShield 10:53:37: Installing engine...
InstallShield 10:53:37: Using product language 1033
InstallShield 10:53:37: Extracting support file setup.inx to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\setup.inx
InstallShield 10:53:37: Extracting support file ISRT.dll to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\ISRT.dll
InstallShield 10:53:37: Detected X64 OS
InstallShield 10:53:37: Extracting support file ISBEWX64.exe to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\ISBEW64.exe
InstallShield 10:53:37: Extracting support file _isres_0x0409.dll to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\_isres_0x0409.dll
InstallShield 10:53:37: Extracting support file String1033.txt to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\String1033.txt
InstallShield 10:53:37: Extracting support file _isuser_0x0409.dll to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\_isuser_0x0409.dll
InstallShield 10:53:37: Setting script cmdline...
InstallShield 10:53:37: ProductCode is {84790E91-BBA1-4A67-832E-0F63CADC9460}
InstallShield 10:53:37: Initializing Engine
InstallShield 10:53:38: Done Initializing...
InstallShield 10:53:38: Registering Msi Server...
InstallShield 10:53:38: Invoking script function SetSude
InstallShield 10:53:38: Failed to run script function, error 0x8002000e
InstallShield 10:53:38: CallScriptFunctionFromMsiCA() ends, result 0x643
InstallShield 10:53:38: Cleaning up temp file C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\ISBEW64.exe
InstallShield 10:53:38: Cleaning up temp file C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\ISRT.dll
InstallShield 10:53:38: Cleaning up temp file C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\IsConfig.ini
InstallShield 10:53:38: Cleaning up temp file C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\String1033.txt
InstallShield 10:53:38: Cleaning up temp file C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\_isres_0x0409.dll
InstallShield 10:53:38: Cleaning up temp file C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\_isuser_0x0409.dll
InstallShield 10:53:38: Cleaning up temp file C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\setup.inx
CustomAction SetSude returned actual error code 1603 but will be translated to success due to continue marking
MSI (s) (B4:24) [10:53:38:067]: Doing action: SetARPReadme
Action ended 10:53:38: SetSude. Return value 1.
Thanks
Could someone explain to me what I'm doing wrong here. I'm getting the error "Failed to run script function, error 0x8002000e"
Installscript Msi with logging enabled and I'm trying to execute the below code after CostFinalize (ignore what the image says)
export prototype SetSude();
function SetSude()
STRING szTemp;
begin
SprintfMsiLog ("SetSude hello");
end;

MSI (s) (B4:24) [10:53:36:521]: Doing action: SetSude
Action ended 10:53:36: CostFinalize. Return value 1.
MSI (s) (B4:28) [10:53:36:524]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI6081.tmp, Entrypoint: f2
Action start 10:53:36: SetSude.
InstallShield 10:53:37: Running InstallScript function f2
InstallShield 10:53:37: Opening stream of file C:\Windows\Installer\MSI6081.tmp
InstallShield 10:53:37: Extracting support file IsConfig.ini to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\IsConfig.ini
InstallShield 10:53:37: Extracted isconfig.ini to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\IsConfig.ini
InstallShield 10:53:37: Got '{3B507A6D-6002-4951-800A-C636DDE6869A}' for TempPathGuid from isconfig.ini
InstallShield 10:53:37: Attempting to use temp path 'C:\Users\GARETH~1\AppData\Local\Temp\{3B507A6D-6002-4951-800A-C636DDE6869A}'
InstallShield 10:53:37: Using temp folder C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}
InstallShield 10:53:37: Installing engine...
InstallShield 10:53:37: Using product language 1033
InstallShield 10:53:37: Extracting support file setup.inx to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\setup.inx
InstallShield 10:53:37: Extracting support file ISRT.dll to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\ISRT.dll
InstallShield 10:53:37: Detected X64 OS
InstallShield 10:53:37: Extracting support file ISBEWX64.exe to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\ISBEW64.exe
InstallShield 10:53:37: Extracting support file _isres_0x0409.dll to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\_isres_0x0409.dll
InstallShield 10:53:37: Extracting support file String1033.txt to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\String1033.txt
InstallShield 10:53:37: Extracting support file _isuser_0x0409.dll to C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\_isuser_0x0409.dll
InstallShield 10:53:37: Setting script cmdline...
InstallShield 10:53:37: ProductCode is {84790E91-BBA1-4A67-832E-0F63CADC9460}
InstallShield 10:53:37: Initializing Engine
InstallShield 10:53:38: Done Initializing...
InstallShield 10:53:38: Registering Msi Server...
InstallShield 10:53:38: Invoking script function SetSude
InstallShield 10:53:38: Failed to run script function, error 0x8002000e
InstallShield 10:53:38: CallScriptFunctionFromMsiCA() ends, result 0x643
InstallShield 10:53:38: Cleaning up temp file C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\ISBEW64.exe
InstallShield 10:53:38: Cleaning up temp file C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\ISRT.dll
InstallShield 10:53:38: Cleaning up temp file C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\IsConfig.ini
InstallShield 10:53:38: Cleaning up temp file C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\String1033.txt
InstallShield 10:53:38: Cleaning up temp file C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\_isres_0x0409.dll
InstallShield 10:53:38: Cleaning up temp file C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\_isuser_0x0409.dll
InstallShield 10:53:38: Cleaning up temp file C:\Users\GARETH~1\AppData\Local\Temp\{0D559DD2-72C8-414A-91AD-27C1C3D2CBD1}\setup.inx
CustomAction SetSude returned actual error code 1603 but will be translated to success due to continue marking
MSI (s) (B4:24) [10:53:38:067]: Doing action: SetARPReadme
Action ended 10:53:38: SetSude. Return value 1.
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 11, 2014
09:43 AM
I am not certain exactly what is going on here as I do not understand your process nor do you provide the function definition for the InstallScript custom action. My guess is that there is something wrong with your InstallScript custom action. Make sure you are exporting your function and include the HWND parameter. For example: export prototype FunctionName(HWND);
See http://helpnet.installshield.com/installshield16helplib/IHelpIScriptEntryPoint.htm
If the prototype looks correct try deleting the custom action and recreating it. Perhaps the internal reference in the tables is somehow corrupt?
See http://helpnet.installshield.com/installshield16helplib/IHelpIScriptEntryPoint.htm
If the prototype looks correct try deleting the custom action and recreating it. Perhaps the internal reference in the tables is somehow corrupt?
