New Post: Email with .log file...
Send-MailMessage is not a toolkit function. It must be a private function you use. You should post it to the Toolkit Extensions forumif you meant to share it with the user above.
View ArticleNew Post: Custom Toolkit Parameter
I included some detection logic in a deployment script to check for the existence of the installed product before making an attempt to install/uninstall the application. I placed the conditional logic...
View ArticleNew Post: Regarding the SCCM limitation with Applications and "allow user to...
scotpower wrote: (Apologies if this requires a new thread) I am running into a problem solely with the Show-InstallationPrompt dialogs displaying under session 0, and only with PowerShell 3.0 or 4.0....
View ArticleNew Post: Custom Toolkit Parameter
Hi Yves, in Deploy-Application.ps1 add following:Param ( [Parameter(Mandatory=$false)] [ValidateSet('Yes','No')] [string]$CustomParam = 'No', You can now use the value of $CustomParam. As a suggestion,...
View ArticleNew Post: Email with .log file...
Oh ok, sorry about that. I believe it's just a basic PowerShell function though, Send-MailMessage, nothing private that I set up. I added it to the end of Deploy-Application.ps1
View ArticleNew Post: BlockExecution silently?
I have tried using Block-AppExecution -ProcessName 'javaw,iexplore,chrome,firefox,safari' after Show-InstallationWelcome, no luck, I get the Close App promt. I have also tried using it in pre...
View ArticleNew Post: Function Get-Installed Application
working on something similar and need to perform a install based on the results. here is what is not working for me.. $IsAppInst = Get-InstalledApplication -name 'paint.net'| Select "DisplayVersion"...
View ArticleNew Post: Function Get-Installed Application
ok so I think I got it working. Strange thing is that when I run it via ise it fails. If I select the section of code I want and run it only it works and it works fine when initiated via cm12 software...
View ArticleNew Post: InstallationUI_Timeout not timing out
Thanks for reporting this, the fix has been committed to the latest source code. We should have a point release out by the end of next week including this fix. Sean
View ArticleNew Post: Get-InstalledApplication Fails because white space is stripped
I encountered an annoying anomaly working on a script to upgrade VLC from v2.1.5 to v2.2.0 with (detection) logic to exit with a message indicating the product is installed on machines where v2.2.0...
View ArticleNew Post: additional functions or parameters for Remove-MSIApplications??
I have committed below updated to the under the beta under "Source Code" tab of this site: Added following parameters to Remove-MSIApplications to match those in Execute-MSI: -Parameters,...
View ArticleNew Post: Set-ActiveSetup Not Working
I believe the Set-ActiveSetup function is not working properly. I have tested multiple ways and cant seem to have it properly create the registry entries. I am testing on a x64 system and have...
View ArticleNew Post: Set-ActiveSetup Not Working
Does the active set up registry entry get created under this path?: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\ If so, then Set-ActiveSetup is working correctly and the...
View ArticleNew Post: Set-ActiveSetup Not Working
Hi, No it does not get created in that path either. I have been using Active Setup for some time now with this tool, and coding it directly as needed in my CMD or VBS deployment files. Thanks for the...
View ArticleNew Post: Get-InstalledApplication Fails because white space is stripped
I think you're using the the Get-InstalledApplication function incorrectly. When you make a call to this function, it returns the following properties for every application that it found: ProductCode,...
View ArticleNew Post: Set-ActiveSetup Not Working
Can I see your log file for the install so I can examine the log entries from when this functions is executed?
View ArticleNew Post: Set-ActiveSetup Not Working
Also, I notice that your Set-ActiveSetup command has "ContinueOnError" in it. It should actually be "-ContinueOnError $true" or "-ContinueOnError $false".
View ArticleNew Post: Get-InstalledApplication Fails because white space is stripped
Thank you for the expert advise. Best Regards, Yves
View ArticleNew Post: Set-ActiveSetup Not Working
Thanks! I did update the testing code to include -ContinueOnError $true but the function still did not work. I have been using ContinueOnError in a few other scripts and it seemed to work well but I...
View Article