Got a problem you cannot solve? Try here.
Tinus
Posts: 209 Joined: Tue Jun 20, 2006 8:42 am
Location: Germany
Post
by Tinus » Mon Jun 26, 2006 8:45 am
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.
MichaelNesmith
Posts: 3452 Joined: Thu Dec 22, 2005 7:17 pm
Contact:
Post
by MichaelNesmith » Mon Jun 26, 2006 5:00 pm
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...
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Tinus
Posts: 209 Joined: Tue Jun 20, 2006 8:42 am
Location: Germany
Post
by Tinus » Tue Jun 27, 2006 1:30 am
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.
Tinus
Posts: 209 Joined: Tue Jun 20, 2006 8:42 am
Location: Germany
Post
by Tinus » Tue Jun 27, 2006 3:06 am
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.