cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
CodeGuru
Level 4

Retrieving the COM class factory for component with CLSID {23473F79-0333-4A92-9823-DC

Retrieving the COM class factory for component with CLSID {23473F79-0333-4A92-9823-DCD9B4509227} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

Trying to use InstallShield Automation Interface with VS 2010, TFS 2010, and InstallShield 2011 and I get this error.

I'm trying to add my own action to the tfs workflow using insatllshield automation added as a COM to my actions dll.

My code looks as follows:
using ISWiAuto17;

private ISWiAuto17.ISWiProject ISWiProject;

// Replace the version number
ISWiProject = new ISWiAuto17.ISWiProject();
ISWiProject.OpenProject(@"D:\Setup.ism", false);
ISWiProject.ProductVersion = "1.2.3";
ISWiProject.SaveProject();
ISWiProject.CloseProject();


If I comment out all of the ISWiProject. action code, and just leave ISWiProject = new ISWiAuto17.ISWiProject();, it still crashes.

If I comment out all of the replace the verison number code, it works fine.

I tried regsvr32 iswiautomation17.dll on the server (2008 R2 x64) with no luck.

My TFS build is running in x86 mode.

My action dll is compiled using ANY CPU.
Labels (1)
0 Kudos

(1) Reply
Copernicus
Level 3

0 Kudos