How to Include System Variable in MSI Log Path

Joined
May 29, 2024
Messages
4
Reaction score
0
Hi,

I need to create a GPO to update 50 computers and keep a log for troubleshooting in case something goes wrong. Below is the line I was trying:
/VERYSILENT /SUPPRESSMSGBOXES /LANGUAGE="Português" /LOG=\\srvdi\Temp\__install\%COMPUTERNAME%.log
However, the file created gets the name "%COMPUTERNAME%.log" instead of the actual computer name. Is there a way to name the file using the computer's name?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top