Jim MacDiarmid
Jim MacDiarmid

Reputation: 149

Can ILMerge be used on DLLs in InstallShield CustomActions?

I created a C# dll that is dependent on the DOTNETZIP "Ionic.Zip.dll". This custom assembly will be used as an InstallShield Custom Action and enter into the Binary table. When the Custom Action is executed, I get the following error information in the MSI log.

Action 11:59:25: LaunchCTSDBExtract2. MSI (s) (20:50) [11:59:25:513]: Executing op: CustomActionSchedule(Action=LaunchCTSDBExtract2,ActionType=1089,Source=BinaryData,Target=m1,) MSI (s) (20:08) [11:59:25:607]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI5F58.tmp, Entrypoint: m1 InstallShield: Attempting to load through CLR 4 APIs... InstallShield: Getting meta host... InstallShield: Enumerating available runtimes... InstallShield: Highest available runtime: v4.0.30319 InstallShield: Trying to use highest runtime... InstallShield: Using highest version runtime... InstallShield: Deferred action requested property MsiHiddenProperties not provided by CustomActionData InstallShield: Loading assembly CTSDBExtract_Merged from resource 4097 InstallShield: Unable to load managed custom action assembly CTSDBExtract_Merged: Resource 4096.4097 was not found

Has anyone ever seen this, and/or know what it means and how to fix it? If I left anything out that you're not sure about, please let me know and I will be happy to clarify.

Thanks

Upvotes: 1

Views: 433

Answers (1)

Christopher Painter
Christopher Painter

Reputation: 55581

Google DTF managed custom actions. It's an open source project from Microsoft that encapsulates managed custom actions as unmanaged and it works with InstallShield. It also has built in capabilities for compressing and self extracting assembly references and content files.

Upvotes: 0

Related Questions