Content Type
Profiles
Forums
Events
Posts posted by titou2k
-
-
An example of svcpack.inf file:
[Version]
Signature="$Windows NT$"
MajorVersion=5
MinorVersion=1
BuildNumber=2600
[SetupData]
CatalogSubDir="\i386\svcpack"
[ProductCatalogsToInstall]
[SetupHotfixesToRun]
mp10setup.exeYou must add command line under [setupHotfixesToRun] section
And put files in '\i386\svcpack' folder
0 -
Look for 'svcpack.in_'
To extract it: expand -r svcpack.inf
Modify the file
To recompacti: makecab svcpack.inf
Do it after Nlite, it's better (or inside nlite, is it possible ?)
0 -
you must also choose 'solid archive"
0 -
evilvoice>
Yeah, it's working with 7zip compression. I did not know this method. I will modify all my autoextract rar archive with 7zip.
EDIT:
it seems that i have the solution not to use command file but rundll32 in the config.txt
Only add rundll32.exe (33kB) in the archive.
0 -
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.
0 -
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 pathWith 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
0 -
shutdown.exe -r -f -t xx
xx = time in second before reboot
-r = reboot
-f = force application to close without warning
0 -
Well, I do not use WMP thus I do not have pay attention to the post. But to resolve a problem, i read it and had this idea.
Edit: Can we make a sfx file that autorun setup.inf with 7zip?
0 -
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=1EDIT2: Other method to run setup, without self extract.
rundll32 setupapi,InstallHinfSection DefaultInstall 128 #WHERE#/setup.inf
With #WHERE# the absolute extracted path0 -
Here my first setup screen.
0 -
I import my [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop] key during the t-12 step
it works fine for me.
0 -
i check windows update, it's ok.
I hope it's ok for the reg entries
0 -
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
0 -
Using Jdeboeck .bat file -----------
*.chm , yes you can read it
Yes you must install WM9 ccodec
You can delete calculator = 0 command from your unattend.txt
For calculator the only file you need is calc.exe, you can manage to keep it
I use volume control from SBLive
0 -
the problem is due to the accent in folder name.
Do as big_gie says
or
You can use 8.3 fomat for folder name (Menú Inicio -> MenIni~1)
0 -
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.
0 -
Good job, i quickly read the script and i understand how it works. I will test it next time.
But for non french version, there is a problem
Line 99 you use --> FIND /C "La lettre sp"
The string is in french so in other language version, the string won't be find.
A+
0 -
the assignment can be modified in the registry
[HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices]
\DosDevices\A: =
\DosDevices\C: =
\DosDevices\D: =
...
You change the letter as you want then you export this Key
No need of:
\??\Volume{##########################}
only
\DosDevices\x: =
0 -
To skip the Licence agreement in the first launch of money. It seems to be:
[HKEY_CURRENT_USER\Software\Microsoft\Works Suite\2004\Mny12]
"EULA"=dword:00000001
0
Integrate flash player7?
in Unattended Windows 2000/XP/2003
Posted
In i386 folder, you should replace 'flash.ocx' and 'swflash.inf' by the newest. That's what RyanVM's Pack does.