Permanent File - not working

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

Permanent File - not working

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

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

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby 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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

Tinus
Posts: 207
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Postby 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.
Martin Rothschink
InstallAware MVP

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

Tinus
Posts: 207
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Postby 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. :o
Martin Rothschink
InstallAware MVP

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


Return to “Technical Support”

Who is online

Users browsing this forum: Bing [Bot] and 202 guests