fade2gray
Joined: 21 Oct 2006 Posts: 16
|
Posted: Sat Oct 21, 2006 10:03 pm Post subject: VMware autosnapshot for unattended Windows installation |
|
|
I guess anyone who has created an unattended Windows installation disk, and has had to make any edits to the UA files, will know the benefits of taking a few snapshots during the installation when using VMware Workstation. Having got a bit bored hovering over the keyboard waiting to take snapshots, I created a script to do it automatically which can be found here. Maybe someone can make use of it?
The following is from the readme.
The script "snapshot.ahk"...
1. Was designed for my personal use with AutoHotkey v1.0.44.13 running a fully unattended installation of Windows xp pro using VMware Workstation v5.5.1 b19175. You might be able to adapt it for your own use i.e the script makes several references to the Window Text "5.5.1" which you may need to edit to reflect the version you use (avoid removing the window text altogether, otherwise the script will attempt to run on any other window with "Vmware Workstation" in the title).
2. Will take up to 9 snapshots at predetermined times: 99% windows file copy, T-33, T-30, T-23, T-19, T-14, T-09, T-02 and T-01. The start point (whether you are performing a clean install or recovering from a previous snapshot), and snapshots to be taken, can be selected from a simple, intuitive gui. If you just want to view the the script's gui (the gui won't appear unless the correct version of VMware is running; see above), comment out lines 13 to 20 inclusive.
3. Depends on this file, "readme.txt", being in the same working directory as "snapshot.ahk".
4. Monitors changes in pixel color in the Workstation's client area, and as any changes to the width of VMwares's Favorites bar will affect any 'x' coordinates referenced in the client area, the script will close the Favorites bar and restore it after finishing. (I have used progress bar monitoring rather than elapsed time, because Timeline events vary due to a lot of factors including the size of the Window's installation.)
5. Uses the Hotkey "Ctrl+Alt+x" to abort.
If you can think of anything else I should include in this readme, or any improvements I can make to the script, please let me know.
fade2gray
 |
|