Page 1 of 1

odd problem

Posted: Wed Nov 18, 2015 2:22 pm
by wxperson99
Hi,

I have what I think is an odd problem.

Within one of my installs I want to copy a local file (empty access database) to another local file.

Copy Local Files $TARGETDIR$\database\obsnew.mdb to $TARGETDIR$\database\obs.mdb

I do this and it works fine however... after the install is over and my application is started, when the 2nd file is updated... the file I copied from also appears to have been updated. i.e. they are the same file size and content... obsnew and obs are identical.

What could be causing this problem? I am using the NATIVE ENGINE (true).

Thanks,

George

Re: odd problem

Posted: Wed Nov 18, 2015 2:42 pm
by FrancescoT
Dear George,

in all honesty I believe the source of your problem has nothing to do with the "Copy Local Files" command or with the installer itself.

I used and continue to use such command extensively with my personal projects and I never had a similar issue.

I suppose instead that probably, for some "unknown" reasons, it's your application at the root of the problem ... maybe it tries to access to any mdb file within the folder.

Regards

Re: odd problem

Posted: Thu Nov 19, 2015 9:58 am
by wxperson99
Thanks for the reply.

I know this is a bizarre problem but I have seen it manifested a few times. I did not expect an easy solution.

I guarantee the application does not access the file being copied from since the only reference to this file is to copy from.

Anyhow... thanks for addressing it and I would have provided the same answer as you if I were Installaware support :-).

I have a few bizarre ideas of my own which I will be playing with. I will let you know what/if I find.

THanks,

George