tR1cKy
taking over the world
I've recently downloaded and installed the Civ3 FLC Editor by Cyber Dreyk. It's after i saw the behaviour of this application that i felt the need of this post.
For Cyber Dreyk: i don't intend to bash on you. I really appreciate your work. The FLC editor is a useful utility. What i strongly despise is the way it installs and (doesn't) uninstalls of a Windoze box. It has an almost viral behaviour. This is the reason why i'm using it an example on how NOT to set up an application.
This utility copies 25 files in the Windoze System folder and creates no less than 47 new folders in the Windoze registry. This is a big, big, big, big NO-NO. Putting stuff in registry and system is a very critical action and must be avoided unless it's really, really essential for your application to work correctly. In fact, this tampering with vital areas of the operating sistem is the main reason why Windoze boxes tend to go FUBAR after a few installing and de-installing of applications.
In this particular case, things are even worse. Files are copied via a batch script, so there is NO CONTROL on what is copied. What if there's already a dll in the System folder with the same name of one of these files? Then, the program doesn't provide an uninstall option. The only way to get rid of all this stuff is to remove the registry keys and the dll in the system folder manually, and then un-registering the dlls via console. Obviosly, these operation must be performed only if you really know what you're doing, or else you'll end up formatting and re-installing your box. This means that, unless you're a very experienced user, you must keep all this crap forever.
Cyber and others, please listen: only few programs have a real need of tampering with the system and/or the registry: video and audio drivers need that, or they won't work. A video codec such as XviD need that, or else it will be unusable by players and editors. A java virtual machine need that, or its environment will be useless. A generic application like those you find here has absolutely no reason to alter in any way the os.
Cyber, you don't need to messing this way with the registry and System. You can have your dlls in the directory where the program is installed and still use them. If you want to register an application, one key in the registry is all you need. ONE, not 47. Use text files (like the ini's) for your configuration and leave the register alone. It's the best thing you can do.
I urge you to release a new version in which you leave off all the unnecessary tampering. And i urge all the developers that have posted their programs here to check what these applications do on the operating system and, if necessary, correct their behaviour.
You don't want your application, on which you've spent countless hours of your free time, to be the cause of a FORMAT C:\ on a gamer's PC, don't you?
Thanks to all for your attention.
tR1cKy
For Cyber Dreyk: i don't intend to bash on you. I really appreciate your work. The FLC editor is a useful utility. What i strongly despise is the way it installs and (doesn't) uninstalls of a Windoze box. It has an almost viral behaviour. This is the reason why i'm using it an example on how NOT to set up an application.
This utility copies 25 files in the Windoze System folder and creates no less than 47 new folders in the Windoze registry. This is a big, big, big, big NO-NO. Putting stuff in registry and system is a very critical action and must be avoided unless it's really, really essential for your application to work correctly. In fact, this tampering with vital areas of the operating sistem is the main reason why Windoze boxes tend to go FUBAR after a few installing and de-installing of applications.
In this particular case, things are even worse. Files are copied via a batch script, so there is NO CONTROL on what is copied. What if there's already a dll in the System folder with the same name of one of these files? Then, the program doesn't provide an uninstall option. The only way to get rid of all this stuff is to remove the registry keys and the dll in the system folder manually, and then un-registering the dlls via console. Obviosly, these operation must be performed only if you really know what you're doing, or else you'll end up formatting and re-installing your box. This means that, unless you're a very experienced user, you must keep all this crap forever.
Cyber and others, please listen: only few programs have a real need of tampering with the system and/or the registry: video and audio drivers need that, or they won't work. A video codec such as XviD need that, or else it will be unusable by players and editors. A java virtual machine need that, or its environment will be useless. A generic application like those you find here has absolutely no reason to alter in any way the os.
Cyber, you don't need to messing this way with the registry and System. You can have your dlls in the directory where the program is installed and still use them. If you want to register an application, one key in the registry is all you need. ONE, not 47. Use text files (like the ini's) for your configuration and leave the register alone. It's the best thing you can do.
I urge you to release a new version in which you leave off all the unnecessary tampering. And i urge all the developers that have posted their programs here to check what these applications do on the operating system and, if necessary, correct their behaviour.
You don't want your application, on which you've spent countless hours of your free time, to be the cause of a FORMAT C:\ on a gamer's PC, don't you?
Thanks to all for your attention.
tR1cKy