Python Forum
how to view all installed software in a dialog
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to view all installed software in a dialog
#1
Good day,

I am trying to view installed software in a dialog where the buttons are the names and when you click on a button is prints the path of the exe of the software sort of like the windows open with dialog. Any help will be much appreciated.
Reply
#2
When you say "exe", it sounds like you're looking for Windows executables, rather than Python packages. Why, then, is this in a Python forum? Are you trying to write such a thing? If so, what have you tried, investigated, etc.? If you're not trying to write a program to do this, it seems like not the right place for it.
Reply
#3
(Oct-09-2021, 03:16 PM)ndc85430 Wrote: When you say "exe", it sounds like you're looking for Windows executables, rather than Python packages. Why, then, is this in a Python forum? Are you trying to write such a thing? If so, what have you tried, investigated, etc.? If you're not trying to write a program to do this, it seems like not the right place for it.

No I got an app that I am working on but it requires the user to select an installed software to add to the app. The only way I got it to sort of work was with a tkinter file dialog that pops up where the user has to go and find executable in programs files but not everyone knows how to do that so I was trying to find a way that python lists all the programs installed and I know that can be done with subprocess but that only gives the name in the list and there isnt a way the user can select a program. So I was looking for a way to make a dialog that pops up when the user has pressed a button like the dialog that pops up when you right click on a file and select open with, I want to integrate something like that into my app where the user presses the button -> window opens -> user can select the program that he/she wants to add and when they select it, it prints out the path of the exe which I can use in the rest of the program.
Reply
#4
Installed software and find an exe may be many different things:
  • There may be software that is not installed (i.e. portable) - there is exe, but it's not listed under ControlPanel->Programs and features
  • There might be installed software with multiple exe
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#5
(Oct-09-2021, 04:48 PM)buran Wrote: Installed software and find an exe may be many different things:
  • There may be software that is not installed (i.e. portable) - there is exe, but it's not listed under ControlPanel->Programs and features
  • There might be installed software with multiple exe
thats the problem I have that why I thought having it open open a file dialog in the program files would be he easiest for the user to select the right one for them selves but not everyone knows how to do that
Reply
#6
You didn't get my point - it's something you have to decide first - what you want to get. "View installed software" is too broad and ambiguous
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#7
(Oct-09-2021, 06:08 PM)buran Wrote: You didn't get my point - it's something you have to decide first - what you want to get. "View installed software" is too broad and ambiguous

yes installed software, the software that is under programs in control panel
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Hard disk structure like a file selection dialog malonn 2 789 Aug-09-2023, 09:14 PM
Last Post: malonn
  [S0LVED] [Tkinter] Center dialog? Winfried 8 4,192 Mar-01-2022, 07:17 PM
Last Post: Winfried
  Set Text in Open Dialog Box giddyhead 0 1,666 May-21-2021, 06:31 PM
Last Post: giddyhead
  Subprocesses not opening File Select Dialog teut 2 2,394 Feb-22-2021, 08:07 PM
Last Post: teut

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020