SOLVED

Deployment fails when Application path and/or executable contain special characters (like + sign)

%3CLINGO-SUB%20id%3D%22lingo-sub-1421773%22%20slang%3D%22en-US%22%3EDeployment%20fails%20when%20Application%20path%20and%2For%20executable%20contain%20special%20characters%20(like%20%2B%20sign)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1421773%22%20slang%3D%22en-US%22%3E%3CP%3Esteps%20to%20duplicate%20problem%3A%3C%2FP%3E%3CP%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%26nbsp%3B%3C%2FP%3E%3CP%3Ea)%20Install%20Notepad%2B%2B%20in%20a%20sessionhost%20with%20default%20prompts%20(i.e%20Path%3A%20c%3A%5CProgram%20Files%5CNotepad%2B%2B)%3C%2FP%3E%3CP%3Eb)%20Create%20a%20RemoteApp%20application%20group%3C%2FP%3E%3CP%3Ec)%20Add%20Application%3C%2FP%3E%3CP%3Ed)%20Either%20use%20Start%20Menu%20or%20File%20Path%20and%20select%20Notepad%2B%2B%20path%20for%20executable%20and%2For%20icons%3C%2FP%3E%3CP%3Ee)%20Deployment%20will%20fail%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWorkaround%3C%2FP%3E%3CP%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FP%3E%3CP%3Ea)%20Install%20NotepadPlusPlus%20to%20c%3A%5CProgram%20Files%5CNotepadPlusPlus%3C%2FP%3E%3CP%3Eb)%20Modify%20the%20executable%20name%20from%20Notepad%2B%2B.exe%20to%20NotepadPlusPlus.exe%3C%2FP%3E%3CP%3Ec)%20Create%20a%20RemoteApp%20application%20group%3C%2FP%3E%3CP%3Ed)%20Add%20Application%3C%2FP%3E%3CP%3Ee)%20Use%20file%20Path%20and%20use%26nbsp%3BC%3A%5CProgram%20Files%5CNotepadPlusPlus%5CNotepadPlusPlus.exe%20for%20app%20path%20and%20icon%3C%2FP%3E%3CP%3Ef)%26nbsp%3B%20Use%20Notepad%2B%2B%20as%20display%20name%3C%2FP%3E%3CP%3Eg)%20Deployment%20succeeds%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPutting%20the%20path%20for%20executable%2Ficons%20in%20quotes%20does%20not%20help%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1434391%22%20slang%3D%22en-US%22%3ERe%3A%20Deployment%20fails%20when%20Application%20path%20and%2For%20executable%20contain%20special%20characters%20(like%20%2B%20sign%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1434391%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F384632%22%20target%3D%22_blank%22%3E%40MarkF26%3C%2FA%3E%26nbsp%3Bthis%20limitation%20(%2B%20and%20other%20special%20characters%20in%20the%20path)%20has%20been%20there%20since%20WVD%20classic%20(GA%20release).%20I%20will%20follow%20up%20to%20see%20where%20it%20is%20documented%20and%20how%20we%20can%20make%20it%20more%20visible.%20We%20will%20re-evaluate%20if%20we%20need%20to%20add%20a%20new%20feature%20to%20handle%20such%20path.%20Please%20feel%20free%20to%20add%2Fupvote%20here%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwindowsvirtualdesktop.uservoice.com%2Fforums%2F921118-general%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwindowsvirtualdesktop.uservoice.com%2Fforums%2F921118-general.%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

steps to duplicate problem:

=================== 

a) Install Notepad++ in a sessionhost with default prompts (i.e Path: c:\Program Files\Notepad++)

b) Create a RemoteApp application group

c) Add Application

d) Either use Start Menu or File Path and select Notepad++ path for executable and/or icons

e) Deployment will fail

 

Workaround

=========

a) Install NotepadPlusPlus to c:\Program Files\NotepadPlusPlus

b) Modify the executable name from Notepad++.exe to NotepadPlusPlus.exe

c) Create a RemoteApp application group

d) Add Application

e) Use file Path and use C:\Program Files\NotepadPlusPlus\NotepadPlusPlus.exe for app path and icon

f)  Use Notepad++ as display name

g) Deployment succeeds

 

Putting the path for executable/icons in quotes does not help

1 Reply
Highlighted
Best Response confirmed by Eva Seydl (Microsoft)
Solution

@MarkF26 this limitation (+ and other special characters in the path) has been there since WVD classic (GA release). I will follow up to see where it is documented and how we can make it more visible. We will re-evaluate if we need to add a new feature to handle such path. Please feel free to add/upvote here https://windowsvirtualdesktop.uservoice.com/forums/921118-general.