Jump to content

titou2k

Member
  • Posts

    138
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    France

Posts posted by titou2k

  1. RogueSpear> Very good App (WillyPad). It will save me a lot of time to create inf from reg. Manual conversion is long.

    evilvoice> inf format, this is correct :)

    I made 'mp10setup.7z' (with 'mp10setup.cmd' in it).

    I created 'config.txt'.

    But i don't understand:

    upx -9 -o7zSC.sfx 7zS.sfx

    This creates 7zSC.sfx but what is 7zS.sfx?

    EDIT:

    Ok, i find it.

  2. I didn't try with svcpack.inf. I use it in runonce after after last reboot. I will try to put it in svcpack and see what happens.

    Edit:

    how did you run the setup after extract your 7zip? and from where?

    I said:

    rundll32 setupapi,InstallHinfSection DefaultInstall 128 ./setup.inf

    But it is better to use:

    rundll32 setupapi,InstallHinfSection DefaultInstall 128 #WHERE#/setup.inf
    With #WHERE# the absolute extracted path

    With wirar, the files are extracted in TMP folder then the command are executed from this forder. So I use #WHERE# = ./

    Edit2:

    With sfx winrar archive, it is working in svcpack.inf.

    I put MP10Setup.exe (Winrar Archive :) not Microsoft setup) in svcpack folder

    I add "MP10Setup.exe" in svcpack.inf under [setupHotfixesToRun] section

  3. Why use WMP10.cab if the files are in mp10setup.exe!

    You can save 5MB (from WMP10.cab) easily, you do not need it.

    My method, 1!!! File (11.7MB) which do all things. You can remove WMP9 and Codecs with Nlite.

    1) Extract the contents of mp10setup.exe somewhere (mp10setup)

    2) Make a setup.inf with the code below and put it in the folder. Or get this file.

    [Version]
    Signature="$Windows NT$"
    ClassGUID={00000000-0000-0000-0000-000000000000}
    LayoutFile=layout.inf
    SetupClass=BASE

    [DefaultInstall]
    AddReg         = Run.Prepare,Run.Setup,Run.Shortcut_Extension
    CopyFiles      = wm.stream.copy
    Registerdlls   = regwmp.dlls
    AddReg         = Regs.Config

    [Run.Prepare]
    HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","Prepare",, "rundll32 setupapi,InstallHinfSection DefaultInstall 128 ./WMP10.inf"
    [Run.Setup]
    HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","Setup",, "setup_wm.exe /Q /R:N /NoPID /DisallowSystemRestore /P:#e"
    [Run.Shortcut_Extension]
    HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","Shortcut_Extension",, "unregmp2.exe /Shortcuts /RegExts"

    [DestinationDirs]
    DefaultDestDir=11
    wm.stream.copy=11
    [SourceDisksNames]
    5655 = %SourceFileDesc%,,0
    [SourceDisksFiles]
    msdxm.ocx = 5655
    [wm.stream.copy]
    msdxm.ocx,,,97

    [RegSection]
    Registerdlls   = regwmp.dlls
    [regwmp.dlls]
    11,,WMNetMgr.dll,1
    11,,wmp.dll,1
    11,,msdxm.ocx,1
    11,,wmpasf.dll,1
    11,,wmpdxm.dll,1
    11,,wmploc.DLL,1
    11,,wmpshell.dll,1
    11,,wmpsrcwp.dll,1

    [Regs.Config]
    ;Add what you want to configure WMP10.

    You can add all registry tweaks you want in 'setup.inf' under the [Regs.Config] section.

    3) Copy the 'msdxm.ocx' file in the folder (where you extract mp10setup.exe) > This file is for enabling streaming media in IE. You can find it in Windows Setup CD. It is removed by Nlite in the same time of WMP9 that is why i add it here.

    4) Make an sfx archive from all files in the folder. (In Winrar: SFX Solid Archive, Normal Compression > 11.7MB)

    With winrar use this comment:

    ;The comment below contains SFX script commands
    Setup=rundll32 setupapi,InstallHinfSection DefaultInstall 128 ./setup.inf
    TempMode
    Silent=1
    Overwrite=1

    EDIT2: Other method to run setup, without self extract.

    rundll32 setupapi,InstallHinfSection DefaultInstall 128 #WHERE#/setup.inf
    With #WHERE# the absolute extracted path

  4. I have the same probleme with these 2 hotfixes

    In my case, this is due to the use of jdeboeck batch. I remove some component that the hotfix update.

    I thinks that Windows Update doesn't update files if it doesn't find them. So the hotfix is not totally applied and windows update want to reinstall it.

    EDIT oups, same things

  5. I extracted all sp2-hotfix in one folder and keep the last version of each. I compressed all the files with makecab and put them in i386 folder. I updated dosnet.inf and txtsetup.sif.

    For the reg entry i opened update.inf which can be find in each hotfix pack. And copied the addreg and delreg section in hivesft.inf

    I made this in 4h. I don't know if i missed something.

    For the files, i am sure that they are all copied in my disk with the last version. But for the reg entries, i only use update.inf reg entries. is there other reg entries to add?

    When i execute qfecheck.exe, it says all is fine.

×
×
  • Create New...