For my software distribution packages, I'm using centralized logging. I've set up a share that all domain computers (since it's the local system account that generally runs tasks) can write to. I create a subfolder for each category I want to group together. Then I modify the command line switch. I started out with something like this in the Log File Name field:
That works just fine.
Now I want to put the date and time stamp into the file name. So this is what I think should work:
That command should give me something like this name:
Unfortunately, when I put that string in the Log File Name field in the MSI Properties window, it throws an error that the Command is not a supported option, or it requires a parameter. This is supported syntax within a Windows Command Prompt; does anyone know what, exactly, this is choking on, or maybe a different way to get what I'm looking for?