Unable to deploy custom receiver from Store front. Getting " An error occurred while saving changes on the "Deploy Citrix Receiver" property dialog. Please check the log in event viewer and try again."

Unable to deploy custom receiver from Store front. Getting " An error occurred while saving changes on the "Deploy Citrix Receiver" property dialog. Please check the log in event viewer and try again."

book

Article ID: CTX237128

calendar_today

Updated On:

Description

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)

Environment

This software application is provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that: (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the software application be used to support ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the software application.

Resolution

Changed the application/exe name from upper case to lower case and it fixed the issue.

Problem Cause

Storefront doesn't recognize the file or exe name in upper case.

Issue/Introduction

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."

Additional Information

https://www.citrix.com/blogs/2014/10/14/customize-and-deploy-citrix-receiver/