473,414 Members | 1,594 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

How to know all changes after update

108 100+
Hi guys,

I would like to ask your ideas about the tool I'm planning to create. What i want to do is to know all the files added, modified, deleted after an update (windows update, hotfix, etc). My initial idea is to take a snapshot of the system by getting all files stored in windows and programf files and store in a file. I will then compare it against the new snapshot after an updates. I would like to ask a better way on how to do it.
Aug 6 '10 #1
3 1094
Joseph Martell
198 Expert 128KB
The first thing that pops into my head when I read your idea is that it could be very slow as the system ages. I know that my windows folder and program files folder are pretty packed with files at this point and I've been developing on this machine for about 2 1/2 years.

Instead of making a physical backup of all files, you could just store pertinent information in a simple database. You would need file names, sizes, containing folder, and whatever else you wanted to know. This would probably be faster than comparing the entire contents of your backup folder and the real system folders. You could have an insert date for each row so that you could have a history of how files change over time and when new items got added to your system.

To speed up processing further you could store a hash for each folder based on file names and sizes and subfolder names. When the system is updated, you run your hash algorithm again and only if the value is different do you actually compare the contents of a folder to your database to see what changed. This idea assumes that most of the time the hashes for most folders would be the same and therefore save you the slower file-by-file comparisons.

Just a couple of ideas. I'm no efficiency expert though. I'm sure someone else knows other ways of doing this that would have greater returns.
Aug 6 '10 #2
romcab
108 100+
I like the idea of making a hash for each folder. This will saves me more processing time. I'm still considering the database as I think this is just a simple tool, file probably is enough. Thanks for the reply.
Aug 7 '10 #3
romcab
108 100+
this is actually a follow-up question. I'm thinking if windows maintain a log file to keep track new apps installed like the windowsupdates log file.
Aug 17 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Paul | last post by:
Hello, I know mysql update queries can only utilize one index, making them slow in some cases. My update are taking about 3 hours, joining 2 tables on their primary keys. (table sizes about 1...
16
by: robert | last post by:
been ruminating on the question (mostly in a 390/v7 context) of whether, and if so when, a row update becomes an insert/delete. i assume that there is a threshold on the number of columns of the...
2
by: MVA | last post by:
Hi all I have a database where in a table (tbl_Members), there are 2 date fields (DateOfBirth and DateJoined), and also 2 fields which upon entering the data in the form, it automatically works...
11
by: DFS | last post by:
Architecture: Access 2003 client, Oracle 9i repository, no Access security in place, ODBC linked tables. 100 or so users, in 3 or 4 groups (Oracle roles actually): Admins, Updaters and ReadOnly....
4
by: Roxie Aho | last post by:
I'm trying to update a SQL2000 database through a web form. Visual Basic.Net 2003,This is an abbreviated chunk of code. The primary key field in the table is HospitalProviderNumber. It is an...
16
by: Ian Davies | last post by:
Hello Needing help with a suitable solution. I have extracted records into a table under three columns 'category', 'comment' and share (the category column also holds the index no of the record...
7
by: Ivan Jericevich | last post by:
For some reason the update does not change the data in the database. It was working fine before, I checked that the bindingsource and tableadapter are still on the form....what else could be wrong?...
24
by: =?Utf-8?B?cGF0cmlja2RyZA==?= | last post by:
Hi everyone! I have a hidden input field in a form which I change in some occasions on the client using javascript, but when I use "view source" I can't see these changes reflected on the page!...
1
by: Q. John Chen | last post by:
All, I am using VS2005. I have a dataset MyDataSet with several DataTableAdapters defined (say CompanyDataTable, DepartmentDataTable) After I modified the data in the data tables of the...
2
by: nedryerson | last post by:
Hi, When I make changes in design view to a table in Access 2007, I assume they would show up automatically in a form that was created from that table, but they do not. Is there some easy way to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.