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.
This topic is 2 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
pchservers
Posts: 2
Last visit: Fri Mar 01, 2024 8:34 am
Has voted: 3 times

Unable to create shortcut when Company name contains spaces

Post by pchservers »

Product: PowerShell Studio 2022 (64 Bit)
Build: v5.8.198
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.18363.0
PowerShell version(s):5.1

I see this was posted already, but the thread is closed and it is left unresolved. If I have a space or an apostrophe in company name AND create a shortcut, it fails. If I remove spaces and the apostrophe the MSI compiles. This causes an issue for me as I have already deployed this software in the past with both spaces and an apostrophe in the company name.

Code: Select all

Processing input files...
Processing settings...
heatout.wix
C:\Users\username\Documents\SAPIEN\PowerShell Studio\Projects\EXEName\heatout.wix(1110) : error CNDL0014 : The Directory/@Id attribute's value, 'SubFolderMy_Hospital's_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\username\Documents\SAPIEN\PowerShell Studio\Projects\EXEName\heatout.wix(1114) : error CNDL0014 : The RemoveFolder/@Id attribute's value, 'RemoveSubFolderMy_Hospital's_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\username\Documents\SAPIEN\PowerShell Studio\Projects\EXEName\heatout.wix(1114) : error CNDL0014 : The RemoveFolder/@Directory attribute's value, 'SubFolderMy_Hospital's_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
DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
by Alexander Riedel » Tue Jan 25, 2022 2:24 pm
We have identified the problem and the fix will be included in the next service build.
Go to full post
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 7:24 am
Answers: 39
Been upvoted: 30 times

Re: Unable to create shortcut when Company name contains spaces

Post by brittneyr »

Can you please upload your psbuild file here:
https://www.sapien.com/support/upload
Brittney
SAPIEN Technologies, Inc.
User avatar
pchservers
Posts: 2
Last visit: Fri Mar 01, 2024 8:34 am
Has voted: 3 times

Re: Unable to create shortcut when Company name contains spaces

Post by pchservers »

brittneyr wrote: Fri Jan 21, 2022 10:09 am Can you please upload your psbuild file here:
https://www.sapien.com/support/upload
I have done so, thanks!
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 7:24 am
Answers: 39
Been upvoted: 30 times

Re: Unable to create shortcut when Company name contains spaces

Post by brittneyr »

I have received your file and will update you when I have more information.
Brittney
SAPIEN Technologies, Inc.
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: Unable to create shortcut when Company name contains spaces

Post by Alexander Riedel »

We have identified the problem and the fix will be included in the next service build.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 2 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.