Solved

Driver to capture application installer instructions

Posted on 2011-03-16
2
367 Views
Last Modified: 2012-05-11
Hi
I am thinking about developing an application to use at my company to help automate installing software and was thinking about a driver which captures instructions from an installer which is used an application. For example a user wants to install mysql. The user hits record on my app and then launched mysql.exe and goes through the install proceedure. Once he has finished he presses 'End' on my app. At this point an AnswerFile is produced containing a list of instructions to install Mysql. If the user needs to install it again, they fire up my app, select the Mysql answerfile and press play.
Is this possible? I assume a driver will be needed to capture kernel level instructions? could anyone please point me towards any resources which might help me produce a design for the idea.
Thanks
0
Comment
Question by:Jonesey007
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 35149714
You don't even need a driver, a user-mode application will do. You'd first have to hook all the actions that the installer takes, mainly file operations and regstry writes, which you can then use to replicate these steps. 'I remember that a computer magazine once introduced such a software including the source code, and it's indeed still out there: http://www.wintotal.de/softwarearchiv/?rb=1038&id=1383&Itemid=62&option=com_yad2&lnk=2509 (direct link to .zip download) - open the archive and you'll find 'IWatch.zip' inside, which is the source package (the other two contain precompiled binaries). And this http://www.codeproject.com/KB/system/hooksys.aspx ("API hooking revealed") sheds in some light on the background.
0
 

Author Comment

by:Jonesey007
ID: 35150102
Thank You jkr
You've really helped me out and im very grateful
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This is an explanation of a simple data model to help parse a JSON feed
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now