MSI Install and Pass Computer name to Logfile for each install RRS feed

  • Question

  • Hi all,

     I'm running this script in Computer Startup with GPO.

    msiexec /i app10.msi /update app20.msp /l logfile.log /qn

     How do i pass computer name to logfile for each install?



    Friday, June 20, 2014 12:16 AM


  • You can't

    This might work

    cmd /c msiexec /i app10.msi /update app20.msp /l %computername%.log /qn


    • Marked as answer by AUSSUPPORT Friday, June 20, 2014 1:12 AM
    Friday, June 20, 2014 12:22 AM

All replies