MoveFileExA

Got a problem you cannot solve? Try here.
marlonguerios
Posts: 7
Joined: Wed Jun 14, 2006 2:36 am

MoveFileExA

Postby marlonguerios » Mon Jun 19, 2006 7:13 am

Please,

I would like to know how it is possible to move an entire folder with its subfolders regardless of calling Apply Install, using kernel32.dll->MoveFileExA?

I have been trying but it's not working... What may be happening?

~InstallAware Clipboard Data~
~Call DLL Function~
~{6B1D5310-583B-420F-B94A-039C9FCA648A}~
~kernel32.dll,MoveFileExA,"double word",_MOVERESULT,"pointer to string",$_OLDPATH$,"pointer to string",$_BACKUPPATH$,"double word",1,$~
~mIDEFunc.dll\\mEXEFunc.dll~


Thanks,

Marlon

jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Postby jimo » Mon Jun 19, 2006 7:55 am

If this folder is being created during install it will not be available to be moved or copied until after the Apply Install command.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com

marlonguerios
Posts: 7
Joined: Wed Jun 14, 2006 2:36 am

Postby marlonguerios » Mon Jun 19, 2006 8:16 am

The folder was there before installation process.

I am getting the error 32 - Some file is being used by another program, but I am sure that it's not. I have closed everything. Is there a way to deal with such situations?

jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Postby jimo » Mon Jun 19, 2006 4:16 pm

If you are not installing or opening any files in the folder then something other than IA is holding a lock on that file or files.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 119 guests