Deployment Solution

 View Only
  • 1.  Scripting OS x64 install

    Posted Apr 20, 2009 12:49 PM
    I am trying to script an x64 install of Windows and I am having problems.  I have tried using both WinPE x64 and x86, and neither seam to work.  I am trying to execute the winnt32.exe file and it keeps telling me that this version of windows does not support it: 
    "This versions of c:\I386\AMD64\WINNT32.EXE is not compatible with the version of Windows you're running.  Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher." 

    I did not have this problem when running a scripted install of XP 32 bit doing it about the same way.  Like I said, I have tried this in both bits of WinPE with the same problem.  Has anyone ever scripted a XP 64bit install?  I tried using the DS's Scripted OS Install and as far as I can tell, it has the same issues, because it doesn't work, although I couldn't get the x86 version to work either because it wasn't feeding the correct command line to get the install to work.  

    The command I am running is: 
    cd c:\i386\amd64\
    WINNT32.EXE /unattend:c:\altiris\files\unattend.txt /s:c:\i386 /noreboot /syspart:c:

    I did move the amd64 folder to under the i386 folder so that i could store everything on the hard drive and try to keep it similar to the x32 install. 

    Any help is much appreciated.


  • 2.  RE: Scripting OS x64 install
    Best Answer

    Posted Jun 09, 2009 03:44 AM
    I don't see why it would not work.
    The only thing you must make sure of is that you are running WinPE in X64 mode (Second step in the run script wizzard 64-bit not  Auto-select) on a X64 capable machine.

    I have posted our installation script we use for installing XP 64-bit below for your review.

    Regards,
    Dennis


    REM Script for installing Windows XP + Aclient
    REM
    REM ITT Project Team
    REM Current version: 1.0
    REM Release: sept 2007
    %systemdrive%\wndctl -hide

    :Check Required Files
    if not exist Y:\TOOLS\smartdrv.exe goto MissingFiles

    :Preparing client environment
    REM Replacetokens \\tudelft.net\clientrepository\deploy\templates\64bit\unattend.txt P:\Shares\Deploy$\temp\%ID%.txt
    REM Replacetokens \\tudelft.net\clientrepository\deploy\templates\aclient.inp P:\Shares\Deploy$\temp\%ID%.inp
    md C:\temp
    F:\RDeploy\Windows\FIRM.exe COPY Y:\Tools OS:C:\temp\tools
    md C:\Logfiles
    F:\RDeploy\Windows\X64\FIRM.exe COPY W:\temp\%ID%.txt OS:C:\temp\unattend.txt
    F:\RDeploy\Windows\X64\FIRM.exe COPY W:\temp\%ID%.inp OS:C:\temp\aclient.inp
    F:\RDeploy\Windows\X64\FIRM.exe COPY F:\Agents\AClient\altiris-aclient-6.8.380.X64.exe OS:C:\temp\aclient.exe
    del W:\temp\%ID%.txt
    del W:\temp\%ID%.inp

    REM bootwork unload

    :Starting Windows XP unattended
    Y:
    CD \OS\XPsp264\AMD64
    WINNT32.EXE /unattend:c:\temp\unattend.txt /s:Y:\OS\XPsp264\AMD64 /Syspart:C /Tempdrive:C /NOREBOOT
    goto EoF

    :MissingFiles
    f:\wlogevent.exe -l:2 -ss:"Files missing on deployment server"
    EXIT 1

    :EoF


  • 3.  RE: Scripting OS x64 install

    Posted Jun 09, 2009 02:02 PM
    I will give this a try, but the problem is when running the winnt32.exe it does not see the OS as the correct bit version.  I have tried both WinPE x64 and WinPE x86 and yes, this is on a 64 bit compatible computer. Dell Perecision 390.


  • 4.  RE: Scripting OS x64 install

    Posted Jun 10, 2009 08:25 AM
    That did get it to work, now I am just having some other problems with missing files.  I think that is something on my side with my i386 folder.  I am still not sure what is different from my winnt32 execution and yours, but thanks!


  • 5.  RE: Scripting OS x64 install

    Posted Oct 19, 2009 03:48 PM
    I get error codes about missing files as well. I think it said error code 22. I am running it now again to get more information. Did you ever resolve this?