Permanent File - not working
Posted: Mon Jun 26, 2006 8:45 am
by Tinus
Hi,
I created a setup with IA 6.0 and set the Copy Options of my database file to
Permanent File - do not remove on uninstallation (I also set never overwrite and file is vital for installation).
The file
IS removed on uninstallation!

Please help.
Posted: Mon Jun 26, 2006 5:00 pm
by MichaelNesmith
Do you have any database scripts, or other setup commands that may be deleting the file?
I set this flag on a file, and it remained after uninstallation.
I also set the additional flags you specified, and it worked fine again...
Posted: Tue Jun 27, 2006 1:30 am
by Tinus
No I haven't used any scripts,
it's a simple Access DB file in the OFFLINE CONTENT section:
Code: Select all
Install Files c:\\path\\mydb.mdb to $TARGETDIR$ (Permanent, Never Overwrite)
But: I add read/write file permission for Everyone after Apply Install:
Code: Select all
Set Read Write Permissions on File System Object "$TARGETDIR$\\mydb.mdb" for Everyone
That's all I do with this file.
Posted: Tue Jun 27, 2006 3:06 am
by Tinus
I removed the set permissions action - now it was working.
I then added the set permission action - and it's still working.
I don't know what happend. I haven't changed anything since yesterday.
