Deployment Solution

 View Only
  • 1.  Customized install.wim for Altiris Scripted OS install

    Posted Sep 15, 2015 02:18 PM

    Hi ,

     

    My environment is setup to install OS using the Altiris built-in Scripted OS install. Since install.wim is the base image from Microsoft, it takes long time to install windows updates after the OS is installed. To reduce the OS deployment time, I captured a .wim file with all windows patches installed.

    I went to my Altiris DS 6.9 and replaced the install.wim file under C:\Altiris\eXpress\Deployment Server\Deploy\WinOS001\sources\sources with my captured install.wim file. But when it comes to OS install step it errors out. Looks like it is not able to find the new install.wim. What am I missing here ? Below are the error screen shots.

     

     

    install.JPG

     

    IMG_1420_0.JPG

     

    IMG_1421.JPG

     

    Please advise.

     

    Thanks !



  • 2.  RE: Customized install.wim for Altiris Scripted OS install

    Posted Sep 16, 2015 07:41 AM

    It just looks like your install.wim isn't correct, you could try manually running setup.exe from WinPE to check.

    A better method would be to always start with a known untouched install.wim and use DS to script the patching, that way you can recreat it easily when new patches come out and old ones are superseded.

    So I copy an untouched install.wim from my expanded DVD source to the WinOS directory then run (locally on DS, not when agent is connected):

    REM Run on DS - Patch copied Install WIM
    
    set os=win10x64
    set Winos=WinOS008
    set wim=.\deploy\%winos%\sources\sources\install.wim 
    set mount=d:\mount
    set dism=.\Drivers\Win10x64\Microsoft\DISM
    
    "%dism%\dism.exe" /mount-wim /wimfile:%wim% /mountdir:%mount% /index:1
    
    FOR /F "delims=" %%A IN ('dir ".\FOS\Win10x64\OfflineCab\*.cab" /s /b') DO ("%dism%\dism.exe" /image:d:\mount /Add-Package /PackagePath:"%%A" /NoRestart /quiet)
    
    "%dism%\dism.exe" /unmount-wim /mountdir:%mount% /commit

    As a side note, I'd use 64 bit Windows 7 unless you have a compelling reason not to - I've yet to have any compatibility problems with 64 bit Windows 7 either at home or work.



  • 3.  RE: Customized install.wim for Altiris Scripted OS install
    Best Answer

    Trusted Advisor
    Posted Sep 29, 2015 04:02 AM

    Hi RMSHA50,

    Your process is flawed as you are not creating a valid install.wim file -you are simply uploading from the sounds of it a patched OS as a new WIM.

    Andy's approach is spot on. You need to mount the install.wim and then inject the patches as required.

    So the process would be,

    1. Copy the original install.wim to a working area (so you've always got a valid original)
    2. Mount the WIM file
    3. Use DISM to inject patches as required
    4. Umount WIM
    5. Test new instal.wim to be confirm patches are in place

    Kind Regards,
    Ian./

     



  • 4.  RE: Customized install.wim for Altiris Scripted OS install

    Trusted Advisor
    Posted Oct 07, 2015 03:44 PM

    Hi RMSHA50,

    Do you need anymore assistance on this one?



  • 5.  RE: Customized install.wim for Altiris Scripted OS install

    Posted Oct 08, 2015 10:35 AM

    Yes, the issue has been resolved.