Solved

Driver to capture application installer instructions

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This is about my first experience with programming Arduino.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

895 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