Avoid Installations with Delphi 5

Is there any way to avoid installations using delphi 5?
If yes then,
I would like that someone could help me with a sample code to check if anyone is trying to make an installation to my computer because i had some problems with that already with programs that i don't even know how to use.

Any help would be appreciated, thanks to you all for any help.

sisiliano ´;-)
LVL 1
sisilianoAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
BdLmConnect With a Mentor Commented:
if you want to to some coding by yourself.
Copy Registry content to a database (Interbase), compare it on a regualar timebase, send result from observed client Pc via TCP to your master pc (Indy); i expect a 3-4 weeks timeframe  for coding of this project. may be its only a 80 % solutions to your problem.
0
 
sftwengCommented:
sisiliano, do you want to create a program that will 1) detect and/or 2) prevent other users from installing any kind of software on your machine?

What operating system are you running? It may be possible to do this without having to write a Delphi program, just by using features of the operating system.

Do you mean situations where people who are connected to your machine over the network rather than physically at your keyboard?

Are you looking for the ability to create a "firewall" in Delphi?

Alan
0
 
shaneholmesCommented:
Any programs that are installed on your computer, you install yourself.
Unless of course you re talking about programs you install, which have malicious spyware packaged in them....
which then i would recommend a registry monitor.

Programs picked up from the web, can be prevented by using a firewall...

You can also download a registry monitor to to track these installs if you aren't using a firewall

If you are talking about creating your own program, you might look at creating a registry monitor of such,  a very  difficult task if you are a beginner.

Please explain more what you are doing

Shane
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
BdLmCommented:
Win2K , WinXP, Win NT: define your security policy, define user groups & access rights to your
files and directories....
Make your IE secure: Avoid activeX and java scripts ...., Make your MS office secure: never
run marcos from unknown sources and never run software from unknown sources.
There are so many way you can install "bad software" on your pc, there will be no single program to protect against all this challenges.



 
0
 
BdLmCommented:
Win2K , WinXP, Win NT: define your security policy, define user groups & access rights to your
files and directories....
Make your IE secure: Avoid activeX and java scripts ...., Make your MS office secure: never
run marcos from unknown sources and never run software from unknown sources.
There are so many way you can install "bad software" on your pc, there will be no single program to protect against all this challenges.



 
0
 
sisilianoAuthor Commented:

First of all thanks to you all who have posted a comment.

Sorry i shouldn't said my computer, cause is a LAN. Running WinXP pro and WinME.

Well SHANE

what  i want is to be able to avoid installations on any of the computers from a LAN using a registry minitor, let´s say that i get a list of the programs install on the computers by handling a TRegistry variable and i would like to use this list to ensure that only this programs are install on the PCs from the LAN. Is it possible to do it working with the windows REGISTRY on delphi 5 ? That's what i want to do.

Because sometimes the users download and install programs that give me problems.


I hope it's all clear now. Thanks.

sisiliano ´;-)
0
 
sisilianoAuthor Commented:
It may be obvious but i forgot to mention I'm not using a firewall.
0
 
shaneholmesConnect With a Mentor Commented:
Your in for a chore......I would suggest shutting off the rights on the computers and avoiding any installs whatsoever.....

As for code to accomplish what you want to do.....I dont have anything to offer in terms of monitoring a LAN.

Shane
0
 
sftwengConnect With a Mentor Commented:
You might get some help from the WMI, e.g., http://www.online-admin.com/twmiquery.html
0
 
gandalf_the_whiteCommented:
i also think the userrights are the way to go
if the users under winxp are only "limited users" (in german its called "eingeschränkter benutzer" don't know
the english word for that)
they will not be able to install anything on the machines.
in the school i'm teaching the administrator has made images of the
pc's for the children and if there is a problem he just copies the image
back. as the data is all saved on the server there is nothing lost and
this solution works with all Filesystems the imaging software is able to read.
i think partition magic and ghost can do all the ms operating systems

regards
0
 
sisilianoAuthor Commented:

O.K.  Thanks all of you for the latest comments.

But would you help with something.

I don't know which rootkey from the windows registry to check or try to handle to prevent the installations, i already know which one to handle to check the programs that i have installed (WinXP) i do not know if this change in other windows versions hope not, but i don't know which ones i have to check on windows xp, Me or 9x, so if any one can help me it will be so appreciated.

O.K. My point is which rootkey from windows registry may i handle to avoid installations if there is any.

I hope you guys can help.

Thanks for your help.

sisiliano ´;-)
0
 
BdLmCommented:
HKEY_CURRENT_USER\Software\....
   for user installation
HKEY_LOCAL_Maschine\Software
   for a root installtion

But as a software developer you might also use other keys
to store data in the registry
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.