Installer built by Inno Setup and SPAWNWND, NOTIFYWND parameters on UAC window

ぃ、小莉子 提交于 2020-12-29 14:21:14

问题


What are SPAWNWND and NOTIFYWND parameters in the program path?

enter image description here


回答1:


Those two parameters are used for communication between the elevated and non elevated parts of the setup for ...AsOriginalUser functionality, exit codes, etc.
You can probably find more details in the Inno source code itself.

Note that these are an implementation detail and you shouldn't rely on them or do anything with the values.




回答2:


spawn() is a c-function group that executes, child processes, but not through a forking! There is spawnvl() - vl stands for "variable list" of arguments (like spawnvl(arg1, arg2, arg3,...arg n, NULL);). spawnl() I guess executes a program with fixed amount of arguments in a list. There are also spawnvle() and spawnle() - these are similar to (int argc, char **argV) - the e stands for environment, that means the argv-char array, and again they exist with variable and fixed amount list args. Linux equivalents are exec -function group.

I guess these functions (processes invoked) communicate via signals to their parents



来源:https://stackoverflow.com/questions/10312418/installer-built-by-inno-setup-and-spawnwnd-notifywnd-parameters-on-uac-window

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!