Permanent File - not working

Got a problem you cannot solve? Try here.
Post Reply
Tinus
Posts: 209
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Permanent File - not working

Post 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! :cry: Please help.
Martin Rothschink

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post 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...
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 »

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.
Martin Rothschink

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware
Tinus
Posts: 209
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Post 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. :o
Martin Rothschink

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware
Post Reply