Windows 7 x86 Error 1904
This issue has been solved. See solution.
Hi
I made a MSI using Wise Installation Express (v7.3). It contains many dll's and OCX's. Tried both selfreg and without it. I am installing it on a Windows 7 RC image.
My error message during the install goes something like this "error 1904 Failed to register RichViewEditX.ocx". It also fails on csXImage.ocx. Both ocx's are components we bought for our aging VB6 app.
I tried using regsvr32, but the OS rejected it and said something about Kernel32.dll error. I checked for dependencies, but at least one ocx was dependency free. Thus it should work on that one, but it didn't.
What can I do to correct this problem? The web has not the answers, as far as I have searched...
regards,
Greendaale
Windows 7 does not support 16 bit
First of all, can you check if the DLL and OCX files you are working with are 32 bit?
Windows 7 does not support 16 bit at all, so if these resources are 16 bit, you may need to start experimenting with the Windows XP compatibility add-on to Windows 7.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Determine 16 bit
I am not sure. I doubt it. Can you guide me to a tool for determine if a ocx is 16 bit or not?
Thanks :)
Unaware of any tool
I would recommend searching the internet (eg Google) on the filenames of your various OCX files - if you can identify the author of the OCX you can no doubt find out whether the OCX is 16 bit.
I'm not a programmer, but I would imagine there are ways of checking what type of DLL or OCX you are working with.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
16bit vs 32bit
Thanks for the reply :)
I believe my ocx'es are 32bit, since they are ActiveX, thus being 32bit. right?
So, what now? How to make my MSI work? :)
If regsvr32.exe does not work...
...then perhaps the DLL and OCX files causing the kernel error are incompatible with Windows 7.
Since you are referring to an "ageing" VB6 environment, have you looked for any "modern" equivalents of the OCX's you are using?
Clearly if you are just copying the OCX manually to a folder on the Windows 7 machine, and trying to register it with REGSVR32.exe, then a Kernel error signifies an issue with the OCX, and cannot be a problem with the installer, as the installer is not involved when you do anything manually.
I tried googling on RichViewEditX.ocx, and only got this thread as a result. Is this the correct name for the OCX, and if so, where did it come from? It's odd that there are no other hits in google.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
RichView
Thanks for the reply :)
The ActiveX is an specially brewed component based on the TRichView component, www.trichview.com/features/. We had to make a VB6 component of TRichView, because it shipped only in Delphi or C++ Builder.
No wonder Google gave no hits :)
We are currently working on an upgrade. But we also have to others who produce the same error messages. It may be that the OCX's are too old. I did not check dependency on all three of the ocx's, only one of them. But it produced the same error message, anyway.
Tried to register csXImage
When I register csXImage (which was upgraded to the newest ocx) it failed. I also spoke to Chestysoft (the makers of csXImage) and they told me they got it registered just fine. I obviously used cmd elevated as administrator.
Does anybody have a clue about this problem? The component is developed using Delphi, so is the two other which fails during registering. I believe there is a connection here, but not sure how to deal with the problem.
Regards,
Greendaale
Not a Wise issue
Since the problem appears when you attempt a manual registration, the issue would appear to be with your Windows 7 RC installation.
The RTM is now available from MSDN and Technet, so perhaps you should get hold of the latest release and test on that instead. If it still gives problems then you need to go back to Chestysoft.
Remember to test on a bare metal install before any apps are added, and then test again once you have installed any other apps such as antivirus programs.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
I have seen some similar
I have seen some similar problems with registering files. The files registered fine on the developer machines, because they contain everything necessary. Use Dependency Walker to check if there are some missing files that makes it impossible to register the file on your machine.
DEP
We have concluded that the problem using regsvr32 on some OCX's are caused by DEP (Data Execution Prevention). It seems that that the ocx's are too old, and DEP block them from registering. When I turned off DEP (in the Bios), I could register the OCX's without errors.
Which machine manufacturer(s)
It would be helpful to know which manufacturer(s) machines you experienced this on, as it may impact the installs of other users too.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.