Part of elisa.core.utils.mswin32
Line # | Kind | Name | Docs |
---|---|---|---|
44 | Class | RegKey | Undocumented |
88 | Class | ElisaRegKey | Undocumented |
91 | Function | get_multimedia_dir | return in a dict the multimedia directories in UTF8 |
127 | Function | should_install_recommended_plugins | Read the key in the registry set by the installer to define whether to |
161 | Function | get_process_id | Undocumented |
172 | Function | get_process_id_xp | Undocumented |
201 | Function | kill_process_pid | Undocumented |
207 | Function | kill_process_pids | Undocumented |
215 | Function | kill_process | Undocumented |
221 | Function | exit | Exit Elisa using an external executable that makes sure no zombie processes |
255 | Class | ShortcutResolver | Helper class that resolves windows shortcuts. |
295 | Function | run_with_privilege | Undocumented |
326 | Function | register_com_dll | Register a COM dll. |
370 | Function | unregister_com_dll | Undocumented |
33 | Function | _get_reg_value | Undocumented |
Once read, the key in the registry is deleted because the recommended plugins should be installed only upon first run.
Returns | whether to install the recommended plugins
(type: bool
) |
Parameters | delay | the delay in seconds before checking whether Elisa correctly exited, and
eventually kill all remaining processes (default: 1 second)
(type: int
) |
relaunch | whether to relaunch elisa after it successfully exited (default:
False )
(type: bool
) | |
Returns | the subprocess object running the external executable
(type: subprocess.Popen
) | |
Raises | AssertionError | when trying to exit from an uninstalled version of Elisa |
ValueError | if the delay passed is not strictly greater than zero |
Parameters | filename | the full path to the dll to register
(type: str
) |
register | whether we want to register (True ) or unregister
(False ) the dll
(type: bool
) | |
Raises | pywintypes.error | if the Dll[Un]RegisterServer() function of the dll returned an error |
WindowsError | if the library cannot be loaded |