Jump to content

DeathKnight

Member
  • Posts

    37
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Netherlands

Posts posted by DeathKnight

  1. My unattended cd works like a charm when booted with the cd. But when I try to install it on a dos partition the problems start.

    I use this command to install my cd:

    [autoexec.bat]

    @echo off
    smartdrv.exe
    cd xp_inst\I386
    winnt.exe /u:winnt.sif /s:c:\xp_inst\I386

    The install start copying a huge amount of files (more then with booting from the cd) I believe he copies everything, so all files are placed twice on the same harddisk.

    Then I get errors that some files are missing and can't be copied:

    fsdkreboot.exe
    wmfdist95.exe
    wmc_color48.png
    wmcsci.dll
    cmccfg.chm
    cmccfg.exe
    wmccds.exe
    MediaReveicerReigstrar.xml
    ContentDirectory.xml

    Later on in the copying process I get ever more files missing:

    udpspaipi.dll
    update.exe
    spcustom.dll

    These files are anywhere on the cd.. not even on the original..

    I can skip those files but then after the installation is done I notice that my cmdlines.txt aren't processed eighter...

    And ideas how to fix this?

  2. Lol could it be that easy ;)

    But it is a bit final. What if I'd want to leave to option open for some users to reanble the sounds? I have found a referention in: HIVEDEF.INF

    But I suppose deleting those is not a option, they are probably just for translation right?

  3. I'm having problems with my unattended cd. I'm using RunOnceEx to intall different programs and stuff, but it waits before I get logged in.

    So I need to login first before it will start running. This has happend after I used this reg key:

    ;Disable Welcome Screen and uses Classic Logon
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
    "LogonType"=dword:00000000

    I do want to use the classic login screen but I also want to run the RunOnceEx function. Any ideas?

  4. Well, unless I am mistaken, the WGA or LegitCheckControl is not for Windows Update or Microsoft Update. It is the Windows Genuine Advantage, which is the control used to validate your copy of Windows when going throught microsoft.com/downloads.

    I'll asure you it will skip the check when running windows update.

    The stupid thing is when I use nlite it works without any problems. But when using rvm intergrator it won't work.

    I captured the changes nvlite made when just selecting the addon and nothing else:

    FILE: "LAST SESSION.000",From="C:\Work\unattended\cd\Last Session.ini"
    FILE: "LAST SESSION_U.000",From="C:\Work\unattended\cd\Last Session_u.ini"
    FILE: "I386\DOSNET.000",From="C:\Work\unattended\cd\I386\DOSNET.INF"
    FILE: "I386\GWFSPIDGEN.000",From="C:\Work\unattended\cd\I386\GWFSPIDGen.dl_"
    FILE: "I386\HIVECLS.000",From="C:\Work\unattended\cd\I386\HIVECLS.INF"
    FILE: "I386\HIVEDEF.000",From="C:\Work\unattended\cd\I386\HIVEDEF.INF"
    FILE: "I386\HIVESFT.000",From="C:\Work\unattended\cd\I386\HIVESFT.INF"
    FILE: "I386\HIVESYS.000",From="C:\Work\unattended\cd\I386\HIVESYS.INF"
    FILE: "I386\HIVEUSD.000",From="C:\Work\unattended\cd\I386\HIVEUSD.INF"
    FILE: "I386\LEGITCHECKCONTROL.000",From="C:\Work\unattended\cd\I386\LegitCheckControl.dl_"
    FILE: "I386\NLHIVE.000",From="C:\Work\unattended\cd\I386\NLHIVE.INF"
    FILE: "I386\NLITE.000",From="C:\Work\unattended\cd\I386\NLITE.IN_"
    FILE: "I386\SVCPACK.000",From="C:\Work\unattended\cd\I386\SVCPACK.IN_"
    FILE: "I386\SYSOC.000",From="C:\Work\unattended\cd\I386\SYSOC.IN_"
    FILE: "I386\TCPIP.000",From="C:\Work\unattended\cd\I386\TCPIP.SY_"
    FILE: "I386\TXTSETUP.000",From="C:\Work\unattended\cd\I386\TXTSETUP.SIF"
    FILE: "I386\WGA.000",From="C:\Work\unattended\cd\I386\WGA.in_"
    DELETE: "I386\svcpack.inf"
    DELETE: "I386\tcpip.sys"

    As you can see it does more then it should. But I've checked all these files and I can't find any changes that should explain why it would make the WGA tool any better. All the HIVECLS.INF like files just contain translations and some weird function to turn the firewall on in the setup process.

    Can anyone help me?? I would really appreciate it if someone knows what nlite does what rvm intergrator doesn't to help fix the problem!

  5. I did some even more checking! Now i'm stunnend. Nlite works okay the download blah blah dialog is skipped correctly. But RVM_Integrator_1.0.5.exe doesn't work.

    So RVM intergrator is not working correctly? Or does nlite do more settings that are not listed in the supplied ini file??

    As my last resort I will have to make a snapshot before and after the nlite process. But the problem is that nlite changes to txtsetup.sif intensively. So it will be hard to simulate the same changes manually. The main problem I have with nlite that is does all kinds of extra things I don't ask it to do. Like adding nlite.ini and stuff. It's just making a big mess of my unattended cd, and makes you lose control of all changes.

  6. When I view the cab file from microsoft it also has registry entries. Are they really needed in order to make it work?

    Also are all dll files stored in txtsetup.sif automatically registered????

    All other threads on this forum about WGA are unanswered.. right when they become interresting no one posted in them very annoying. I just don't want window update nagging for WGA updates :(

    After installing it again I tried using regsvr32.exe on the file and I returned to the windows update site, then I didn't asked to update the component.

  7. Yesterday I tried using RVM integrator to include the wga_addon. The process went okay I didn't get any errors eighter.

    But when I enter the windows update site after installing the unattended cd It still need to download the WGA patch. The files are stored in the system32 folder correctly. And when I installed the patch with windows update it is actually cracked so that's pretty weird.

    Any ideas?

  8. Thanks for your reply. That surely cleared it all up. But I still have a problem with txtsetup.sif

    ;This section contains entries that need to go into the [sourceDisksFiles] section of txtsetup.sif

    [txtsetup_files]

    %maininf% = 100,,,,,,,20,0,0

    GWFSPIDGen.dll = 100,,,,,,,2,0,0,GWFSPIDGen.dll

    LegitCheckControl.dll = 100,,,,,,,2,0,0,LegitCheckControl.dll

    When I place this part in the txtsetup.sif I get errors after windows is installed that all kind of files are missing (rundll32.exe etc).

    When I just enter:

    %maininf% = 100,,,,,,,20,0,0

    GWFSPIDGen.dll = 100,,,,,,,2,0,0,GWFSPIDGen.dll

    LegitCheckControl.dll = 100,,,,,,,2,0,0,LegitCheckControl.dll

    into the sourcefile directive I get a error during installation saying it can't find %maininf%

  9. Hi,

    I've being searching for hours on this subject now. I want to add the Windows Genuine Advantage Tool to my unattended cd.

    I know it's possible with an existing nlite addon. But I want to add it manually, I want to keep control of everything concerning my unattended cd.

    So far I got a cab file but how do I manually install them afterwards? Preferably in the 'svcpack.inf stage'. I am absolutely positive this can't be found with the search on this forum. I've being trying long enough to get mental by now :thumbdown

    I also tried looking into a file called: 'HACKED_WGA_1[1].4.389.0ADDON.CAB' but the ini files states entries that have to be entered in sysoc.inf for example. Those files are binairy in the I386 directory. So I can't be expected to just add it like that.

    Can anyone help me out?

  10. I'm using VBscript do to certain settings that can't be done with the registry.. But I ran into some problems with slower machines. The problem was that the script can't know if a control panel is already loaded.

    I kinda got around that. This is my code for setting best peformane in a dutch windows XP

    Sub DoAction(str, ms)
    'Check status until ready
    status = (WshShell.AppActivate)(cPanel.ProcessID)

    Do Until status = true
     WScript.Sleep 1000
     status = (WshShell.AppActivate)(cPanel.ProcessID)
     WScript.Sleep 1000
    Loop

    if status = true then
     WshShell.SendKeys str
     WScript.Sleep ms
    End if
    End Sub

    'Set windows for best performance
    Set WshShell = CreateObject("WScript.Shell")
    Set cPanel = WshShell.Exec("rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,3")

    status = (WshShell.AppActivate)(cPanel.ProcessID)

    Do Until status = true
     WScript.Sleep 500
     status = (WshShell.AppActivate)(cPanel.ProcessID)
     WScript.Sleep 500
    Loop

    if status = true then
     DoAction "%I", 200
     DoAction "%P", 500
     DoAction "%T", 200
     DoAction "{ENTER}", 200
     DoAction "{ESC}", 200
    End if

    WScript.Sleep 1000

    This way the code waits for the control panel to be loaded.. It took me a few hours to get it working just the way I wanted it too. But this might come in handy for other users.

  11. Sorry for asking.. I know it was posted before. but I have a hard time finding it.

    I made few vbs file using sendkeys for certain things.. like enabling quickstart and some other windows settings.

    I have to following batch file starting after installing windows XP:

    @echo off
    cls

    echo Bezig met instellingen 1 moment a.u.b

    DEL "%systemroot%\Web\Wallpaper\*.jpg"
    DEL "%systemroot%\Web\Wallpaper\*.bmp"

    DEL "%systemdrive%\Documents and Settings\All Users\Menu Start\Programmatoegang en -instellingen.lnk"
    DEL "%systemdrive%\Documents and Settings\All Users\Menu Start\Windows Update.lnk"
    DEL "%systemdrive%\Documents and Settings\All Users\Menu Start\Windows-catalogus.lnk"

    start /wait %systemdrive%\install\DirectX9b\DirectX9\dxsetup.exe /opk
    start /wait %systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:N
    regedit /s %systemdrive%\install\regtweaks.reg

    COPY "%systemdrive%\Install\Tools\psshutdown.exe" "%systemroot%\"

    psshutdown.exe -r -t 60 -f -m "De PC zal over 1 minuut opnieuw opstarten"
    RD /S /Q %systemdrive%\install

    An example of a vbs file I made is:

    Set sa = CreateObject("Shell.Application")
    sa.ControlPanelItem("desk.cpl")

    Wscript.Sleep 2000

    set WshShell = WScript.CreateObject("WScript.Shell")

    WshShell.SendKeys "{TAB}"
    Wscript.Sleep 200

    WshShell.SendKeys "{TAB}"
    Wscript.Sleep 200

    WshShell.SendKeys "{TAB}"
    Wscript.Sleep 200

    WshShell.SendKeys "{TAB}"
    Wscript.Sleep 200

    WshShell.SendKeys "{RIGHT}"
    Wscript.Sleep 200

    WshShell.SendKeys "{RIGHT}"
    Wscript.Sleep 200

    WshShell.SendKeys "{RIGHT}"
    Wscript.Sleep 200

    WshShell.SendKeys "%{e}"
    Wscript.Sleep 2000

    WshShell.SendKeys " "
    Wscript.Sleep 200

    WshShell.SendKeys "{TAB}"
    Wscript.Sleep 200

    WshShell.SendKeys " "
    Wscript.Sleep 200

    WshShell.SendKeys "{ENTER}"
    Wscript.Sleep 200

    WshShell.SendKeys "{ENTER}"
    Wscript.Sleep 200

    I rather have it done before rebooting the system.. any ideas? I know the best way to start them is:

    wscript file.vbs //B //NoLogo

  12. u can also change the timeout value

    either from registry (same key, different string)

    or u can use

    chkntfs /t: .. also with

    chkntfs /x [drive letter] will exclude the drive from getting checked at startup...(boot menu, i mean)

    I rather not check anything whatsoever.

    I run the boot.ini with /sos and even after disabling the scan of certain drivers it will still run chkdsk.exe itself. This way he won't even bother what drives to scan because it's not going to scan anyway.

  13. I registered to this forum yesterday because I was also making a Unattended XP installation. I must say you guys are way more into this then anywhere else on the internet. Well enough with the chit chat. About my question..

    I just viewed some of your files, and I saw the option:

    [components]

    autoupdate = off

    I was wondering what it does. Since it's not described in ref.chm in the support directory on the xp cd.

    Any ideas?

×
×
  • Create New...