This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Checking if a files was modified
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 08, 2010
11:03 AM
Checking if a files was modified
There is a file on the hard drive. Let the file name ex.txt.
So how can I check from install script if the C:\ex.txt file was changed or not?
So how can I check from install script if the C:\ex.txt file was changed or not?
(3) Replies
Anonymous
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 08, 2010
01:35 PM
On which hard drive? The source computer or destination computer.
And when do you want to see if it was changed? Before, during, or after the installation? Or before building the installation?
And when do you want to see if it was changed? Before, during, or after the installation? Or before building the installation?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2010
03:38 AM
The file is on the target computer. And I want to see (before file movement) if that specific file was changed or not.
That file is a simple file . It is not related with my installer package.
That file is a simple file . It is not related with my installer package.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 20, 2010
04:52 AM
You can get the MD5 signature of the original file and check with
if the file has changed.
GetFileInfo ( szPathName, FILE_MD5_SIGNATURE, nvResult, svResult );
if the file has changed.