Unable to create shortcut when Company name contains spaces

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
escarr
Posts: 1
Last visit: Fri Jul 22, 2022 12:50 pm
Been upvoted: 1 time

Unable to create shortcut when Company name contains spaces

Post 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
User avatar
Alexander Riedel
Posts: 8056
Last visit: Thu Sep 22, 2022 11:43 pm
Answers: 12
Been upvoted: 27 times

Re: Unable to create shortcut when Company name contains spaces

Post by Alexander Riedel »

Thank you for letting us know. We will look into it as soon as possible.
Alexander Riedel
SAPIEN Technologies, Inc.