Is %temp% correct in the Install Microsoft 365 Office Apps Scripted Action?

Hello, 

I was trying to find 365 App installation logs on a multi-session host, and could not find the WVDOfficeInstall directory. Should this line

<Logging Level="Standard" Path="%temp%\WVDOfficeInstall" />

be

<Logging Level="Standard" Path="$env:temp\WVDOfficeInstall" />

in the odtconfig.xml definition in the “Install Microsoft 365 Office Apps” Scripted Action? 

It's written to odtconfig.xml as "<Logging Level="Standard" Path="%temp%\WVDOfficeInstall" />".

# create a base config XML for ODT to use, this one has auto-update disabled
$ODTConfig = @"
<Configuration>
 <Add OfficeClientEdition="64" Channel="MonthlyEnterprise">
   <Product ID="O365ProPlusRetail">
     <Language ID="en-US" />
     <Language ID="MatchOS" />
     <ExcludeApp ID="Groove" />
     <ExcludeApp ID="Lync" />
     <ExcludeApp ID="OneDrive" />
     <ExcludeApp ID="Teams" />
   </Product>
 </Add>
 <RemoveMSI/>
 <Updates Enabled="FALSE"/>
 <Display Level="None" AcceptEULA="TRUE" />
 <Logging Level="Standard" Path="%temp%\WVDOfficeInstall" />
 <Property Name="FORCEAPPSHUTDOWN" Value="TRUE"/>
 <Property Name="SharedComputerLicensing" Value="1"/>
</Configuration>
"@ 

Thanks!

0

Comments (0 comments)

Please sign in to leave a comment.