This project has moved and is read-only. For the latest updates, please go here.

Client Install Script

Topics: Generic
Jun 3, 2016 at 2:35 PM
While poking around with the client installation PowerShell script, I noticed that the following was defined:

Remove-Item -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\SMS\Mobile Client*' -Recurse -ErrorAction SilentlyContinue

Shouldn't this be:
If (Test-Path -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\SMS\Mobile Client') {
        Remove-Item -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\SMS\Mobile Client\*' -Recurse -ErrorAction 'SilentlyContinue'
    }
    If (Test-Path -Path 'HKLM:\SOFTWARE\Microsoft\SMS\Mobile Client') {
        Remove-Item -Path 'HKLM:\SOFTWARE\Microsoft\SMS\Mobile Client\*' -Recurse -ErrorAction 'SilentlyContinue'
    }
Jun 7, 2016 at 4:05 PM
THX, I've added the non WOW6432Node hive to the default template... You can update the Scipt in the config file: SCCMCliCtrWPF.exe.config.
Jun 7, 2016 at 4:11 PM
No no! THANK YOU SIR! love the application!

---
Sent from Boxer | http://getboxer.com