|
-
Apr 1st, 2008, 09:24 AM
#1
Thread Starter
New Member
Registering ocx on Vista
Hi
I'm pretty sure there's been discussions about this issue before, but I haven't found a clear answer yet
I have a vb6 exe that uses some ocx control (namely MSWINSCK.OCX, others too)
it won't work on vista because the ocx isn't registered
I can overcome this issue by running cmd.exe as administrator and re-registering the component
something like
regsvr32 /u /s mswinsck.ocx
regsvr32 /s mswinsck.ocx
I can also create a .bat file with these commands, works well as long as I run it as admin
that's my problem
the app is sold to clients and it's a shame to ask them to first install the application, then ask them to run a .bat file by right clicking on it and selecting "run as administrator"
it's just too much manual operations for the price they pay
is there a way to programmatically bypass that "run as admin" problem and register the components automatically ?
-
Apr 1st, 2008, 09:37 AM
#2
Re: Registering ocx on Vista
Clearly they aren't "installing" the application or this problem doesn't arise. Are you just copying files and calling this an installer?
Either the PDW that comes with VB6 or the Visual Studio Installer 1.1 (free) add-on for VB6 are good basic choices for application packaging. In both cases the user still requires administrator rights to install though and will see a UAC prompt.
-
Apr 1st, 2008, 01:25 PM
#3
Re: Registering ocx on Vista
I am going to do the same thing sometime down the road. I purchased an installer that i think will do what you need here:
http://www.gdgsoft.com/pb/index.aspx
I looked at a lot of installers see here: http://www.vbforums.com/showthread.php?t=515296
Waiting for a full featured smart phone with out marrying a provider
Go Android
Go raiders 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|