PDA

View Full Version : OLESelfregister not registered if it's within a folder


SetupJuggler
11-12-2008, 10:10 AM
Hi,
I'm using SUF 8.1.1006.0

I tried to register from "Folder Reference Properties"/Advanced with the checker "Register supported COM interfaces". The files supports the DLLRegisterServer interface. The folder consists only of the two files to install and register. The registration fails without an error message. If I delete the folder reference and add the file with Project/Add File to the archive and set the checker to selfregister then it works fine.

Any idea?

upeters
11-12-2008, 10:48 AM
So far, I can't confirm the problem. I built new installer containing a single executable, and added a folder reference containing a few Chilkat components to the project. They all were correctly registered, when installed in the same folder as the main executable, as well as when they were copied into a subfolder. This was tested on Windows XP and Vista.

Furthermore, in both cases everything was correctly unregistered upon removal of this test application, and no trace of the components can be found in the registry.

Ulrich

SetupJuggler
11-17-2008, 09:28 AM
Thanks for repley Ulrich.
I tried it again today and got the same unregistered two Dlls like before. I checked again the Folder Reference Properties/Advanced for the checked "Register supported COM interface" and that was checked. The install log file doesn't have an entry like
"[11/12/2008 17:42:46] Success Register COM file: C:\Programme\Mahr\MarWin\xyviewServer.dll".
The two OLE-dlls are grabbed from a folder, where only this two OLE files exist. They can only life with a bunch of other files, so I could make an example for incorrect registering out of this files. Later I try to make two small example OLE files for testeing.

JXBURNS
11-17-2008, 10:10 AM
Try turning off 'Compress File' in File Properties for the two DLL's. That may solve it.

John

SetupJuggler
11-18-2008, 09:34 AM
Thanks for your hint, John. I tried it, but also doesn't work. The files got copied, but not registered. Too bad. Up to now I
I'm a newbe with SUF, I worked 10 years with InstallShield.

I wanna try a support ticket.

Udo