File Cop /move doesn't working - Advanced Installer Community
m.jaradat
Posts: 2
Joined: Sun Aug 26, 2018 12:24 pm

File Cop /move doesn't working

Hello

I have release 13.6 file copy move operation doesn't work

i attach a condition with the property to install copy the file if the Operating system is Windows 7 32 bit

I attach the AIP file
Attachments
AIP and Files.rar
(22.71 KiB) Downloaded 268 times
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: File Cop /move doesn't working

Hello Muhammed and welcome to our forums,

First of all, please keep in mind that the "File Copy/Move" operation is intended for files outside the package only. The behavior you are encountering is the normal behavior and that is happening because the MoveFiles action (the moment when the "File Copy/Move" action takes places) is happening before the "InstallFiles" action (the moment when the files from "Files and Folders" page are installed).

That means that, at the time you are trying to move the files from your package, they don't actually exist.

A solution for your scenario is to simply add the file again in the specified folder from "Files and Folders" page and then, if necessary, you can condition the installation of its component from "Organization page".

Let me know if this helps!

Regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
m.jaradat
Posts: 2
Joined: Sun Aug 26, 2018 12:24 pm

Re: File Cop /move doesn't working

Thank you for your reply. But it will not work
cause:
In my case, I need to copy (4 files) related to a driver, and these 4 files have 4 releases each release must install on some operating system. so I have here 4 folders in each folder have 4 files with the same name but with different attributes and contents.
Soi cannot add all files in Files and folders, no duplicates allowed here. Soi creates a folder then create 4 different folders and place every 4 files with one folder. Then I do File copy move operation and the source is a property. then i will assign the property with the correct path depending on the operation system with a custom action (set property)
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: File Cop /move doesn't working

Hello Muhammed,

You can achieve that by following our "How to install two files with the same name in the same folder?" article.

Hope this helps!

Regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”