Summary
Error 7354 occurs when building a project with a shortcut or feature or string name with more than 8 characters.
-7354: The English (United States) value for string 'ID_STRING2' does not contain a legitimate value for table Directory column DefaultDir
-7354: The English (United States) value for string 'ID_STRING3' does not contain a legitimate value for table Shortcut column Name
Project Types
- Basic MSI
- InstallScript MSI
- Express Project
Cause
Error 7354 was added to InstallShield 2016 and higher builds due to Microsoft string validations that were previously missing.
Error 7354 occurs when InstallShield attempts to create any string with more than 8 characters on a machine where NtfsDisable8dot3NameCreation is not enabled.
Resolution:
The user needs to enable the NtfsDisable8dot3NameCreation option on the machine.
A Windows short name has 8 characters for the name and 3 characters for the file extension. Windows long names exceed 8 characters for the name. The suggested resolution works by enabling Windows short names.
Follow these steps:
- Click Start > Run.
- Enter regedit and click OK.
- In the Windows Registry Editor, go to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem - Right-click the NtfsDisable8dot3NameCreation entry.
- Select Modify from the drop-down menu. The Edit DWORD Value dialog opens.
- In the Value data textfield, enter: 2
- Click OK to close the dialog.
You should see a message as follows:
The registry state of NtfsDisable8dot3NameCreation is X...
State Values:
0 = 8.3 file creation is enabled on all volumes on the system
1 = 8.3 file creation is disabled on all volumes on the system
2 = 8.3 file creation is enabled per volume on the system (default)
3 = 8.3 file creation is DISABLED on all volumes except the system volume
Reference:
- A blog post about NtfsDisable8dot3NameCreation.
- A StackOverflow post about Windows short names.
- Microsoft documentation about Windows short versus long names.
- Microsoft documentation about Windows long names.
Related Articles
When building a project with Standalone build, the build fails with Error -1131 3Number of Views Build Error When Building a InstallAnywhere Project through a 3rd-Party Application Like Visual Studio 3Number of Views Memory Access Violation When Building a Project Which Contains a Large Number of Files 3Number of Views Error building in TFS Build/MSBuild referring to VSSolutionFolder when there is a parenthese in the solution name 3Number of Views Error 7354 When Building MSI 20Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago