nijifumi
Flexera beginner

If the shortcut file name is 9 characters or more, it will fail.

Jump to solution

Hello,

I use Japanese Installshield 2018 R2 Express.

I want to create a folder with 9 characters or more in the start menu with Installshield.

But,If the shortcut file name is 9 characters or more, it will fail.

Do you have any good solutions in regards to that?

 

Thank you,
Fumi

Labels (1)
0 Kudos
1 Solution
varul
Revenera
Revenera

Usually error 7254 happens for a migrated projects, due to the feature introduced in IS2016, so if you are facing this issue for upgraded project, then you need to delete and re-add the strings again in latest IS version.

The error you see is due to the validation that was introduced in IS2016 for  validating localized string values

You can check the below release notes and the master issue number IOJ-1807101

https://docs.revenera.com/installshield23helplib/ReleaseNotes.htm

If you are seeing this issue for newly created project as well in IS2018, then please follow the below steps to fix the issue.

To fix this issue you need to You need to enable NtfsDisable8dot3NameCreation option in the machine, follow the steps

  1. Click Start > Run.
  2. Enter regedit and click OK.
  3. In the Registry Editor, go to:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
  4. Right-click the NtfsDisable8dot3NameCreation entry and select Modify from the drop-down menu. The Edit DWORD Value page opens.
  5. In the Value data text box, enter 2.
  6. Click OK to close the page.

"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:

https://docs.microsoft.com/en-us/archive/blogs/josebda/windows-server-2012-file-server-tip-disable-8...

 

Once you enable this, if you delete and re add the string again the shortname will be created for the strings and you wont see the error 7354.

 

If you want to manually edit the string yes you can do it, just follow the below kb link

https://community.flexera.com/t5/InstallShield-Knowledge-Base/Error-7354-When-Building-MSI/ta-p/4025

 

Regards,

Vijay.A

View solution in original post

0 Kudos
2 Replies
varul
Revenera
Revenera

Usually error 7254 happens for a migrated projects, due to the feature introduced in IS2016, so if you are facing this issue for upgraded project, then you need to delete and re-add the strings again in latest IS version.

The error you see is due to the validation that was introduced in IS2016 for  validating localized string values

You can check the below release notes and the master issue number IOJ-1807101

https://docs.revenera.com/installshield23helplib/ReleaseNotes.htm

If you are seeing this issue for newly created project as well in IS2018, then please follow the below steps to fix the issue.

To fix this issue you need to You need to enable NtfsDisable8dot3NameCreation option in the machine, follow the steps

  1. Click Start > Run.
  2. Enter regedit and click OK.
  3. In the Registry Editor, go to:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
  4. Right-click the NtfsDisable8dot3NameCreation entry and select Modify from the drop-down menu. The Edit DWORD Value page opens.
  5. In the Value data text box, enter 2.
  6. Click OK to close the page.

"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:

https://docs.microsoft.com/en-us/archive/blogs/josebda/windows-server-2012-file-server-tip-disable-8...

 

Once you enable this, if you delete and re add the string again the shortname will be created for the strings and you wont see the error 7354.

 

If you want to manually edit the string yes you can do it, just follow the below kb link

https://community.flexera.com/t5/InstallShield-Knowledge-Base/Error-7354-When-Building-MSI/ta-p/4025

 

Regards,

Vijay.A

View solution in original post

0 Kudos
nijifumi
Flexera beginner

I solved it by setting NtfsDisable8dot3NameCreation to 2.

Thank you!

0 Kudos