Hi,

I am trying to get my logs to write to a ConfigMgr client folder. I have a subdirectory created specifically for this and the path is either:

C:\Windows\SysWow64\CCM\Logs\Packages; or
C:\Windows\System32\CCM\Logs\Packages

When I create a program and deploy the MSI how do I go input the log file path in the commandline? I cannot use the /lv C:\Windows etc as the path may not exist (obviously between x64 and x86 machines).

I am hoping that I don't have to create some sort of script to wrap the installer with logic in that.

If it is any help, the script will execute from a subfolder of either C:\Windows\SysWow64\CCM\Cache or C:\Windows\System32\CCM\Cache

Cheers.