Hello everyone,
iam searching for a functionality to Check if a File is in use or not.
Is there a comfort function in Installaware X15 ?
I need to check file accesses for DLL's and executables while the installation is in progress.
In Installaware 12 i checked this via Call DLL Kernel and get Fileattributes and evaluate Expression, very uncomfortable.
Best Regards
Check File In-Use
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Check File In-Use
At such purpose you may use the "Is File Locked" command.
Is File Locked
This command checks whether a given file on the target system can be opened for write operations (including deletes and overwrites).
While the setup engine automatically replaces such files (either by renaming them and marking them for deletion upon reboot, or by doing the entire replacement after a reboot if the rename fails), this command may still be useful to determine your installation strategy, to request application shutdowns before allowing the installation to proceed, etc.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 50 guests