Jump to content

Sgt. D. Pilla

Member
  • Posts

    35
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

Posts posted by Sgt. D. Pilla

  1. Hey Lads,

    I've been on this for a long time now, I can't find out how to get Avast to silently install, so help on that would be great!

    And After following VMWares 'offical' how-to to silently install VMWare Workstation and VMWare Server, I was unable to get it to work.

    The installers seem to run, but never install.

    Is someone able to provide me with their silent install switches for these programs aswell?

    Much Appriciated Guys!

  2. I read the latest WPI has the ability to check for an internet connection.

    I would like to implement this into all the installs that download things such as updates (Spybot for example)

    How do I go about creating a greyed condition for if there is no internet connection.

    I can't seem to find many/any tutorials on conditions for applications.

    Further, Can you add a condition to a registry add?

    Such as "Registry After" is dependent on if the program it is intended for was installed.

    How can I do both these things?

  3. Hey

    I've made using lots of other examples as guides (even using the same answer file a few times) an autounattend.xml for my OEM Dell Vista x64 install.

    I've made the changes I want and have it all setup, however no matter what I do, no matter what my answerfile is like, OOBE does not skip and wpi.hta doesn't lauch, nor do the cmd files I have setup using the sync commands.

    Even though other peoples answer files are identical to mine.

    I've read somewhere that its possible that its because its an OEM release.

    What do I need to do, to answer and skip the OOBE and run the command files at first logon?

    Can I moddify the OEMs original "sysprep", do I moddify the "oobe.xml" file in the Sources\Scripts directory

    I refer to this...

    Sysprep will disable the builtin administrator account (which we worked our behind off to enable in the first place without creating a new account), and copy all the changes to the default user using <copy profile>. Upon reboot, you get to answer all of the OOBE questions again and create an account, but they can be answered with another xml answer file.

    What is that answer file called? Where does it go?

    I've been able to work around my original issue of using a cmd file, to copy WPI from Sources\Scripts\WPI to %systemdrive%\WPI Applications, then delete the original copy in Scripts\WPI then launch WPI.hta from the directory copied to (%systemdrive%)

    However the cmd file never launches, which means WPI never gets initiated and neither do a few other important scripts

    Any Help Much Appriciated

  4. I've only found 1 answer file so far, and that one didn't work once I added my things into it.

    I've used vLite to change what I want, but I want to create my own Answer File because vLites only unattends like 2 dialogs.

    I want to achive the following...

    Boot from CD>Enter partitions>Change DVD 3 times>PC Boots to desktop>Script runs at first logon

    PC ready to use.

    I can get the changing DVDs down pat, and booting from the CD.

    Other then that, unattended just doesn't want to work, comparing my answerfile to others, there is nothing wrong with it, it just doesn't answer anything.

    Is there a certain order things need to go in, within the answer file.

    Is there a program, other then WAIK (Maybe one that works?) that can generate a Vista SP1 answer file

    Is there more to unattended then just the answer file?

    I've searched for guides, but they all use WAIK, and WAIK hates me and won't load the wim file

  5. I installed WAIK finally, and I get the following error/error code when trying to create the catagory file...

    8:38 PM :

    8:38 PM : User Name: Sgt. D. Pilla

    Machine Name: POWDITCH

    Processor Architecture: amd64

    Domain Name: powditch

    CLR Version: 2.0.50727.312

    OS Version: Microsoft Windows NT 6.0.6000.0

    Current Directory: D:\Win Vista Magic x64\SOURCES

    Command Line Parameters: "D:\Program Files\Windows AIK\Tools\Image Manager\ImgMgr.EXE"

    Physical Memory for this process: 62205952

    Bitness for this process: Native 64-bit

    File Version Information

    D:\Program Files\Windows AIK\Tools\Image Manager

    Microsoft.ComponentStudio.Command.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) msil

    Microsoft.ComponentStudio.Common.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) msil

    Microsoft.ComponentStudio.ComponentPlatformImplementation.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) amd64

    Microsoft.componentstudio.componentplatforminterface.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) msil

    Microsoft.ComponentStudio.Controls.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) msil

    Microsoft.ComponentStudio.Serializer.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) msil

    ImageCat.EXE Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) msil

    ImgMgr.EXE Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) msil

    D:\Program Files\Windows AIK\Tools\Image Manager\EN

    imagecat.resources.dll Microsoft Corporation 6.0.6000.16386 msil

    ImgMgr.resources.dll Microsoft Corporation 6.0.6000.16386 msil

    Microsoft.ComponentStudio.Command.resources.dll Microsoft Corporation 6.0.6000.16386 msil

    Microsoft.ComponentStudio.Common.resources.dll Microsoft Corporation 6.0.6000.16386 msil

    Microsoft.ComponentStudio.ComponentPlatformInterface.resources.dll Microsoft Corporation 6.0.6000.16386 msil

    Microsoft.ComponentStudio.Controls.resources.dll Microsoft Corporation 6.0.6000.16386 msil

    D:\Program Files\Windows AIK\Tools\Servicing\SmiEngine.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) amd64

    D:\Program Files\Windows AIK\Tools\Servicing\pkgmgr.exe Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) amd64

    D:\Program Files\Windows AIK\Tools\Servicing\cbscore.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) amd64

    D:\Program Files\Windows AIK\Tools\Servicing\wcp.dll Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) amd64

    C:\Windows\system32\drivers\WimFltr.sys Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101-2205) amd64

    File does not exist: C:\Windows\system32\wimgapi.dll

    8:38 PM :

    8:38 PM :

    8:38 PM : There was an error generating a catalog file for image Windows Vista ULTIMATE in Windows image file D:\Win Vista Magic x64\SOURCES\install.wim.

    8:38 PM :

    8:38 PM : System.InvalidOperationException: Exception from HRESULT: 0x800F0823 ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800F0823): Exception from HRESULT: 0x800F0823

    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.CbsSessionAdaptor.OpenInstalledPackage(ComPoint

    er<ICbsPackage>* , Identity id)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl.InitializePackages()

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl..ctor(OfflineImageInfo imageInfo)

    --- End of inner exception stack trace ---

    at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)

    at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

    at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.PlatformImplementation.CreateOfflineImageIn

    stance(OfflineImageInfo imageInfo)

    --- End of inner exception stack trace ---

    Server stack trace:

    at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.PlatformImplementation.CreateOfflineImageIn

    stance(OfflineImageInfo imageInfo)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.CreateOfflineImageInstance(OfflineImageInfo imageInfo)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageCatalog.Serialize(OfflineImageInfo imageInfo)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()

    at Microsoft.ComponentStudio.ComponentPlatformInterface.CatalogCreatorImpl.CreateCatalog(OfflineImageIn

    fo offlineImageInfo)

    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)

    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

    Exception rethrown at [0]:

    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.ICatalogCreator.CreateCatalog(OfflineImageInfo offlineImageInfo)

    at Microsoft.ComponentStudio.CatalogGenerator.CreateCat(ProgressDialog pd, Object o)

    8:38 PM : System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800F0823): Exception from HRESULT: 0x800F0823

    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.CbsSessionAdaptor.OpenInstalledPackage(ComPoint

    er<ICbsPackage>* , Identity id)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl.InitializePackages()

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl..ctor(OfflineImageInfo imageInfo)

    --- End of inner exception stack trace ---

    at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)

    at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

    at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.PlatformImplementation.CreateOfflineImageIn

    stance(OfflineImageInfo imageInfo)

    8:38 PM : System.Runtime.InteropServices.COMException (0x800F0823): Exception from HRESULT: 0x800F0823

    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.CbsSessionAdaptor.OpenInstalledPackage(ComPoint

    er<ICbsPackage>* , Identity id)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl.InitializePackages()

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl..ctor(OfflineImageInfo imageInfo)

    8:41 PM :

    8:41 PM : There was an error generating a catalog file for image Windows Vista ULTIMATE in Windows image file D:\Win Vista Magic x64\SOURCES\install.wim.

    8:41 PM :

    8:41 PM : System.InvalidOperationException: Exception from HRESULT: 0x800F0823 ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800F0823): Exception from HRESULT: 0x800F0823

    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.CbsSessionAdaptor.OpenInstalledPackage(ComPoint

    er<ICbsPackage>* , Identity id)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl.InitializePackages()

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl..ctor(OfflineImageInfo imageInfo)

    --- End of inner exception stack trace ---

    at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)

    at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

    at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.PlatformImplementation.CreateOfflineImageIn

    stance(OfflineImageInfo imageInfo)

    --- End of inner exception stack trace ---

    Server stack trace:

    at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.PlatformImplementation.CreateOfflineImageIn

    stance(OfflineImageInfo imageInfo)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.CreateOfflineImageInstance(OfflineImageInfo imageInfo)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageCatalog.Serialize(OfflineImageInfo imageInfo)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()

    at Microsoft.ComponentStudio.ComponentPlatformInterface.CatalogCreatorImpl.CreateCatalog(OfflineImageIn

    fo offlineImageInfo)

    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)

    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

    Exception rethrown at [0]:

    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.ICatalogCreator.CreateCatalog(OfflineImageInfo offlineImageInfo)

    at Microsoft.ComponentStudio.CatalogGenerator.CreateCat(ProgressDialog pd, Object o)

    8:41 PM : System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800F0823): Exception from HRESULT: 0x800F0823

    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.CbsSessionAdaptor.OpenInstalledPackage(ComPoint

    er<ICbsPackage>* , Identity id)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl.InitializePackages()

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl..ctor(OfflineImageInfo imageInfo)

    --- End of inner exception stack trace ---

    at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)

    at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

    at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.PlatformImplementation.CreateOfflineImageIn

    stance(OfflineImageInfo imageInfo)

    8:41 PM : System.Runtime.InteropServices.COMException (0x800F0823): Exception from HRESULT: 0x800F0823

    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.CbsSessionAdaptor.OpenInstalledPackage(ComPoint

    er<ICbsPackage>* , Identity id)

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl.InitializePackages()

    at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl..ctor(OfflineImageInfo imageInfo)

    I would use the "workaround described here" on this guide, but there is no "here" it doesn't actually provided where that workaround is ;)

    So my answer file doesn't work due to lack of documentation, my thread didn't get answered, waik doesn't work and the workaround doesn't exist, vlite isn't finished so I can't use that, and WPI people can't help me with what I want to do, even though others have done it :blink:

    Am I not mean't to UA Vista?! lol

  6. excuse me, are you installing 300 applicatons there. Unless you adding .net or something to your install something is wrong with that

    Nah, only about 20 lol.

    But I have like, everything so I turn my system on and I can write an essay or work from home.

    This includes MS Office 07, 3D Mark.

    Keep in mind that Vista install alone is 1DVD

    Vista + WPI with JUST 3D Mark is 2DVDs

    So with Office and anti virus and other various apps it stretchs onto 3DVDs by about 1GB

    You really only require the "wimgapi.dll" from the Tools folder to run VLite. It has been put up on these forums before.

    Ah, I just installed 1.6, then 2.0

    Is there somewhere (or some kind person ;) ) that I can get the WIM checker, I'd imagine that tool alone to check through the answer file is remarkable smaller then the entire WAIK kit?

  7. Hey Guys,

    I'm slowly moving from vLite to more of a self done Unattended Vista install.

    I still use vLite for SP intergration and making the ISOs, but I make the unattended files myself now.

    I'm just wondering if this looks ok.

    I know i can test in a VMware session, but my problem is my Vista install now stretches onto 3DVDs (or 1DL + 1GB on a SL DVD), so building the ISOs, Setting up the VM Session, then running the installation takes almost 4 hours.

    No point in testing the unattended xml if its plainly obvious to someone that its not going to work ;)

    So can someone check it over and let me know if it looks honka dory

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
    <component name="Microsoft-Windows-ehome-reg-inf" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DisableExpressSetup>true</DisableExpressSetup>
    </component>
    <component name="Microsoft-Windows-RemoteAssistance-Exe" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <fAllowToGetHelp>true</fAllowToGetHelp>
    </component>
    <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SkipAutoActivation>true</SkipAutoActivation>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>true</SkipUserOOBE>
    </OOBE>
    <TimeZone>Cen. Australia Standard Time</TimeZone>
    <ComputerName>tobysdesktop</ComputerName>
    </component>
    <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Identification>
    <JoinWorkgroup>MSHOME</JoinWorkgroup>
    </Identification>
    </component>
    <component name="Security-Malware-Windows-Defender" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DisableAntiSpyware>true</DisableAntiSpyware>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>true</SkipUserOOBE>
    </OOBE>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Description>Sgt. D. Pilla</Description>
    <DisplayName>Sgt. D. Pilla</DisplayName>
    <Group>Administrators</Group>
    <Name>Sgt. D. Pilla</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    </component>
    <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <InputLocale>en-US</InputLocale>
    <SystemLocale>en-AU</SystemLocale>
    <UILanguage>en-AU</UILanguage>
    <UserLocale>en-AU</UserLocale>
    <UILanguageFallback>en-US</UILanguageFallback>
    </component>
    </settings>
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DiskConfiguration>
    <WillShowUI>Always</WillShowUI>
    </DiskConfiguration>
    <UserData>
    <ProductKey>
    <Key>REMOVED</Key>
    <WillShowUI>OnError</WillShowUI>
    </ProductKey>
    <AcceptEula>true</AcceptEula>
    <FullName>Toby REMOVED</FullName>
    </UserData>
    <ComplianceCheck>
    <DisplayReport>Never</DisplayReport>
    </ComplianceCheck>
    <LogPath>%SystemRoot%\temp</LogPath>
    <UseConfigurationSet>true</UseConfigurationSet>
    </component>
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SetupUILanguage>
    <UILanguage>en-US</UILanguage>
    <WillShowUI>Never</WillShowUI>
    </SetupUILanguage>
    <InputLocale>en-US</InputLocale>
    <SystemLocale>en-AU</SystemLocale>
    <UILanguage>en-AU</UILanguage>
    <UILanguageFallback>en-US</UILanguageFallback>
    <UserLocale>en-AU</UserLocale>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:D:/Win Vista Magic x64/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    Thanks Lads!

  8. BEFORE I added things to it to test, nothing.

    About an hour ago I added my script to it to test, so at the moment, it contains the following...

    @echo off
    TITLE Finalizing Setup Stage
    cmdow.exe @ /DIS /TOP
    ECHO !! !!
    ECHO !! !!
    ECHO !! DO NOT CLOSE THIS WINDOW !!
    ECHO !! !!
    ECHO !! !!
    EHCO.
    ECHO.
    ECHO Installing Windows Post Installer, please wait...
    ECHO.
    ECHO STEP 1: PREPARING TO COPY FILES
    ECHO.
    ECHO Preparing to copy files...
    ECHO Please wait...

    :makedir
    ECHO.
    ECHO STEP 2: CREATING DIRECTORY STRUCTURE
    ECHO.
    ECHO Directory Structure Being Created...
    md %SYSTEMDRIVE%\WPI_Applications
    IF ERRORLEVEL 1 GOTO retry
    ECHO Done!
    ECHO.
    ECHO STEP 3: COPYING DIRECTORYS AND FILES
    ECHO.
    xcopy "%CD%\WPI" "%SYSTEMDRIVE%\WPI_Applications" /e /f /y /c /v
    IF ERRORLEVEL 1 GOTO error

    ECHO.
    ECHO Verifying...
    ECHO.
    cd %SYSTEMDRIVE%\WPI_Applications
    dir /s /b
    ECHO.
    ECHO File Transfer Complete...
    ECHO.
    ECHO Performing cleanup steps...
    ECHO Removing temp files...
    cd %windir%\Setup\SCRIPTS
    del WPI /F /Q
    rd WPI
    ECHO Now executing Windows Post Installer, then Exiting script...
    Start %systemdrive%\WPI_Applications\WPI.hta
    ECHO Goodbye!
    pause
    exit /B

    :error
    ECHO.
    ECHO File Transfer Failed!
    ECHO You will not be able to run WPI Applications from your HDD later
    ECHO You will instead require this install DVD
    ECHO Now exiting...
    ECHO Goodbye!
    pause
    exit /B

    :retry
    ECHO.
    ECHO ERROR STEP 1: REMOVING PRIOR DIRECTORY STRUCTURE
    ECHO.
    ECHO Removing directory and contents...
    rd %SYSTEMDRIVE%\WPI_Applications /s /q
    IF NOT ERRORLEVEL 1 GOTO exit
    ECHO Done!
    ECHO Retrying Directory Structure Creation...
    GOTO makedir

    :exit
    ECHO An error occured that this script could not correct
    ECHO You will not be able to run WPI Applications from your HDD later
    ECHO You will instead require this install DVD
    ECHO Or instead you can try a manual copy
    ECHO Now exiting...
    ECHO Goodbye!
    pause
    exit /B

    Google isn't really helping me learn what first.cmd does, or the other cmd files in the scripts directory

  9. Hey,

    I currently have setupcomplete.cmd executing the following code...

    @echo off
    TITLE Finalizing Setup Stage
    cmdow.exe @ /DIS /TOP
    ECHO !! !!
    ECHO !! !!
    ECHO !! DO NOT CLOSE THIS WINDOW !!
    ECHO !! !!
    ECHO !! !!
    ECHO.
    ECHO Installing Boot Manager Grub, Please wait...
    ECHO.
    for %%A in (C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:) do (
    if exist %%A\bootmgr (
    if not exist %%A\setup.exe (
    echo.
    echo Installing to drive %%A
    echo.
    if exist %%A\menu.lst attrib %%A\menu.lst -h -r -s
    if exist %%A\menu.lst ren %%A\menu.lst menu_lst.bak
    if exist %%A\grldr attrib %%A\grldr -h -r -s
    copy %systemroot%\setup\scripts\grldr %%A\grldr
    attrib %%A\grldr +h +s +r
    %systemroot%\setup\scripts\bootinst /nt60 %%A
    )
    )
    )
    EHCO.
    ECHO.
    ECHO Installing Windows Post Installer, please wait...
    ECHO.
    ECHO STEP 1: PREPARING TO COPY FILES
    ECHO.
    ECHO Preparing to copy files...
    ECHO Please wait...

    :makedir
    ECHO.
    ECHO STEP 2: CREATING DIRECTORY STRUCTURE
    ECHO.
    ECHO Directory Structure Being Created...
    md %SYSTEMDRIVE%\WPI_Applications
    IF ERRORLEVEL 1 GOTO retry
    ECHO Done!
    ECHO.
    ECHO STEP 3: COPYING DIRECTORYS AND FILES
    ECHO.
    xcopy "%CD%\WPI" "%SYSTEMDRIVE%\WPI_Applications" /e /f /y /c /v
    IF ERRORLEVEL 1 GOTO error

    ECHO.
    ECHO Verifying...
    ECHO.
    cd %SYSTEMDRIVE%\WPI_Applications
    dir /s /b
    ECHO.
    ECHO File Transfer Complete...
    ECHO.
    ECHO Performing cleanup steps...
    ECHO Removing temp files...
    cd %windir%\Setup\SCRIPTS
    del WPI /F /Q
    rd WPI
    ECHO Now executing Windows Post Installer, then Exiting script...
    Start %systemdrive%\WPI_Applications\WPI.hta
    ECHO Goodbye!
    pause
    exit /B

    :error
    ECHO.
    ECHO File Transfer Failed!
    ECHO You will not be able to run WPI Applications from your HDD later
    ECHO You will instead require this install DVD
    ECHO Now exiting...
    ECHO Goodbye!
    pause
    exit /B

    :retry
    ECHO.
    ECHO ERROR STEP 1: REMOVING PRIOR DIRECTORY STRUCTURE
    ECHO.
    ECHO Removing directory and contents...
    rd %SYSTEMDRIVE%\WPI_Applications /s /q
    IF NOT ERRORLEVEL 1 GOTO exit
    ECHO Done!
    ECHO Retrying Directory Structure Creation...
    GOTO makedir

    :exit
    ECHO An error occured that this script could not correct
    ECHO You will not be able to run WPI Applications from your HDD later
    ECHO You will instead require this install DVD
    ECHO Or instead you can try a manual copy
    ECHO Now exiting...
    ECHO Goodbye!
    pause
    exit /B

    Problem with that is their is no visual with this happening, so it gives the impression the installation has hung, and users, including myself until i researched setupcomplete.cmd, forcefully restarted the computer.

    The reason it gives the impression installation has hung is because it copies 3GB worth of applications which naturally takes a long time.

    I'm after a script that will allow the above code to run after the user has logged on.

    I read about firstlogon but I don't have that file.

    The windows files I am using is an image of my recovery partition, so the only files I have are as follows...

    dell.xml

    first.cmd

    oobe.cmd

    system.cmd

    setupcomplete.cmd

    Dell.xm appears to be firstlogon, but im not to sure, this is its contents...

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <OEMInformation>
    <Manufacturer></Manufacturer>
    <Logo>c:\windows\system32\oobe\dell_badge.bmp</Logo>
    </OEMInformation>
    <FirstLogonCommands>
    <SynchronousCommand wcm:action="add">
    <CommandLine>c:\windows\setup\scripts\first.cmd</CommandLine>
    <Description>first boot command file</Description>
    <Order>1</Order>
    </SynchronousCommand>
    </FirstLogonCommands>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/work/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    Would I be correct in saying, If i want a script to execute at the first logon of a user, that I would moddify the first.cmd file to suit my needs?

    Further, would that mean that first.cmd runs once with EACH user, or just a single user.

    Because of what the script does, It can only run once on the system.

    It copies a directory and its contents, removes the original directory, executes wpi.hta which then installs applications

    If that was to happen with every user it would error out an aweful lot and just look silly.

    Basically, I need my script to run once only but after setup (Say when the desktop has loaded), or any other time where there can be a visual of the process taking place

  10. Hey,

    Since WPI won't execute using the methods provided by the authors and parts there of.

    What i've decided to try to do is in the setupcomplete.cmd file, get it to run a batch script, which is located on the Root of the CD rom, then have that script call wpi.hta

    This will mean, setupcomplete.cmd runs a batch script from the CD Rom, which copys WPI to the HDD, then that same copying files script executes

    %systemroot%\WPI_Applications\wpi.hat

    I'm having a hell of a time getting WPI to execute, always with Path not found, even though the path is fine.

    Any Ideas?!

    Please, I really need help with this

  11. Thanks Owl.

    I'll test that tonight if I remember.

    But I thought of another possible fix.

    My WPI runs a batch script after it finishes to copy WPI to the root drive (Typically C:\WPI Applications)

    Can't we just have the setupcompleted.cmd file copy WPI to the Hard Drive, then run WPI from there.

    Would that be easier?

    It will achieve the same thing, if not in the same time frame

×
×
  • Create New...