How to check my custom action ran by msi server process or client process?
When I install an msi, we can generate a log file, how to check whether a particular standard or custom action ran under server process msi or client process msi.
Using the log file.
The Windows Installer runs an installation in two distinct processes: Client and Server. These terms are intended to be used in the COM sense where the client and server are just different processes and not in the sense of distinct client and server computers on the network. The same log file will show information from both processes.
An action by the client process is denoted in the log by "(c)":
MSI (c) (C0:6C) [22:17:24:911]: SHELL32::SHGetFolderPath returned: C:\Users\Admin\AppData\Roaming
An action by the server process is denoted in the log by "(s)":
MSI (s) (38:90) [22:18:04:544]: Doing action: LaunchConditions