FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WD22] How can I get the place where a application is installed
[WD22] How can I get the place where a application is installed
Débuté par Michael Drechsel, 18 mai 2018 08:18 - 5 réponses
Connectez-vous…
Michael Drechsel
#1
Posté le 18 mai 2018 - 08:18
Hi,
in my windev application I need to start an external program. I know the nam of the exe ("myprogram.exe") but I don´t know where it is located at the users computer.
Is there an easy way to get this information from the registry ?
Signaler
0
0
GuenterP
#2
Posté le 18 mai 2018 - 09:11
Hi Michael,
what about fexeDir() ?
Signaler
0
0
Michael Drechsel
#3
Posté le 18 mai 2018 - 09:18
HI Guenter,
I know the name of the exe, but it is not started and I doesn´t know where it is.
I need to know the full path (32 or 64) to start the application from windev.
There a several entries in the registry, but I don´t know which is the right one.
Signaler
0
0
GuenterP
#4
Posté le 18 mai 2018 - 09:50
Hi Michael,
for installed programs, there should be a record in the registry which says, where it actually is located. If your installer installed it as a windows program in \Programme or \Program files or \Programme (x86) etc.
Signaler
0
0
heinz Kübler
#5
Posté le 18 mai 2018 - 10:27
Hi,
it is in :
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\myprog.exe
regards, Heinz
Signaler
0
0
Michael Drechsel
#6
Posté le 18 mai 2018 - 10:43
Hi Heinz,
unfortunately not ... I found at github a post, they use:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
It looks like these GUIDs are unique ...
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte