PDA

View Full Version : Please don't install stuff into system32 dir


spacemarine
06-10-2006, 06:58 PM
Hi,

the CAD Installer installs the following files to
the SYSTEM32 directory:

SSubTmr6.dll
vbalTreeView6.ocx

I consider it bad style to install stuff into the Windows directory
if it's equally possible to just put the required DDLs and OCXs
in the program's own folder, which I strongly believe it is.

So I would suggest that the installer just puts that stuff into
CAD's folder.
This would also make it easier to offer a ZIP-only download without an installer ;)

Cheers!
Spacemarine

Carlos
06-10-2006, 07:09 PM
There is nothing wrong with that in my opinion. ;)

CAD does not install/modify system files just control related ones (like the CP's treeview).

In addition, you can move and unregister those files and try to use CAD as you wish.

But CAD is not the only program that uses SSubTmr6.dll and maybe not the only one that uses the VBA treeview control.

C'mon! :)

spacemarine
06-10-2006, 09:33 PM
The thing is, I tried to make my own ZIP file for later use
(so that I don't have to use the installer again, and also remember my settings by including the INI file).

I tried to use that file on another computer (not much software installed
there), and the tree view in the control panel didn't work (not surprising,
as there was no VBA tree control installed).

I mean, how could it be possible to offer a ZIP based download in the future ?
Unpacking a ZIP archive won't put the required files in the system directory.

Just think about the advantages of putting the files in the CAD dir:
+clean, better style
+no uninstaller needed (deleting the CAD dir is enough)
+easy to offer a ZIP-based download

And the disadvantages:
-a few more kilobytes extra (d'oh!) ;)

Surely the whole thing is NOT not a BIG issue, but nonetheless
I do think that everything required by a program should be included in its
folder ... call me old-fashioned if you want ;) ;)

Carlos
06-10-2006, 11:27 PM
Who knows, but not right now. :)