Misc changes

Changed Write-Log function to use shared custom function to get the
system temp file path, put a try/catch around
Uninstall-WindowsInstallerPackageWithMsiExec, silenced error on
Wait-MyProcess if the process doesn’t exist and changed logging on
Wait-MyProcess.