Summary
Build Error -1501 on project building other then C: Drive for example when building a project from "D:" Drive, user will see this error.
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 1501 occurs when InstallShield attempts to build a project with and the project has string with more then 8 character windows will throw error for shortname not able to create.
Resolution
The user needs to enable the NtfsDisable8dot3NameCreation option on the drive where the user is building the project. Please refer attached screenshot,
- Open command prompt in administrator mode
- Navigate to System 32 path EX: C:\WINDOWS\system32>
- Then run this command fsutil.exe 8dot3name query D (Instead of D use the drive you want to check)
- The volume state is: 1 (8dot3 name creation is disabled).
- If the result says 8dot3 is disabled then you need to enable it with below command using cmdlet
- <
C:\WINDOWS\system32>fsutil.exe8dot3name set D : 0 - Then that give an output of "Successfully enabled 8dot3name generation on D:"
- Now you are project is ready to build in other then C drive also
Also make sure the machine has the below registry values set:
Reference
-
KB article to enable NtfsDisable8dot3NameCreation.
- A blog post about NtfsDisable8dot3NameCreation.
- Microsoft documentation about Windows long names.
Related Articles
InstallShield Build Error 1501 8Number of Views Copy Hosts File From C Drive to Other Drive 6Number of Views Build Errors Caused By Windows Installer CAB File Format Limitations 5Number of Views Installshield Build Error 1501 4Number of Views FlexNet Manager Suite application server upgrade may change non-default values in Compliance\CurrentVersion\*Directory reg… 6Number 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. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago