SFXFILE returning short (dos 8 character) filename

Got a problem you cannot solve? Try here.
Post Reply
CBiggerstaff
Posts: 6
Joined: Thu Sep 29, 2005 3:00 am
Contact:

SFXFILE returning short (dos 8 character) filename

Post by CBiggerstaff »

How do I get the long filename from SFXFILE? Why isn't it returning a long filename?
Tomasz Drosio
Posts: 3
Joined: Tue Aug 26, 2008 10:14 am

Post by Tomasz Drosio »

Can anyone help us and write something about this problem? Variable SFXFILE returns short filename. It's unusable.
Damocles
Posts: 27
Joined: Wed May 28, 2008 7:41 am

Post by Damocles »

there is the command 'convert path' that converts short file name path to long file name path and vice versa.
Tomasz Drosio
Posts: 3
Joined: Tue Aug 26, 2008 10:14 am

Post by Tomasz Drosio »

Yes, I know command 'convert path', but it doesn't work in this case. In my project, name of the install file is changed after building process. This is code I use in the project:

Set Variable V1 to $SFXFILE$
MessageBox: , $V1$
Convert to Long Path: V1
MessageBox: , $V1$

File name: 'LongFileName.exe'
Message before conversion: longfi~1.exe
Message after conversion: longfi~1.exe

What can I do?
Damocles
Posts: 27
Joined: Wed May 28, 2008 7:41 am

Post by Damocles »

i just made an empty setup and get the expected results


default: newpro~1.exe
long value: \\newproject.exe

I would submit a ticket in the regular =>Support Center
Tomasz Drosio
Posts: 3
Joined: Tue Aug 26, 2008 10:14 am

Post by Tomasz Drosio »

Thanks for help, Damocles, but it works only if filename is not changed after building process. For me, changing filename is very important. I will submit a ticket...
smurrell
Posts: 10
Joined: Thu Feb 15, 2007 1:00 am

Post by smurrell »

What happened with your response from IA support?
Tomasz Drosio wrote:Thanks for help, Damocles, but it works only if filename is not changed after building process. For me, changing filename is very important. I will submit a ticket...
Post Reply