I would like to have a function run that checks to see if users have all the needed 3rd party addons installed before I let them start using that feature.
So far I have created a simple routine that checks to see if registry entries are there. If they are, I know the addon is installed and move on.
If I don't see the registry entry, I was trying to use Topwiz's Runandwait code (link below) to install the addon.
https://www.topwizprogramming.com/freecode_runandwait.html
The issue I have run into is, the installer needs an elevated (admin) session to install. I am using the of_run function with msiexec /a to do a quiet install of the package. During that execution, I get the error that it needs elevated privileges to install even with the /a switch for administrator on msiexec. Guessing the initial call to createprocess() needs elevated, but not sure how to do that.
If anyone has done something like this and has some suggestions on how they accomplished this, the insight would be much appreciated.
Thanks.
Rick
If that could be automated and becomes a part of PowerBuilder (PowerClient), I think it will be great addition. Let's see what appeon thinks.