chamakits
1st November 2007, 15:26
Hey guys. I'm having some big problems with the registry.
The program for which i'm doing an installer, had already been installed into a few of our clients computers. That version however is highly outdated, and the previous installer was...well...hard-coded to work. The thing is, right now, the .ocx and the .dll that it used and still uses have change where they are placed. And here comes my problem. Before just registering my .dll and my .ocx, I want to find if the .dll and the .ocx are already registered. If they are, I want to delete those entries, and write my new ones. If they aren't, then just register them. For example, right now, MSWINSCK.OCX had not been properly registered, because it was already registered in the computer where I was testing, but since it changed folder, the program wouldn't run properly.
Any help would be greatly appreciated. Thanks in advance.
The program for which i'm doing an installer, had already been installed into a few of our clients computers. That version however is highly outdated, and the previous installer was...well...hard-coded to work. The thing is, right now, the .ocx and the .dll that it used and still uses have change where they are placed. And here comes my problem. Before just registering my .dll and my .ocx, I want to find if the .dll and the .ocx are already registered. If they are, I want to delete those entries, and write my new ones. If they aren't, then just register them. For example, right now, MSWINSCK.OCX had not been properly registered, because it was already registered in the computer where I was testing, but since it changed folder, the program wouldn't run properly.
Any help would be greatly appreciated. Thanks in advance.