While trying to add customized "receiver.exe" to deploy receiver option in Storefront, you might get following error while saving it.
"An error occurred while saving changes on the "Deploy Citrix Receiver" property dialog. Please check the log in event viewer and try again".
It works fine with default receiver.
This was the event:
Log Name: Citrix Delivery Services
Source: Citrix Delivery Services Admin
Event ID: 1
Description:
An error occurred running the command: 'Update-DSWebReceiverHTML5Config'
Filepath 'C:\Program Files\Citrix\Receiver StoreFront\Receiver Clients\Windows\FLExternalTest.EXE' does not contains a filename.
At C:\Program Files\Citrix\Receiver StoreFront\Management\Cmdlets\WebReceiverModule.psm1:1658 char:41
+ $SourceTypeForInstallerForWindows = GetReceiverInstallerSourceType -Installe ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Filepath 'C:\Program Files\Citrix\Receiver StoreFront\Receiver Clients\Windows\FLExternalTest.EXE' does not contains a filename.
Citrix.DeliveryServices.PowerShell.Command.RunnerInterfaces.Exceptions.PowerShellExecutionException, Citrix.DeliveryServices.PowerShell.Command.RunnerInterfaces, Version=3.12.0.0, Culture=neutral, PublicKeyToken=e8b77d454fa2a856
An error occurred running the command: 'Update-DSWebReceiverHTML5Config'
Filepath 'C:\Program Files\Citrix\Receiver StoreFront\Receiver Clients\Windows\FLExternalTest.EXE' does not contains a filename.
At C:\Program Files\Citrix\Receiver StoreFront\Management\Cmdlets\WebReceiverModule.psm1:1658 char:41
+ $SourceTypeForInstallerForWindows = GetReceiverInstallerSourceType -Installe ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
System.Management.Automation.ActionPreferenceStopException, System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Filepath 'C:\Program Files\Citrix\Receiver StoreFront\Receiver Clients\Windows\FLExternalTest.EXE' does not contains a filename.
System.Management.Automation.Interpreter.InterpretedFrameInfo: System.Management.Automation.Interpreter.InterpretedFrameInfo[]
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)