NetCons
Pilgrim

Error 2869 while registering InterOp DLL due to use of wrong .Net framework?

A setup created with InstallShield Express 2014 gives me this error:

Error 2869. The dialog SetupError has the error style bit set, but is not an error dialog.

Doing a verbose tracing, I traced it to this error:

*****************************
MSI (s) (18:E4) [14:14:51:370]: Executing op: ActionStart(Name=_EA8D55D1504172B777FB27B5D0DD1D46.commit,,)
Actie 14:14:51: _EA8D55D1504172B777FB27B5D0DD1D46.commit.
MSI (s) (18:E4) [14:14:51:370]: Executing op: CustomActionSchedule(Action=_EA8D55D1504172B777FB27B5D0DD1D46.commit,ActionType=3585,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=commit /LogFile= "C:\ProgramData\Network Consult\SpaceBar\FDM.Client.dll" "C:\Users\Kassa\AppData\Local\Temp\{CB395D36-8977-4984-8361-E6E734D0B3DA}\_isconfig.xml")
MSI (s) (18:E4) [14:14:51:370]: Executing op: ActionStart(Name=_EA8D55D1504172B777FB27B5D0DD1D46.rollback,,)
Actie 14:14:51: _EA8D55D1504172B777FB27B5D0DD1D46.rollback.
MSI (s) (18:E4) [14:14:51:375]: Executing op: CustomActionSchedule(Action=_EA8D55D1504172B777FB27B5D0DD1D46.rollback,ActionType=3329,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=rollback /LogFile= "C:\ProgramData\Network Consult\SpaceBar\FDM.Client.dll" "C:\Users\Kassa\AppData\Local\Temp\{CB395D36-8977-4984-8361-E6E734D0B3DA}\_isconfig.xml")
MSI (s) (18:E4) [14:14:51:375]: Executing op: ActionStart(Name=_EA8D55D1504172B777FB27B5D0DD1D46.install,,)
Actie 14:14:51: _EA8D55D1504172B777FB27B5D0DD1D46.install.
MSI (s) (18:E4) [14:14:51:380]: Executing op: CustomActionSchedule(Action=_EA8D55D1504172B777FB27B5D0DD1D46.install,ActionType=3073,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=install /LogFile= "C:\ProgramData\Network Consult\SpaceBar\FDM.Client.dll" "C:\Users\Kassa\AppData\Local\Temp\{CB395D36-8977-4984-8361-E6E734D0B3DA}\_isconfig.xml")
MSI (s) (18:40) [14:14:51:385]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI556A.tmp, Entrypoint: ManagedInstall
MSI (s) (18:E0) [14:14:51:385]: Generating random cookie.
MSI (s) (18:E0) [14:14:51:390]: Created Custom Action Server with PID 624 (0x270).
MSI (s) (18:94) [14:14:51:445]: Running as a service.
MSI (s) (18:94) [14:14:51:450]: Hello, I'm your 32bit Elevated Non-remapped custom action server.
MSI (c) (A4:D4) [14:14:51:475]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

Fout 2869. In het dialoogvenster SetupError is de foutstijl ingesteld, maar dit is geen dialoogvenster met foutbericht.
MSI (c) (A4:D4) [14:15:23:226]: Product: SpaceBar GKS -- Fout 2869. In het dialoogvenster SetupError is de foutstijl ingesteld, maar dit is geen dialoogvenster met foutbericht.

Fout 1001.
MSI (s) (18!E8) [14:15:23:236]:
MSI (s) (18:40) [14:15:23:241]: Leaked MSIHANDLE (15) of type 790531 for thread 3816
MSI (s) (18:40) [14:15:23:241]: Note: 1: 2769 2: _EA8D55D1504172B777FB27B5D0DD1D46.install 3: 1
Info 2769. Aangepaste actie _EA8D55D1504172B777FB27B5D0DD1D46.install heeft 1 MSIHANDLE's niet gesloten.
CustomAction _EA8D55D1504172B777FB27B5D0DD1D46.install returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Actie beëindigd 14:15:23: InstallFinalize. Retourwaarde 3.
MSI (s) (18:E4) [14:15:23:261]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (18:E4) [14:15:23:261]: User policy value 'DisableRollback' is 0
MSI (s) (18:E4) [14:15:23:261]: Machine policy value 'DisableRollback' is 0
MSI (s) (18:E4) [14:15:23:281]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1198092761,LangId=1043,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (18:E4) [14:15:23:281]: Executing op: DialogInfo(Type=0,Argument=1043)
MSI (s) (18:E4) [14:15:23:281]: Executing op: DialogInfo(Type=1,Argument=SpaceBar GKS)
MSI (s) (18:E4) [14:15:23:281]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Terugdraai-actie:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Bezig met het verwijderen van reservekopiebestanden,CleanupTemplate=Bestand: [1])
Actie 14:15:23: Rollback. Terugdraai-actie:
Rollback: _EA8D55D1504172B777FB27B5D0DD1D46.install
MSI (s) (18:E4) [14:15:23:286]: Executing op: ActionStart(Name=_EA8D55D1504172B777FB27B5D0DD1D46.install,,)
MSI (s) (18:E4) [14:15:23:286]: Executing op: ProductInfo(ProductKey={CB395D36-8977-4984-8361-E6E734D0B3DA},ProductName=SpaceBar GKS,PackageName=SpaceBar GKS.msi,Language=1043,Version=83886080,Assignment=1,ObsoleteArg=0,ProductIcon=ARPPRODUCTICON.exe,,PackageCode={F3E19353-D20D-401E-927E-CE8D601A5E80},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=2)
Rollback: _EA8D55D1504172B777FB27B5D0DD1D46.rollback
MSI (s) (18:E4) [14:15:23:286]: Executing op: ActionStart(Name=_EA8D55D1504172B777FB27B5D0DD1D46.rollback,,)
MSI (s) (18:E4) [14:15:23:291]: Executing op: CustomActionRollback(Action=_EA8D55D1504172B777FB27B5D0DD1D46.rollback,ActionType=3329,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=rollback /LogFile= "C:\ProgramData\Network Consult\SpaceBar\FDM.Client.dll" "C:\Users\Kassa\AppData\Local\Temp\{CB395D36-8977-4984-8361-E6E734D0B3DA}\_isconfig.xml")
MSI (s) (18:2C) [14:15:23:296]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSID21D.tmp, Entrypoint: ManagedInstall
MSI (c) (A4:D4) [14:15:23:315]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

Fout 1001.
MSI (s) (18!FC) [14:15:24:787]:
MSI (s) (18:2C) [14:15:24:792]: Leaked MSIHANDLE (17) of type 790531 for thread 508
MSI (s) (18:2C) [14:15:24:792]: Note: 1: 2769 2: _EA8D55D1504172B777FB27B5D0DD1D46.rollback 3: 1
Info 2769. Aangepaste actie _EA8D55D1504172B777FB27B5D0DD1D46.rollback heeft 1 MSIHANDLE's niet gesloten.
CustomAction _EA8D55D1504172B777FB27B5D0DD1D46.rollback returned actual error code 1603 but will be translated to success due to continue marking
Rollback: _EA8D55D1504172B777FB27B5D0DD1D46.commit
MSI (s) (18:E4) [14:15:24:797]: Executing op: ActionStart(Name=_EA8D55D1504172B777FB27B5D0DD1D46.commit,,)
Rollback: Bezig met het schrijven van systeemregisterwaarden
**************************************

The file "C:\Users\Kassa\AppData\Local\Temp\{CB395D36-8977-4984-8361-E6E734D0B3DA}\_isconfig.xml" contains the following:

**************************


-


-






*****************************

There is only a runtime 3.5 and 4 on the setup system, but v4.6 is installed on the system where I created the setup.

I think this is the problem!

.Net properties InstallerClass and ComInterop as both enabled on fdm.client.dll

Can I change the runtime used to register the interop of fdm.client.dll?

Or can I register it differently?
Labels (1)
0 Kudos
1 Reply
NetCons
Pilgrim

Is there an other way to register a .Net cominterop DLL?
0 Kudos