PDA

Click to See Complete Forum and Search --> : App Deploy and activex Control


navaspp
Apr 12th, 2010, 08:15 AM
Hi
I have created an vb6 application with some activex controls.I created the Installation file using visual studio installer. The application installation is success,and the application is running in windows xp Administrator login. but it is not running if I login in user mode.(some ocx controls are not registered error).
How I can solve the problem and create an installation file which can able to register all ocx controls in all user login?

IanS
Apr 12th, 2010, 08:29 AM
I tend to write my applications so that they can be used by all users.

But I write my installers so that they require admin permissions to install.

I write mainly business software and I find that system administrators appreciate that approach.

By requiring admin premission I find that there's no problem registering any ocx/dll etc.

baja_yu
Apr 12th, 2010, 10:29 AM
Hi
I have created an vb6 application with some activex controls.I created the Installation file using visual studio installer. The application installation is success,and the application is running in windows xp Administrator login. but it is not running if I login in user mode.(some ocx controls are not registered error).
How I can solve the problem and create an installation file which can able to register all ocx controls in all user login?

A Limited windows account doesn't have permission to install or uninstall software. That's one of the purposes of the Limited account.

P.S: You are in the wrong section of the forum since the problem is deployment related.

Hack
Apr 12th, 2010, 10:36 AM
Moved To Application Deployment

navaspp
Apr 12th, 2010, 01:54 PM
Thanks for the reply. I installed the software by admin login, and the software is running fine.Here comes the problem When I Logined as user and try to open the application(not the setup) it is giving the activex regitration error.

dilettante
Apr 15th, 2010, 05:59 PM
A Limited windows account doesn't have permission to install or uninstall software. That's one of the purposes of the Limited account.
This isn't strictly true. There are provisions in Windows for per-user installs that don't require admin rights at all. Windows 7 even added more support for this sort of thing. Most of the time this isn't the best way to proceed though.


Thanks for the reply. I installed the software by admin login, and the software is running fine.Here comes the problem When I Logined as user and try to open the application(not the setup) it is giving the activex regitration error.
You can run into this if your setup package is set for a per-user install instead of an administrative install or auto-negotiated install. Even though you installed it under an admin account it only registered the components to that particular user, not globally (per-machine).

What packaging/installation technology are you using?