Flexera Software Community  

Go Back   Flexera Software Community > Products > Legacy Installer Products > InstallShield > InstallShield 10.5 - Windows Installer Projects
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-19-2005, 06:56 AM
Gunsun Gunsun is offline
Power User (30+ Posts)
 
Join Date: Jun 2003
Location: Sweden
Posts: 41
InstallShield incompatible with VS2005. ProgIds lost with VS2005 COM components

I have just compiled our product successfully with VS2005 but the application now apparantly fails to register correctly and thus it will not even start up.

When I compare the MSI file containing the files built with VS2003 with the MSI file containing files built with VS2005 I can see that I am now missing almost 300 ProgId entries in the MSI ProgId table. I'm using the very same InstallShield project in both cases. I'm using "COM Extract at Build".

How could a COM dll compiled in VS2003 and VS2005 be different from a InstallShield point of view when it comes to extracting COM information during build time?

I'm using InstallShield 10.5 Premier Edition.

Any ideas, tips, solutions or workarounds??

Last edited by Gunsun : 12-20-2005 at 01:32 AM.
Reply With Quote
  #2  
Old 12-20-2005, 01:27 AM
Gunsun Gunsun is offline
Power User (30+ Posts)
 
Join Date: Jun 2003
Location: Sweden
Posts: 41
InstallShield incompatible with VS2005.

It is a problem with the InstallShield COM extraction component. It treats COM components built with VS2003 and VS2005 differently.

I can reproduce the behaviour with the tool "InstallShield Simple COM Extraction" (RegSpyUI.exe).
I get the COM information when I use the tool to extract COM info from the component built with VS2003. When I use the tool to extract COM info from the very same component built with VS2005, no COM info is being returned.

Obviously the same problem exists with the StandAlone Build version of the extraction tool (SARegSpy.exe).

MacroVision FlexNet InstallShield, please help me out here!!!!
Reply With Quote
  #3  
Old 12-20-2005, 10:42 AM
MichaelU's Avatar
MichaelU MichaelU is offline
InstallShield Software Engineer
 
Join Date: Jan 2004
Location: Schaumburg, IL
Posts: 3,426
Your wish happens to have some very good timing! We were looking into this on other reports, and we have an experimental replacement you can try. It's seen only limited internal testing against our 11.5 code base, and hasn't gone through any real QA process, so it's at your own risk and all that. That said it should work with 10.5 and maybe as far back as DevStudio 9 as well.

The attached zip has two files that go into your [INSTALLDIR]system folder after you backup the existing files of the same name (C:\Program Files\InstallShield 10.5\System or whatever) and two registry files - one to enable the new method, and one to turn it off. We'd appreciate any feedback you have as to whether this helps, solves, hurts, or fails to impact COM extraction on any kind of DLL, as we're looking to include this in a future release.
Attached Files
File Type: zip NewRegSpy.zip (127.3 KB, 1071 views)
__________________
Michael Urman - Senior Software Engineer - Flexera Software: InstallShield Team
Reply With Quote
  #4  
Old 12-21-2005, 07:45 AM
Gunsun Gunsun is offline
Power User (30+ Posts)
 
Join Date: Jun 2003
Location: Sweden
Posts: 41
Thank you.

I tried replacing IsRegInj.dll in my "InstallShield 10.5 StandAloneBuild" folder, but I guess I will need a matching SARegSpy.exe file as well to see any result.

Could you please send me a new SARegSpy.exe and I'll be happy to try it out on all our installation projects.

StandAloneBuild is actually our main installation building tool. Since we have so many projects to build on a daily basis it is very neat to have dedicated build machines for this purpose.

Do you think the new runtime manifests for ATL80 etc that are built into the COM components by default in VS2005 is causing the problem with RegSpy?
Reply With Quote
  #5  
Old 12-21-2005, 10:14 AM
MichaelU's Avatar
MichaelU MichaelU is offline
InstallShield Software Engineer
 
Join Date: Jan 2004
Location: Schaumburg, IL
Posts: 3,426
Many things are possible for why COM extraction fails more frequently. We've got some general ideas, but not tracked anything down yet. Anyway, here's the SARegSpy.exe - I hope it does the trick.
Attached Files
File Type: zip SARegSpy.zip (65.1 KB, 1047 views)
__________________
Michael Urman - Senior Software Engineer - Flexera Software: InstallShield Team
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 08:46 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2010 Flexera Software Inc. All rights reserved.