Post a reply to the thread: Install file with different name
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: Install file with different name A bit late, but I would also like this feature. eg Install MyFile.exe to %folder%\NewMyFile.exe It is because I have a system setup whereby new versions are compiled to a distribution folder, and then the several SetUp Programs use that single source file and rename it as they install it for different purposes. Obviously I can work around this now by creating copies of the source file and renaming them each time before compiling the Setups.
Re: Install file with different name
Re: Install file with different name Hi Friedrich, thanks for your prompt response. Your tipp should work. Could be, in future versions you will include such a feature (DestinationFileName). best regards. Toni
Re: Install file with different name Hi Toni, No, this is not possible. What you can do is the following (a #rename compiler directive before you add the file): #rename file "c:\myapp1\myexe.exe" to "c:\myapp1\App1.exe" Install File "c:\myapp1\App1.exe" to "%_SB_INSTALLDIR%\App1.exe" (Always Install) #rename file "c:\myapp2\myexe.exe" to "c:\myapp2\App2.exe" Install File "c:\myapp2\App2.exe" to "%_SB_INSTALLDIR%\App2.exe" (Always Install) Friedrich
Install file with different name Hi, is it possible to install a file changing its name on the destination folder, for example the files c:\myapp1\myexe.exe -> %_SB_INSTALLDIR%\App1.exe c:\myapp2\myexe.exe -> %_SB_INSTALLDIR%\App2.exe best regards Toni
Install file with different name
Forum Rules