473,698 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1734

"Geoff Blood" <ge***@tnhg.com wrote in message
news:%2******** ********@TK2MSF TNGP05.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.com wrote:
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.comw ww.tnhg.comwww. ACTCustomizer.c om
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.c omwrote in message
news:%2******** **********@TK2M SFTNGP03.phx.gb l...
>
"Geoff Blood" <ge***@tnhg.com wrote in message
news:%2******** ********@TK2MSF TNGP05.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

"kimiraikko nen" <ki************ *@gmail.comwrot e in message
news:60******** *************** ***********@n58 g2000hsf.google groups.com...
On Feb 16, 12:14 am, "Geoff Blood" <ge...@tnhg.com wrote:
>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.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.c omwrote in message
news:%2******** **********@TK2M SFTNGP03.phx.gb l...
>
"Geoff Blood" <ge***@tnhg.com wrote in message
news:%2******** ********@TK2MSF TNGP05.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
3527
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 objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
2
353
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 the component first. So I developed another applciation which does the registering automatically. So now I have 2 exe's. One exe registers the component and calls the actual second exe. When I am creating the setup I am selecting both the exe's...
6
4275
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: - Windows Vista Home Basic - Windows Vista Business
3
2854
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 an OCX to register on Vista with my ClickOnce app. Willy instructed how to embed a manifest into the exe to request admin privilages (requireAdministrator) upon launch (so the UAC window would confirm to the user they want to run the program).
0
2169
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 the app compatible with both Vista & XP clients. Thanks a million! Bill ------------------
1
2591
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 deployed from the console app and then use the Process obejct to invoke the ADP on the end User's workstaion. Below in this post is the code I use in the console application. Anyway, I have had to add some additional functionality to the ADP...
2
2216
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. And i found that when i install the setup in Windows XP, it is okey, the abc.ocx can be installed automatically. But when i try to install the program in Vista. It has problem in registering the ocx during installation, even i have clicked Yes...
11
1918
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 the UI) on Vista. It works fine on XP. In a nutshell: - user makes a selection on the UI - System.Reflection.MethodInfo.Invoke() calls into one of our .NET library dlls - Inside the library dll, System.Activator.CreateInstance() is called
0
1783
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 work OK under Vista. Is there any way to make this installation more straightforward by pre-empting these dialog boxes and/or answering them automatically so that the User does not have to do it himself and probably get it wrong? Here is what I...
0
8608
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9029
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8898
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7734
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6524
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4370
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2332
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2006
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.