Solved

Driver to capture application installer instructions

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

813 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

11 Experts available now in Live!

Get 1:1 Help Now