This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- COM Interop
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2013
03:52 PM
COM Interop
I'm using VS 2012 and InstallShield LE Spring 2012 for Visual Studio. I'm new to IS, having used VS 2005 & 2008 and VS's Setup and Deployment projects.
In my main project, I need to check the Register for COM Interop. Does that mean in my IS project on the .dll Properties "COM & .NET Settings" I need to check the COM Interop?
I can't get my project to install (or register?) properly on the client machine. It works fine on my development machine, but I'm using gacutil and regasm. It appears to install successfully on the client, but errors (can't find it) when called. When I checked the Installer Class, I get a 1001 error on install and it rolled back. I thought this was showing me an error I had all along, but didn't see. However, searching the posts, it sounds like it's an error with that option. Also, I tried changing the Registration Type on that same tab to Extract COM information. Once chosen I can't seem to choose None anymore. When I save it and go back, it's back to Extract COM information.
Are these the settings I need to be concerned with to get registered on the client machine? It seemed to all work automatically with VS's S&D projects, or perhaps it's a difference between VS2008 and VS2012 that I'm not aware of. What's odd is that it worked the first time I installed it on the client machine. But after uninstalling and reinstalling with minor changes to main project, I haven't been able to get it to work. Is it possible the Uninstall removed something??
Any help would be appreciated.
thanks,
Mary
In my main project, I need to check the Register for COM Interop. Does that mean in my IS project on the .dll Properties "COM & .NET Settings" I need to check the COM Interop?
I can't get my project to install (or register?) properly on the client machine. It works fine on my development machine, but I'm using gacutil and regasm. It appears to install successfully on the client, but errors (can't find it) when called. When I checked the Installer Class, I get a 1001 error on install and it rolled back. I thought this was showing me an error I had all along, but didn't see. However, searching the posts, it sounds like it's an error with that option. Also, I tried changing the Registration Type on that same tab to Extract COM information. Once chosen I can't seem to choose None anymore. When I save it and go back, it's back to Extract COM information.
Are these the settings I need to be concerned with to get registered on the client machine? It seemed to all work automatically with VS's S&D projects, or perhaps it's a difference between VS2008 and VS2012 that I'm not aware of. What's odd is that it worked the first time I installed it on the client machine. But after uninstalling and reinstalling with minor changes to main project, I haven't been able to get it to work. Is it possible the Uninstall removed something??
Any help would be appreciated.
thanks,
Mary
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 08, 2013
08:03 AM
Hi Mary,
Yes, Please try checking "COM & .NET Settings" in your InstallShield Project. And you may also reinstall InstallShield on your client machine once and check if it has the same issue.
Kindly let us know the updates, so that we can assist you further on this.
Thanks,
Chaitra
Yes, Please try checking "COM & .NET Settings" in your InstallShield Project. And you may also reinstall InstallShield on your client machine once and check if it has the same issue.
Kindly let us know the updates, so that we can assist you further on this.
Thanks,
Chaitra
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 08, 2013
10:05 AM
What do I need to check/select on the "COM & .NET Settings" tab?
I finally got it to work on the client machine last night. That tab has "Extract COM information" selected; then Scan Dependencies and Properties selected; no Application File selected; both check boxes at the bottom are NOT checked. The last thing I tried was unchecking the Istaller Class. Also, I rebooted the client machine.
This morning I made some nominal changes to some if/then logic and the size of the form that is called. Uninstalled, reinstalled and I'm back to the "Attempt to execute COM object failed. Could not create object" message when try to run it. I tried uninstalling, rebooting, install, same error. Did one more reboot, same error.
On my development PC, I built the main(?) project, did the regasm/GAC stuff, then rebuilt the install project and the whole solution, then grabbed the setup.exe for the client.
I'm not sure if it's just flaky (tech term) or it's not saving my settings or I'm not setting something correctly.
thanks,
Mary
I finally got it to work on the client machine last night. That tab has "Extract COM information" selected; then Scan Dependencies and Properties selected; no Application File selected; both check boxes at the bottom are NOT checked. The last thing I tried was unchecking the Istaller Class. Also, I rebooted the client machine.
This morning I made some nominal changes to some if/then logic and the size of the form that is called. Uninstalled, reinstalled and I'm back to the "Attempt to execute COM object failed. Could not create object" message when try to run it. I tried uninstalling, rebooting, install, same error. Did one more reboot, same error.
On my development PC, I built the main(?) project, did the regasm/GAC stuff, then rebuilt the install project and the whole solution, then grabbed the setup.exe for the client.
I'm not sure if it's just flaky (tech term) or it's not saving my settings or I'm not setting something correctly.
thanks,
Mary
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 08, 2013
11:18 AM
update:
I've tried a few iterations that are failing this morning. But I reinstalled the version that worked last night and first thing this morning and that still works on the client. That makes me think it's not a flakey client machine. I tested the latest version on my development machine and that does work. That makes me think it's NOT the small screen and logic changes I made, but the installation project or how I'm using it.
Mary
I've tried a few iterations that are failing this morning. But I reinstalled the version that worked last night and first thing this morning and that still works on the client. That makes me think it's not a flakey client machine. I tested the latest version on my development machine and that does work. That makes me think it's NOT the small screen and logic changes I made, but the installation project or how I'm using it.
Mary
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 11, 2013
07:33 AM
Hi Mary,
Thank you for the updates on this.
Could you please attach a screen shot of your file configuration so that we can have a closer look at the settings being done?
Kindly co-operate and thank you for your patience.
Regards,
Chaitra
Thank you for the updates on this.
Could you please attach a screen shot of your file configuration so that we can have a closer look at the settings being done?
Kindly co-operate and thank you for your patience.
Regards,
Chaitra
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 11, 2013
09:15 AM
I wasn't sure what all you wanted me to include. See attached and/or let me know what else I can supply...
I am unable to upload any attachments?? I get a 404 error.
thank you in advance for you assistance.
Mary
I am unable to upload any attachments?? I get a 404 error.
thank you in advance for you assistance.
Mary
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 13, 2013
08:48 AM
Hi Mary,
Thank you for the update.
I have provided you with out ftp location details. You can upload the screen shot there.
Please check your private message for ftp location details.
Thanks and Best Regards,
Chaitra
Thank you for the update.
I have provided you with out ftp location details. You can upload the screen shot there.
Please check your private message for ftp location details.
Thanks and Best Regards,
Chaitra