Page 1 of 1

Unable to create shortcut when Company name contains spaces

Posted: Fri Aug 06, 2021 9:57 am
by escarr
To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build:
Product: PowerShell Studio 2021 (64 Bit)
Build: v5.8.192
OS: Windows 10 Education (64 Bit)
Build: v10.0.18363.0
PowerShell version(s): 5.1.18362.1593


*** Please add details and screenshots as needed below. ***

DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

I am trying to build a MSI for my application. After going through and adding the shortcut into the new editor I am getting the following error

SAPIEN Package and Deploy Tool 4.5 (c) 2005 - 2021 SAPIEN Technologies, Inc.

Retrieving product version from bin\x64\Exchange Manager.exe: 1.2.3.0
Processing input files...
Processing settings...
heatout.wix
C:\Users\xxxxx\Documents\SAPIEN\PowerShell Studio\Projects\Exchange Manager\heatout.wix(37) : error CNDL0014 : The Directory/@Id attribute's value, 'SubFolderCompany Name', is not a legal identifier.  Identifiers may contain ASCII characters A-Z, a-z, digits, underscores (_), or periods (.).  Every identifier must begin with either a letter or an underscore.
C:\Users\xxxxx\Documents\SAPIEN\PowerShell Studio\Projects\Exchange Manager\heatout.wix(41) : error CNDL0014 : The RemoveFolder/@Id attribute's value, 'RemoveSubFolderCompany Name', is not a legal identifier.  Identifiers may contain ASCII characters A-Z, a-z, digits, underscores (_), or periods (.).  Every identifier must begin with either a letter or an underscore.
C:\Users\xxxxx\Documents\SAPIEN\PowerShell Studio\Projects\Exchange Manager\heatout.wix(41) : error CNDL0014 : The RemoveFolder/@Directory attribute's value, 'SubFolderCompany Name', is not a legal identifier.  Identifiers may contain ASCII characters A-Z, a-z, digits, underscores (_), or periods (.).  Every identifier must begin with either a letter or an underscore.

Error: Could not create MSI file

5 error(s), 0 warning(s)
I replaced the actual company name with the string "Company Name" in the output above. My company name has spaces in it and it shows correctly in the tree on the left when I selected its for the place to put the shortcut. If I go and change the company name to not have spaces, the MSI will build.

Eric

Re: Unable to create shortcut when Company name contains spaces

Posted: Fri Aug 06, 2021 10:10 am
by Alexander Riedel
Thank you for letting us know. We will look into it as soon as possible.