Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Close Open Files

  1. #1

    Default Close Open Files

    Hi Friedrich,

    I have a situation with one of our products (in this case there is one
    install on the "server" and workstations run the application from a short
    cut). Occasionally one of the workstations' instance of the application is
    left running as a process (although the UI has closed down) on the
    workstation PC. Is it possible to "Close Open Files" (see attached screen
    shot of a server) in the install like one can do manually from the "Computer
    Management" console? I cannot seem to find a command that can do this
    (Terminate Application seems to only terminate an instance running on the
    install PC).

    Geoff
    Attached Images Attached Images  

  2. #2

    Default Re: Close Open Files

    Hi Geoff,

    Is the SetupBuilder installer running on the "server" where the file is
    "locked"?

    I am working on a nice new built-in SB feature that lets you close open
    files from both the server and remotely (via the upcoming SBRemote
    functionality) from a workstation.

    Friedrich

  3. #3

    Default Re: Close Open Files

    Hi Friedrich,

    That sounds exactly what I need. The files (in this case) are locked on the
    server (although another PC has the files open). I won't need the remote
    close in this case, but may have the need for it in another of our installs.
    My immediate need is the ability to close open files on the PC itself (where
    the install is running).

    Let me know if you need a guinea pig...

    Geoff

  4. #4

    Default Re: Close Open Files

    Geoff,

    > That sounds exactly what I need. The files (in this case) are locked
    > on the server (although another PC has the files open). I won't need
    > the remote close in this case, but may have the need for it in another
    > of our installs. My immediate need is the ability to close open files
    > on the PC itself (where the install is running).
    >
    > Let me know if you need a guinea pig...

    Perfect! I'll compile a SB test version for you this coming weekend.

    Friedrich

  5. #5

    Default Re: Close Open Files

    HI Friedrich,

    Thanks so much. Very happy to be the test case

    Geoff

  6. #6

    Default Re: Close Open Files

    Hi Geoff,

    >
    > Thanks so much. Very happy to be the test case
    >

    The new "Force File Close" function ('use at your own risk' <g>) in
    SetupBuilder seems to work fine. We have tested it on several different
    Windows operation systems, including the latest Windows 10.

    For example, the following scenario. Windows 7 (x64) machine starts a
    C10.EXE executable through a shared folder. The C10.EXE is located on a
    Windows 10 (x64) machine. Any attempt to delete C10.EXE on Windows 10
    results in a "File In Use - This action can't be completed because the file
    is open in System. Close the file and try again." error. Then we fire
    "Force File Close" from SB and after that, the file can be removed.

    I'll send you an internal download link later today.

    Friedrich
    Attached Images Attached Images   

  7. #7

    Default Re: Close Open Files

    This is indeed a very cool feature!

    We get quite a few support calls after each update where people say "It
    says a file is open but everyone has logged out of the program". And
    guiding a user to the server to find and close open files is - to say
    the leat - a challenge <g>.

    Peter

  8. #8

    Default Re: Close Open Files

    "Force File Close" in action (see attached screenshots).

    Win7 "client" locks the C10.EXE file located on a Win10 "server". The SB
    compiled "ForeFileClose.exe" application detects the in-use file status,
    forces the file to "close", re-checks the file status und then removes the
    previously locked file.

    Friedrich
    Attached Images Attached Images      

  9. #9

    Default Re: Close Open Files

    Hi Geoff,

    Download link for #4822 sent. Does the new "Force File Close..."
    functionality work for you?

    Friedrich

  10. #10

    Default Re: Close Open Files

    Hi Geoff,

    I woke up tonight and realized something was wrong. The new function does
    not resolve runtime variables. I'll fix this and upload a new version.

    Friedrich

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •