Page 1 of 1
Need to change destination filename
Posted: Wed May 21, 2008 9:07 pm
by cjoyce
Is there an way to change the destination filename? My source filename is different than what needs to be copied to the target system. Thanks in advance.
Posted: Thu May 22, 2008 7:35 am
by jimo
The best way would be to rename the file in your clean install folder that your script reads the files from to create the install package. If you can't this for some reason, you can use "Call dll" and call "MoveFileA" in kernel32.dll. Rember to rename the file to the original name just before uninstall so the windows installer engine will remove it.
Posted: Thu May 22, 2008 8:46 am
by cjoyce
Thanks Jim. That sure is messy, prone to error and not very easy for a simple task. I'll probably just rename the source file.
Posted: Fri Jul 04, 2008 12:20 am
by agrogers
I tend to agree with cjoyce on this one. i have used Wise in the past and it allows a file to be installed with any destination name. I used this option quite a bit because in Wise.
However i think the solution described above will do the job for me. Just seems like an obvious oversight.
Am liking InstallAware.
Andrew