|04 May 2010||#1|
| || |
WAIK , Run a Custom Script...
if Windows Setup Encounters a Fatal Error.
If it's ain't the right forum then i'll be glad to get a link to the MS Tech forum that deals with this kind of things.
My friend has builded a WIM (Windows IMage file) and I'm trying to "upgrade"
my 7 ver to it (Both are Ultimate x64 versions).
It crashes in the PE env (after expanding and rebooting) at the 5th and last stage:
"Transfering files and installing devices and programs"
At WAIK (Windows Autmated Installation Kit) docs it's written:
If Windows Setup encounters a fatal error, you can configure Setup to automatically launch a script that contains custom commands or actions. A fatal error is an error in which Windows Setup is prevented from completing the installation.
This functionality is useful when you automate the installation of many systems at the same time. By enabling this functionality, you can immediately detect when an error occurs during Windows Setup and run custom actions.
If Windows Setup encounters a fatal error and is prevented from completing the installation, Windows Setup searches for a command script in the following directory: %WINDIR%\Setup\Scripts\ErrorHandler.cmd. One of two actions will occur, depending on whether the script is found.
I mounted this install.wim file and found this script folder in it but I don't know how to write this ErrorHandler.cmd (meaning it's scripts) that will:
|My System Specs|
|14 May 2010||#2|
| || |
Anyone knows how to write a dos/batch script file that will write a log file of these an installastion errors ?
In a MSI file it goes like this:
msiexec /i File_Name.msi /l*v Output_File.txt
I hope somone knows what I'm talking about...
THNX IN ADVANCE GUYS
|My System Specs|
|Similar help and support threads for2: WAIK , Run a Custom Script...|
|Parental control : how to allow custom VB script execution?||System Security|
|i try learn waik||General Discussion|
|WAIK, unattended.xml and what then...?||Installation & Setup|
|I Need Help To Reorder The Context Menu Script In Script Form?||Customization|
|Winpe for W7 (WAIK)||General Discussion|
|Our Sites ||Site Links ||About Us ||Find Us |
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
All times are GMT -5. The time now is 03:32 PM.