COM dll accessable from double-click, but not from Start > Run?

G

Geoff Blood

Hi,
I'm trying to deploy an application that uses a COM dll. I've tried using
the Registration-Free COM approach, and then use Visual Studio to deploy the
application. When I run that msi on another machine, and try to run my
application from the Start > Programs menu, it produces an error that it
can't find the COM dll. However, when I navigate to the folder where the
application is installed and double-click the executable, it runs just fine.
The "interop.mycomitem.dll" and the "mycomitem.dll" are both present in the
folder, and neither has been registered. (But when I register the
"mycomitem.dll", it still won't run from the Start > Program menu.)

Any idea what I can do differently so that the program WILL run from the
Start menu?
TIA,
Geoff

--

Geoff Blood - "The ACT! Customizer"
ACT! Certified Consultant

Serving the ACC Community since 1994

The New Hampton Group, Mountain View, CA

ACT! customized for your success

(e-mail address removed)
www.tnhg.com
www.ACTCustomizer.com
AIM: ACTCustomizer
 
K

kimiraikkonen

Hi,
I'm trying to deploy an application that uses a COM dll.  I've tried using
the Registration-Free COM approach, and then use Visual Studio to deploy the
application.  When I run that msi on another machine, and try to run my
application from the Start > Programs menu, it produces an error that it
can't find the COM dll.  However, when I navigate to the folder where the
application is installed and double-click the executable, it runs just fine.
The "interop.mycomitem.dll" and the "mycomitem.dll" are both present in the
folder, and neither has been registered.  (But when I register the
"mycomitem.dll", it still won't run from the Start  > Program menu.)

Any idea what I can do differently so that the program WILL run from the
Start menu?
TIA,
Geoff

--

Geoff Blood - "The ACT! Customizer"
ACT! Certified Consultant

Serving the ACC Community since 1994

The New Hampton Group, Mountain View, CA

ACT! customized for your success

(e-mail address removed)
AIM: ACTCustomizer

Check and make sure that the path of your program under start menu is
correct and refers to correct location with your dll and executable
file.

To determine, move mouse pointer onto your application under start
menu, then right click -> properties -> and look for the path located
in "target" area.

or follow:

C:\Documents and Settings\<account name>\Start Menu\Programs

Thanks.
 
F

Family Tree Mike

Actually, I think you will want to check the "Start In" property so the
folder is correct.
 
G

Geoff Blood

Thanks, folks. Any idea how to get the Visual Studio Deployment project to
set the "Start In" property for the executable?

TIA,
Geoff
--
 
F

Family Tree Mike

It may have to do with how you create the shortcut. Here is what I do, so
see if this is different than you did, and maybe it will help. What I do is
create a shortcut in the applicaiton folder of the output from project.exe.
(Yes, this appears as though it is in the app folder). I then move the short
cut to the start menu folder in the file view.
 
G

Geoff Blood

Thanks! That's got it. :)


--

Geoff Blood - "The ACT! Customizer"
ACT! Certified Consultant

Serving the ACC Community since 1994

The New Hampton Group, Mountain View, CA

ACT! customized for your success

(e-mail address removed)
www.tnhg.com
www.ACTCustomizer.com
AIM: ACTCustomizer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top