gcouch
Flexera beginner

Re: How can I display only the long file name/path string?

The build errors only occurs when I change ID_STRING1 to a value that does not contain a short and long string.
e.g. the string does not generate any compiler errors  "TESTNA~1|TESTNAME Long" but this string is displayed as:

InstallShield08.PNG

If I use [StartMenuFolder], I see the same build error

ISDEV : error -7354: The English (United States) value for string 'ID_STRING1' does not contain a legitimate value for table Directory column DefaultDir
ISDEV : error -7354: The English (United States) value for string 'ID_STRING1' does not contain a legitimate value for table Shortcut column Name
ISDEV : error -7354: The English (United States) value for string 'ID_STRING1' does not contain a legitimate value for table Shortcut column Name
ISDEV : error -7354: The English (United States) value for string 'ID_STRING1' does not contain a legitimate value for table Shortcut column Name
Language English (United States) built

 

(I am only seeing the eror in the English version because that is the only language I am currently  making changes to include the full Start Menu Folder Path. )

I guess the error occurs because I need to include a short AND long file name for [StartMenuFolder]. BY the way, that path only generates the root path "c:\Users\whipp\AppData\Roaming\Microsoft\Windows\Start Menu\".

I actually need the path "c:\Users\whipp\AppData\Roaming\Microsoft\Windows\Start Menu\TESTNAME Long"
I tried using " [StartMenuFolder]TESTNA~1| [StartMenuFolder]TESTNAME Long" but it generates the compiler error.   😞


To summarize the problem, I get the build error when I don't use a short and long file/directory name for ID_STRING1. On the other hand, when I use the short and long file/directory name, the directory is displayed as "TESTNA~1|TESTNAME Long"  instead of "TESTNAME Long". I need to find a way to display "TESTNAME Long"  without seeing a build error.

0 Kudos
roman2
Intrepid explorer

Re: How can I display only the long file name/path string?

It must be something wrong with your project architecture.

I have not any issues with.

I am still missing your feedback what is the value of StartMenuFolder in Directory Table.

Look at my test sample, please.

0 Kudos
gcouch
Flexera beginner

Re: How can I display only the long file name/path string?

Here is my StartMenuFolder in the Diretcory Table:

InstallShield09.PNG

Do you see anything wrong with it?

Thanks for the test sample. I'll take a look at it now.  🙂

 

 

0 Kudos
roman2
Intrepid explorer

Re: How can I display only the long file name/path string?

No, it looks to be ok.
0 Kudos
gcouch
Flexera beginner

Re: How can I display only the long file name/path string?

I notice that you are not using the short + long file names and no error is being generated. Do you know what triggers the requirement for a short+long file name?

 

0 Kudos
roman2
Intrepid explorer

Re: How can I display only the long file name/path string?

I do not know, sorry.

I have just create a very new IS2019 project. The rest was made by IS.

0 Kudos
gcouch
Flexera beginner

Re: How can I display only the long file name/path string?

Do you know if there are any side effects from the error 7354 being generated? Will an operations be skipped over during the build process?

Using  "[StartMenuFolder]TESTNAME Long" seems to provide the proper output I need, except it generates an error. I am wondering if I can keep this and just live with the error during the build process.

0 Kudos