Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   check any software installed on client computer (https://www.delphipraxis.net/176516-check-any-software-installed-client-computer.html)

question 11. Sep 2013 21:45

check any software installed on client computer
 
is it possible to check whether a software(skype) is installed on the client machine or not? for example, i can check it in my computer under regedit the installation path (C:\Program Files\Skype...)
and i can check it with FileExists, but i dont know whether the client installed it on C or D or any other drive,then how can i check it ?

Luckie 12. Sep 2013 06:49

AW: check any software installed on client computer
 
I don't really get what your problem or your intention is.

If the software is install via an installer there should be an installer entry in the registry. (Use Google to find the appropriate registry key.) But this only works for software with an uninstallers.

Furtbichler 12. Sep 2013 07:03

AW: check any software installed on client computer
 
Zitat:

Zitat von question (Beitrag 1228033)
is it possible to check whether a software(skype) is installed on the client machine

Zitat:

Zitat von Luckie (Beitrag 1228051)
I don't really get what your problem or your intention is.

:gruebel: To be honest, it is very clear in my eyes.
However, besides Luckie's answer (which would cover most apps) you would have to search individually for each software. Most of the application will use the registry somehow so you could check for a specific entry. But you'd have to know which one to look for.

question 12. Sep 2013 15:26

AW: check any software installed on client computer
 
Thank you for your information, actually i my question was, if i click the button then it will it show me the result
"skype has already installed on this machine" // if skype is installed
otherwise
it will show me the message
"skype is not installed yet"

DeddyH 12. Sep 2013 15:48

AW: check any software installed on client computer
 
Something like this:?:
Delphi-Quellcode:
function SkypeInstalled: Boolean;
begin
  (* Code *)
end;

procedure TSomeForm.SomeButtonClick(Sender: TObject);
begin
  if SkypeInstalled then
    ShowMessage('Skype is already installed')
  else
    ShowMessage('Skype has not been installed yet');
end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:01 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz