Announcement

Collapse
No announcement yet.

Files read-only after install

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Files read-only after install

    hi

    My setup copies DBISAM database files to : C:\ProgramDate\myApplication\Data

    When starting the application the datase files are marked as read-only (seems to be
    a Windows thing for security)

    How can i mark/set them to 'normal' so the user can run the application?

    Regards Peter

  • #2
    In the On Post Install event script, use File.SetPermissions() to grant full access to all users on the file (or the whole folder and sub folders in ProgramData\myApplication).

    Ulrich

    Comment

    Working...
    X