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

Basic MSI: InstallScript Custom Action does not work; error is 0x80020009

Hi.

I´ve created a simply InstallScript CA inside my Basic MSI project. But the CA does not work. The .log file reports the following errors:

InstallShield 16:14:03: Initializing Engine
InstallShield 16:14:03: Failed to Invoke __ISRTInit, error is 0x80020009
InstallShield 16:14:03: InitScript operation failed, error is 0x80020009
InstallShield 16:14:03: Failed to invoke __ISRTUninit, error is 0x80020009
InstallShield 16:14:03: Initialize() Failure, Failed to Initialize script support, Error = 0x80020009

I´ve tried a lot of things (deleting the CA and re-created it, moved it inside the sequences) but it does not work.

I´ve also noticed that Redist\Language Independent\i386\ISSetup.dll has been overwritten with a ISSetup.dll text file that simply includes some Script Code. How could that happen? Now I´ve copied the original ISSetup.dll to that folder. But the problem still occurs.

Thanks for help
-Nick
Labels (1)
0 Kudos
(2) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

Assuming your setup.rul compiled/linked successfully at build time, there should not be any reason why this error would be occurring. Failing to launch ISRTInit almost seems indicative of a failure to compile or link your script at build time. Are you receiving any build errors?
0 Kudos
Holger_G
Level 10

I had to perform a 'Repair' installation of InstallShield 2008 to get it work again.
0 Kudos