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

06-25-2007, 09:22 AM

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

06-25-2007, 10:56 AM
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?

06-26-2007, 03:55 AM
I had to perform a 'Repair' installation of InstallShield 2008 to get it work again.