illinois-dres-aitg / pyia2

Python interface to MSAA and IAccessible2 Interfaces
GNU General Public License v3.0
8 stars 10 forks source link

Add post-install code to register the DLL in setup.py #3

Closed drmfinlay closed 5 years ago

drmfinlay commented 5 years ago

This uses the Windows ShellExecute function to register the IAccessible2Proxy.dll file with administrative privileges. The UAC prompt and regsrv32 success/failure dialog windows will be shown. I've also updated the installation instructions in the readme.

This makes pyia2 slightly easier to install :-)

The package is still installed if the command fails for some reason.

jongund commented 5 years ago

Thank you for adding this feature!

drmfinlay commented 5 years ago

No problem! Thank you for this very useful project :-)