New Post: Execute-Process
It's a while since I wrote a script to do this and I don't have a copy of it handy. Have you tried Start-Process -Wait? If none of the execution cmdlets/functions are waiting for the process you could...
View ArticleNew Post: Error: App Deploy Toolkit Main requires Administrator rights to...
The toolkit is failing because it's detecting that it's not being run as administrator. Can you run this line of code and let me know if it returns true or false: ([Security.Principal.WindowsPrincipal]...
View ArticleNew Post: Unable to show welcome message when deplpoying via SCCM 2012
Not sure that is a toolkit question? I'd suggest posting to MS ConfigMgr forums.
View ArticleNew Post: How is the best way to test scripts
Hello yes this is solved, I can actually run the script in Powershell, but I had to create a Policy in AD allowing at least me to execute scripts. The msi uninstall codes , like Adobe Acrobat reader is...
View ArticleNew Post: Function Execute-Process in 3.2.0 Beta
Hi Andy, Actually the toolkit was built on PS2.0, we maintain backwards compatibility so don't add any cmdlets that are specific to PS 3.0. I wasn't able to reproduce the error you mentioned on either...
View ArticleNew Post: Installing Updates
Execute-Process -FilePath "C:\Windows\System32\wusa.exe" -Arguments "$dirFiles\IE9-Windows6.1-KB2962872-x64.msu /quiet /norestart" -WindowStyle Hidden
View ArticleNew Post: Show-InstallationWelcome when uninstalling ?
Thanx, worked like a charm, used the parameters. One thing, when I install Acrobat, I still get a window from acrobat installation : (Windows installer : Configuring Acrobat reader, and also process)....
View ArticleNew Post: How is the best way to test scripts
script that will help you find msi codes.http://eskonr.com/wp-content/uploads/2011/08/ProductID-for-MSI.zip silent uninstall is good tool for finding silent uninstalls...
View ArticleNew Post: Unable to show welcome message when deplpoying via SCCM 2012
yea not really a toolkit question, application catalog is more like a self service type installer. Users go to it to get software. The catalog is a web interface for that. Software Center is still...
View ArticleNew Post: Installing Updates
Hard coding the path is a recipe for failure. Just to make sure I will enumerate the system32 value and place it in a variable as you recommended. I know I can do all this work on my own but nobody...
View ArticleNew Post: Installing Updates
There is already $envWinDir in the toolkit. You can use that as a base for System32 as the Windows folder is variable but System32 is not.Regards, Dan
View ArticleNew Post: Installing Updates
I love it when a plan comes together. This would appear to be the proper commandline: Execute-Process -FilePath "$envWinDir\wusa.exe" -Arguments "$dirFiles\IE9-Windows6.1-KB2962872-x64.msu /quiet...
View ArticleNew Post: Function Execute-Process in 3.2.0 Beta
I wrote some code to take care of the concerns I had in the above post where certain paths passed to the $FilePath variable were not being validated before attempting execution. The below code will...
View ArticleNew Post: Show-InstallationWelcome when uninstalling ?
Change default MSI parameters in the XML file from QB to QN if that is your preference or else override the default per application using -Parameters "/QN" with Execute-MSI.
View ArticleNew Post: Execute-Process
Looks like someone has written a script already using the toolkit!http://gallery.technet.microsoft.com/scriptcenter/Offline-Install-or-5f0a35d6
View ArticleNew Post: Mozilla Firefox
http://gallery.technet.microsoft.com/scriptcenter/Installing-Mozilla-Firefox-c8619873/view/Reviews
View ArticleNew Post: Offline Install or Uninstall of SCCM Client 2007 or 2012
http://gallery.technet.microsoft.com/scriptcenter/Offline-Install-or-5f0a35d6
View ArticleNew Post: MS Updates Deployment
http://gallery.technet.microsoft.com/scriptcenter/Install-Updates-using-740784eb
View ArticleNew Post: Set-ActiveSetup and Remove-ActiveSetup: Per-user changes (as...
I'll need these too at some point in the future and I had working code in CMD so I converted and contributed.Function Set-ActiveSetup { <# .SYNOPSIS Creates an Active Setup entry in the registry and...
View Article