List with installed applications
On 08/09/2016 at 01:45, xxxxxxxx wrote:
I start an application from within a plugin.
I assume (for PC) that the application is always on the c: drive.
Now I have users that installed the application on another drive.
I can search all drive for the application, but that takes some time (too long).
Can I get a list with all installed applications, so I can detect on what drive it is located?
On 09/09/2016 at 03:06, xxxxxxxx wrote:
Cinema 4D's APIs don't offer any means for this. Maybe someone from the community knows a quick answer, otherwise I guess, you'll need to search the net for a solution.
On 09/09/2016 at 04:33, xxxxxxxx wrote:
The application likely has some information like its installation path stored in the registry. You can use the WinReg module (builtin) to read it.
Otherwise, you could just ask the user if the default path doesnt work.
On 09/09/2016 at 05:10, xxxxxxxx wrote:
A quick Google search on 'python check if program installed' will return plenty of hits on this.