Quantcast
Channel: psappdeploytoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1769

New Post: Messages displayed in the (Primary) Language of the current Logged on User

$
0
0
I still have Default setting in the XAppDeployToolkitConfig.xml:
<MSI_LogPath>$envWinDir\Logs\Software</MSI_LogPath>
When I start the script manualy with Powershell ISE the logfiles gets there.
With SCCM it won't. And I understand why now.

I think the answer is in your Earlier post:
mmashwani wrote:
However, when you deploy a script, you have to make sure you use a function after you have declared it. Make sure you're using the Get-RegistryKey function after the section where functions are declared.
Because I have the
$HKULanguages = Get-RegistryKey -SID $HKUSID "HKEY_CURRENT_USER\Control Panel\International\User Profile" -Value 'Languages'
Just below the # Override the detected language if the override option was specified in the XML config file Section of the AppDeployToolkitMain.ps1
Which is before the #region Function Get-RegistryKey

Can you give me advise?
I need the Get-registrykey function (especially the Get-RegistryKey -SID) to fill in the Variables (which is earlier then the Get-registrykey function)
  • or must I use other default windows Commands instead... ?

Viewing all articles
Browse latest Browse all 1769

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>