New Post: test whether app is in use, else just update it.
Hi I have been using an if/else in my scripts to test if the program/app I want to update is running and if it is, THEN I'll show the 'welcome' screen and have the user upgrade it himself. if app not...
View ArticleNew Post: Open an application after they close the window
I was wondering if it is possible to do the opposite of the -closeapps switch. I would like to have the user close lets say Outlook, install an app, then when they click finish it relaunches Outlook. I...
View ArticleNew Post: Open an application after they close the window
Yes, just use Show-InstallationPrompt to provide the user interaction. Once the user clicks your "Launch Outlook" button, launch the relevant application.
View ArticleNew Post: test whether app is in use, else just update it.
Just use the -AllowDeferCloseApps parameter! It will only display prompt if there are running apps.
View ArticleNew Post: Block-AppExecution function....
Thanks for flagging the schtasks issue, we've got it on our list to fix.
View ArticleNew Post: Self Elevating Version in the Pipeline?
Any chance there's a self elevating version of this in the pipeline, possibly using this as the framework:# Get the ID and security principal of the current user account...
View ArticleNew Post: Self Elevating Version in the Pipeline?
The solution you've suggested won't actually elevate silently, it will present a UAC elevation prompt so not much use.
View ArticleNew Post: Self Elevating Version in the Pipeline?
Thanks for the reply. I'm already aware that's not silent but I appreciate you pointing that out as as others may be seeing this and thinking it would do that. I just don't want it to fail if its not...
View ArticleNew Post: Simple ActiveSetup
Or see Set-ActiveSetup and Remove-ActiveSetup: Per-user changes (as requested) Part1 https://psappdeploytoolkit.codeplex.com/discussions/565009 and Set-ActiveSetup and Remove-ActiveSetup: Per-user...
View ArticleNew Post: Simple ActiveSetup
Yeah I saw your entry too late unfortunately! So I just finished up what I was working on. Your functions do a lot more than mine but mine is very simple and targeted to what I needed.
View ArticleNew Post: Self Elevating Version in the Pipeline?
You can configure the toolkit to run without elevation in the XML file but be aware of the caveats mentioned.
View ArticleNew Post: Specified cast is not valid. (at
I am using V3.1.1. If there was a way to ignore the invalid DWORD that would be great as I have 14000 systems to deploy to and handling the each failure on a case by case would be difficult.
View ArticleNew Post: Can't open installation package
I just found this tool, and it looks pretty nice. I've written a script to deploy Java 8 update 25 and want to deploy it using SCCM 2012. I've tested the script and it works properly. I set the...
View ArticleNew Post: Can't open installation package
I fought this at first with 2012. You can use "Deploy-Application.EXE" with no parameters like this. However, when using parameters you have to call the program like this Deploy-Application.EXE...
View ArticleNew Post: Allowing applications to automatically close while using the defer...
Hi Sean, I was able to add a parameter (ForceCloseAppsCountdown) and that only required to change 4 lines in the main toolkit code. No UI modification was necessary because the toolkit automatically...
View ArticleNew Post: Can't open installation package
Thanks for the info. I tried it several different ways: Deploy-Application.EXE Deploy-Application.EXE -deploymenttype install Deploy-Application.EXE -deploymenttype "install" Deploy-Application.EXE...
View ArticleNew Post: Can't open installation package
Can you post your script and the logs from the installation?
View ArticleNew Post: Can't open installation package
Here is the log (there is also a Java7Update65_7.0.650_Uninstall.log, which uninstalls successfully and an empty Java8U25Setup.log which is from the package it can not find): [27-10-2014 05:53:19]...
View ArticleNew Post: Can't open installation package
Here is the script. It is pretty much one I found here on the forum and it works fine by itself:<# remove to fit in forum message> Param ([ValidateSet("Install","Uninstall")] [string]...
View ArticleNew Post: TSManager.exe being detected erroneously
For some reason (which we are still investigating) the tsmanager.exe is hanging around while application enforcement starts. I looked at the code that detects this and noticed it just checks for the...
View Article