PDA

View Full Version : CustomAction Sequence Question



DonAIR
09-24-2018, 12:58 PM
Basically I am looking to generate a log file (custom) on Install Welcome launch. I can do this without issue, however obviously if I run it silently it will never kick off. So my question is really, what is the best way to handle this?

tried having both Install UI Sequence and Install Exec Sequence set to numerous places, however every time it generates a new log upon running 2 times. Is their a way to set a condition on the Install Exec to only run if a UI Sequence wasn't run?

DanGalender
09-24-2018, 02:25 PM
Set your custom action's "Execution Scheduling" setting to "Execute only once".

DonAIR
09-25-2018, 08:48 AM
Set your custom action's "Execution Scheduling" setting to "Execute only once".

thank you for that, we were running it in Terminal Server Aware which had the option grayed out. I will switch it to just plain Immediate Execution. Out of curiosity, we have always chose Terminal Server Aware, is their a specific reason to run that way for powershell scripts if you know?