Solved

Driver to capture application installer instructions

Posted on 2011-03-16
2
372 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an explanation of a simple data model to help parse a JSON feed
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

820 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