473,387 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Vista Deployment includes Registering COM component

Using Visual Studio 2005 I have VB project that produces a program that is
to be deployed using a VS2005 deployment project. There are some legacy COM
components that need to be registered with Windows.

Everything works jus fine under XP, including the COM components
self-registration. But when the deployment msi or setup.exe are run under
Vista (Business Ed), the self-registration fails with an Authorities error -
even when I hae the UAC turned off.

I can manually register the COM component after the installation fails, but
that's not a very elegant way to introduce a new user to the product -
having the installation fail and requiring them to perform as separate
manual step.

Is there any way to get a VS2005 deployment project to register a COM
component when run under Vista?

Thanks in advance,
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

ge***@tnhg.com
www.tnhg.com
www.ACTCustomizer.com
AIM: ACTCustomizer

Feb 15 '08 #1
5 1719

"Geoff Blood" <ge***@tnhg.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>
Is there any way to get a VS2005 deployment project to register a COM
component when run under Vista?
I would think that the deployment project comes out as an exe, msi ect ect,
since I have never created a setup project.

Have you tries right-clicking it and run it with Run As Administrator?

Feb 15 '08 #2
On Feb 16, 12:14 am, "Geoff Blood" <ge...@tnhg.comwrote:
Using Visual Studio 2005 I have VB project that produces a program that is
to be deployed using a VS2005 deployment project. There are some legacy COM
components that need to be registered with Windows.

Everything works jus fine under XP, including the COM components
self-registration. But when the deployment msi or setup.exe are run under
Vista (Business Ed), the self-registration fails with an Authorities error -
even when I hae the UAC turned off.

I can manually register the COM component after the installation fails, but
that's not a very elegant way to introduce a new user to the product -
having the installation fail and requiring them to perform as separate
manual step.

Is there any way to get a VS2005 deployment project to register a COM
component when run under Vista?

Thanks in advance,
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

ge...@tnhg.comwww.tnhg.comwww.ACTCustomizer.com
AIM: ACTCustomizer
Is the behaivour same on all target machines? It's possible that not
be admin or restricted group policy settings may have been causing
this.
Feb 16 '08 #3
yes, with the same results. Any other ideas?

--

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

ge***@tnhg.com
www.tnhg.com
www.ACTCustomizer.com
AIM: ACTCustomizer
"Mr. Arnold" <MR. Ar****@Arnold.comwrote in message
news:%2******************@TK2MSFTNGP03.phx.gbl...
>
"Geoff Blood" <ge***@tnhg.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>>
Is there any way to get a VS2005 deployment project to register a COM
component when run under Vista?

I would think that the deployment project comes out as an exe, msi ect
ect, since I have never created a setup project.

Have you tries right-clicking it and run it with Run As Administrator?

Feb 17 '08 #4
It happens on all the machines that I tried. I WAS admin on all machines.
I'm not familiar with Group policies - what are they, how are they managed,
andhow could they affect my users when they try to install my program?

TIA,
Geoff

"kimiraikkonen" <ki*************@gmail.comwrote in message
news:60**********************************@n58g2000 hsf.googlegroups.com...
On Feb 16, 12:14 am, "Geoff Blood" <ge...@tnhg.comwrote:
>Using Visual Studio 2005 I have VB project that produces a program that
is
to be deployed using a VS2005 deployment project. There are some legacy
COM
components that need to be registered with Windows.

Everything works jus fine under XP, including the COM components
self-registration. But when the deployment msi or setup.exe are run
under
Vista (Business Ed), the self-registration fails with an Authorities
error -
even when I hae the UAC turned off.

I can manually register the COM component after the installation fails,
but
that's not a very elegant way to introduce a new user to the product -
having the installation fail and requiring them to perform as separate
manual step.

Is there any way to get a VS2005 deployment project to register a COM
component when run under Vista?

Thanks in advance,
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

ge...@tnhg.comwww.tnhg.comwww.ACTCustomizer.com
AIM: ACTCustomizer

Is the behaivour same on all target machines? It's possible that not
be admin or restricted group policy settings may have been causing
this.

Feb 17 '08 #5

"Mr. Arnold" <MR. Ar****@Arnold.comwrote in message
news:%2******************@TK2MSFTNGP03.phx.gbl...
>
"Geoff Blood" <ge***@tnhg.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>>
Is there any way to get a VS2005 deployment project to register a COM
component when run under Vista?

I would think that the deployment project comes out as an exe, msi ect
ect, since I have never created a setup project.

Have you tries right-clicking it and run it with Run As Administrator?
This is what I would do at the moment for a quick workaround. I think Vista
can still run a Batch file. I would create a Batch file that is using
Regsvr32 Dllname.dll and register the DLL with the user executing that
Batch file. You can have the Batch file and the DLL in a zip file, and have
them unzip it and have them do it, until you figure out to do it with a Net
deployment project.

You may have to look at the .Net Framework Configuration polices, off of
Control Panel/Admin Tools at the machine in question to see what are the
rights for a .Net solution to do anything at the workstation level. It's a
shot and also policies on the Vista machine when using the secpol.mmc at the
Run Box, using Run As Admin rights.


Feb 17 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
2
by: Ricky | last post by:
I am doing setup and deployment for the first time in .NET. I have developed an application in VB.NET which uses a third party component. But in order for the component to work I need to register...
6
by: j2ee.singh | last post by:
Hi, I'm looking to buy a new laptop primarily to learn & practice .NET and C#. My Question is: Is there any requirement for .NET and C# in terms of the following Operating Systems: -...
3
by: =?Utf-8?B?Um9iS2lubmV5MQ==?= | last post by:
Hello, This is a continuation of a question I was working with Willy and Kevin last week (both provided excellent information). I am still having troubles in final stages. I am trying to get...
0
by: Bill Nguyen | last post by:
I have a VS app published on our Intranet using OneClick publishing. I can't run it on a Vista client PC. Please take a look at the error message below and let me know what I need to do to make...
1
by: =?Utf-8?B?UmljaA==?= | last post by:
I use "Click Once" Deployment from VS2005. Works like a charm. I have to deploy a console app and an MS Access ADP. The console app invokes the ADP. I copy the ADP to the application files to be...
2
by: linuxfedora | last post by:
I have written a C# program which has an activeX control (abc.ocx) in Visual Studio 2005, and used the setup and deployment project to create an setup.exe and setup.msi that act as an installer. ...
11
by: idoublepress | last post by:
Hi all, I've been struggling with an issue that I hope you can comment on or provide suggestions to. Our .NET 2.0 (VS2005) based product is crashing (when the user selects a particular feature on...
0
by: Peter Van Peborgh | last post by:
I have an app that is built in Access 2002 and packaged with its runtime. When installing it in a Vista PC/laptop, several dialog boxes pop up that require specific answers for the app to install and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.