JustAProgrammer
Posts: 26
Joined: Mon Apr 07, 2014 10:11 pm

File Copy/Move not allowing renaming of target file

I have sent an email on this as well, but am being pushed for a release to our QA so I am putting this here as well.

I have built my installer to upgrade a previous product using the product code. if the UpgradeCode is present it will install the new version before removing the old. Also as part of this it will not copy two files from the installer to a certain folder, but instead copies them from a directory of the previously installed version that will be removed upon a successful install.

One of these copied fine as the name does not change, the other however has a value added to the name and it does not successfully get copied. Trying to see what the issue is I redid this File Copy/Move action with the name not changing and it succeeded. Am I not using this as it was intended? Is there a known issue with this feature not allowing the renaming of the file?

an example of the file name would be Some.DB -> Some.New.DB
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: File Copy/Move not allowing renaming of target file

Hello,

I've tested the scenario, but I cannot replicate the behavior. Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

Also, it would be very useful for us if you could isolate the behavior in a sample (.aip + referenced files) and send it us alongside a detailed test case scenario so we can test and investigate this.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”