This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to copy the files that are already in use?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2009
12:57 PM
How to copy the files that are already in use?
Hi,
I have used the XCopyFile function for copying some files from one location to another in our installer by using Installshield 2008. Now in production we found a bug like XCopyFile does not copy the file that is already getting used by some other application. So, i have a query like how to copy these type of files. I know that it is some generic type of question but i didn't find any way for copying these files.
Please let me know if some one have any idea or way for how to achieve this.
Thanks
I have used the XCopyFile function for copying some files from one location to another in our installer by using Installshield 2008. Now in production we found a bug like XCopyFile does not copy the file that is already getting used by some other application. So, i have a query like how to copy these type of files. I know that it is some generic type of question but i didn't find any way for copying these files.
Please let me know if some one have any idea or way for how to achieve this.
Thanks
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2009
01:19 PM
Does the LOCKEDFILE flag help? The "XCopyFile" help topic has more information.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 05, 2009
11:59 PM
LOCKEDFILE flag is useful when our target file is getting used by some application and we want to overwrite it. But in my case source file is getting used by some application and can not be copied then.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 06, 2009
10:07 AM
I have used XCOPY command of OS through LaunchAPPAndWait and it works fine. But the same locked source file is not getting copied by XCOPYFile function. I am not getting this isuue. Why is it happening, is it a bug or something?