Rename File during installation - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

tskiles
Posts: 12
Joined: Mon Sep 21, 2009 7:13 pm

Rename File during installation

Hello,

I have a several build specific versions of the same file. I am controlling which file gets installed with each build but I need the file to end up with a specific name. Since Advanced Installer won't let me specify duplicate target filenames on the files and folders tab and it also won't let me specify an install parameter for a target filename that results in a possible duplicate filename, I was wondering how I could rename a specific file through a custom action. If that's possible, can I specify the file to rename by using setting a property in the install parameters tab?

Thanks for you help,

-Todd
tskiles
Posts: 12
Joined: Mon Sep 21, 2009 7:13 pm

Re: Rename File during installation

Sorry for the post, I finally found the solution. Placing the duplicate files in individual sub-folders and selecting the "Install folder contents to parent directory" option. As long as I keep them separated by builds everything should be perfect.

Return to “Common Problems”