| | |
How do I get msi net installer to register 3rd party ocx
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2004
Posts: 16
Reputation:
Solved Threads: 0
I am developing an app on XP which uses a 3rd party ocx > imageviewer2.ocx
In development it works fine but program does not run when insatlled on a vista machine
I presume it is because the ocx is not registered
I can register it with regsvr32 in xp but not vista
with vista I get a message error 0x80040200
How do I set a property somewhere in the net build environment which creates the installer package which will automatically register the ocx in vista?
(and presumably on another xp machine if installed there)
the vendor has pointed me to inno using a setup script but I have no knowledge of how this is applied
Any help most appreciated
thanks
In development it works fine but program does not run when insatlled on a vista machine
I presume it is because the ocx is not registered
I can register it with regsvr32 in xp but not vista
with vista I get a message error 0x80040200
How do I set a property somewhere in the net build environment which creates the installer package which will automatically register the ocx in vista?
(and presumably on another xp machine if installed there)
the vendor has pointed me to inno using a setup script but I have no knowledge of how this is applied
Any help most appreciated
thanks
•
•
Join Date: Feb 2007
Posts: 41
Reputation:
Solved Threads: 3
The first thing I have to tell you is to consult the VB migration guide and make sure the control you are using is still supported with Vista. There is a list of controls that are still supported, and a list that are not. I've already changed applications to drop one control in favor of another because of obsolete controls.
Notwithstanding, I've spent most of the last 7 days trying to get a working install script, created with Wise Installation Express for Windows, to no avail. Each attempt and new variation of the install script left me with an OCX that wasn't properly registered. The solution is sickening.
After you run your install script, go in with Regsvr32 and UNregister the OCS, then immediately Register it again. My application worked fine with this ugly solution. As for Vista and "It Just Works" ... I'd really like to have a few heads at Microsoft for wasting so much of my time on this.
Notwithstanding, I've spent most of the last 7 days trying to get a working install script, created with Wise Installation Express for Windows, to no avail. Each attempt and new variation of the install script left me with an OCX that wasn't properly registered. The solution is sickening.
After you run your install script, go in with Regsvr32 and UNregister the OCS, then immediately Register it again. My application worked fine with this ugly solution. As for Vista and "It Just Works" ... I'd really like to have a few heads at Microsoft for wasting so much of my time on this.
![]() |
Other Threads in the VB.NET Forum
- Previous Thread: Help with Excel Export
- Next Thread: How to print from datagrid view ?
| Thread Tools | Search this Thread |
.net .net2008 2008 access add advanced application array assignment basic beginner box browser button buttons center click client code combo convert cpu cuesent data database datagrid datagridview datetimepicker designer dissertation dissertations dissertationtopic eclipse editvb.net employees excel exists filter forms function html images isnumericfuntioncall listview map mobile module msaccess mssqlbackend mysql net number open page pan panel pdf picturebox picturebox2 port position print printing printpreview read record regex reuse right-to-left save search serial settings socket sorting sqldatbase sqlserver storedprocedure temp textbox timer timespan transparency txttoxmlconverter usercontol vb vb.net vba vbnet vista visual visualbasic visualbasic.net visualstudio.net web winsock wpf wrapingcode xml year





