Edit: Can we make a sfx file that autorun setup.inf with 7zip?
HOWTO: integrate wmp10 (with a lot of work)
#41
Posted 28 October 2004 - 08:30 AM
Edit: Can we make a sfx file that autorun setup.inf with 7zip?
#42
Posted 29 October 2004 - 07:29 AM
#43
Posted 29 October 2004 - 08:10 AM
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
I add "MP10Setup.exe" in svcpack.inf under [SetupHotfixesToRun] section
#44
Posted 29 October 2004 - 05:29 PM
#45
Posted 30 October 2004 - 07:37 AM
mp10setup.cmd
@ECHO OFF rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 ./setup.inf
make config.txt !!!MAKE SURE TO SAVE AS UTF-8 FORMAT!!!
;!@Install@!UTF-8! RunProgram="mp10setup.cmd" ;!@InstallEnd@!
next, compress 7zS.sfx
upx -9 -o7zSC.sfx 7zS.sfx
copy /b 7zSC.sfx + config.txt + mp10setup.7z mp10setup.exe
This assumes you named the archive mp10setup.7z
TEST THIS!!! I am unsure if I have all the steps...I was really just looking at a way to get it to work in svcpack.inf...the package with StartX works after setup is finished, but not within svcpack.inf, which is where I like to isntall things like this. And Ive made 15 different configurations of mp10setup...so like I said, I might have missed a step or 2...but it seems all correct.
#46
Posted 30 October 2004 - 08:31 AM
#47
Posted 30 October 2004 - 08:55 AM
[Regs.Config] HKCU,"Software\Microsoft\MediaPlayer\Preferences","AcceptedPrivacyStatement",0x00010001,01,00,00,00 HKCU,"Software\Microsoft\MediaPlayer\Preferences","FirstRun",0x00010001,00,00,00,00 HKCU,"Software\Microsoft\MediaPlayer\Preferences","SendUserGUID",1,00 HKCU,"Software\Microsoft\MediaPlayer\Preferences","SilentAcquisition",0x00010001,00,00,00,00 HKCU,"Software\Microsoft\MediaPlayer\Preferences","UsageTracking",0x00010001,00,00,00,00 HKCU,"Software\Microsoft\MediaPlayer\Preferences","WebScriptCommandsEnabled",0x00010001,01,00,00,00
#48
Posted 30 October 2004 - 11:12 AM
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.
#49
Posted 30 October 2004 - 02:00 PM
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.
#50
Posted 30 October 2004 - 06:38 PM
these are the tweaks I am using
HKCU,"Software\Microsoft\MediaPlayer\Player\Settings","EnableDVDUI",,"yes" HKCU,"Software\Microsoft\MediaPlayer\Player\Settings","AutoSize",,"yes" HKCU,"Software\Microsoft\MediaPlayer\Player\Settings","AlwaysOnTop",,"no" HKCU,"Software\Microsoft\MediaPlayer\Player\Settings","AutoRewind",,"no" HKCU,"Software\Microsoft\MediaPlayer\Player\Settings","FullScreenControls",,"no" HKCU,"Software\Microsoft\MediaPlayer\Player\Settings","Captioning",,"no" HKCU,"Software\Microsoft\MediaPlayer\Preferences","CDRecordFileDetail",,"*TrackNumber;*SongTitle;Artist;Album;Genre;Bitrate" HKCU,"Software\Microsoft\MediaPlayer\Preferences","SendUserGUID",1,00 HKCU,"Software\Microsoft\MediaPlayer\Preferences","SilentAcquisition",0x00010001,0 HKCU,"Software\Microsoft\MediaPlayer\Preferences","UpgradeCodecPrompt",0x00010001,0 HKCU,"Software\Microsoft\MediaPlayer\Preferences","PlayerScriptCommandsEnabled",0x00010001,0 HKCU,"Software\Microsoft\MediaPlayer\Preferences","UpgradeCheckFrequency",0x00010001,2 HKCU,"Software\Microsoft\MediaPlayer\Preferences","StretchToFit",0x00010001,1 HKCU,"Software\Microsoft\MediaPlayer\Preferences","MetadataRetrieval",0x00010001,3 HKCU,"Software\Microsoft\MediaPlayer\Preferences","UsageTracking",0x00010001,0 HKCU,"Software\Microsoft\MediaPlayer\Preferences","DisableMRU",0x00010001,1 HKCU,"Software\Microsoft\MediaPlayer\Preferences","LaunchIndex",0x00010001,106 HKCU,"Software\Microsoft\MediaPlayer\Preferences","FirstRun",0x00010001,0 HKCU,"Software\Microsoft\MediaPlayer\Preferences","ShrinkToFit",0x00010001,0 HKCU,"Software\Microsoft\MediaPlayer\Preferences","PromptLicenseBackup",0x00010001,0 HKCU,"Software\Microsoft\MediaPlayer\Preferences","ShowAppTitlebar",0x00010001,1 HKCU,"Software\Microsoft\MediaPlayer\Preferences","ShowAppTitlebarVTen",0x00010001,1 HKCU,"Software\Microsoft\MediaPlayer\Preferences","AcceptedPrivacyStatement",0x00010001,1 HKCU,"Software\Microsoft\MediaPlayer\Preferences","LibraryPaneVisible",0x00010001,1 HKCU,"Software\Microsoft\MediaPlayer\Preferences","LibraryHasBeenRun",0x00010001,1 HKCU,"Software\Microsoft\MediaPlayer\Preferences","CDRecordMP3",0x00010001,0 HKCU,"Software\Microsoft\MediaPlayer\Preferences","CDRecordMode",0x00010001,3 HKCU,"Software\Microsoft\MediaPlayer\Preferences","WMARecordRate",0x00010001,0002ee00 HKCU,"Software\Microsoft\MediaPlayer\Preferences","WMARecordQuality",0x00010001,62 HKCU,"Software\Microsoft\MediaPlayer\Preferences","MP3RecordRate",0x00010001,0004e200 HKCU,"Software\Microsoft\MediaPlayer\Preferences","CDRecordDRM",0x00010001,0 HKCU,"Software\Microsoft\MediaPlayer\Preferences","AutoCopyCD",0x00010001,0 HKCU,"Software\Microsoft\MediaPlayer\Preferences","AutoEjectCD",0x00010001,1 HKCU,"Software\Microsoft\MediaPlayer\Preferences","WebScriptCommandsEnabled",0x00010001,0 HKCU,"Software\Microsoft\MediaPlayer\Preferences","WebStreamsEnabled",0x00010001,0 HKLM,"SOFTWARE\Microsoft\MediaPlayer\Settings\MP3Encoding","LowRate",0x00010001,0001f400 HKLM,"SOFTWARE\Microsoft\MediaPlayer\Settings\MP3Encoding","MediumRate",0x00010001,0002ee00 HKLM,"SOFTWARE\Microsoft\MediaPlayer\Settings\MP3Encoding","MediumHighRate",0x00010001,0003e800 HKLM,"SOFTWARE\Microsoft\MediaPlayer\Settings\MP3Encoding","HighRate",0x00010001,0004e200
AFAICT the HKLM keys arent needed as wmp10 by default sets these, but I include them just in case...the biggest thing is the CDRecordMode I have set for WMA Lossless
@RogueSpear...I dunno how your reg tweaks work...you use a dword setting, but the data is written in binary format...you should change it to read like mine does...unless they actually work for you.
#51
Posted 30 October 2004 - 10:47 PM
#52
Posted 01 November 2004 - 02:03 PM
P.S. With wmp10setup in svcpack AND our little cab, doesn't it take MORE space?
#53
Posted 01 November 2004 - 03:34 PM
For the life of me though, I can't figure out why the original method would have caused that to happen.
#54
Posted 02 November 2004 - 08:34 AM
Quote
upx -9 -o7zSC.sfx 7zS.sfx
why do this?is there 7zs.sfx @7zip's directory?
#55
Posted 02 November 2004 - 08:42 AM
#58
Posted 02 November 2004 - 07:05 PM
evilvoice, on Nov 3 2004, 12:04 AM, said:
thx,i use upxshell insteaded
#59
Posted 03 November 2004 - 03:05 AM
Quote
how can this pack so small?i also use 7-zip ultra mode,but still the pack is 12.4mb
i use default ultra compress settings,does i need to change some switches?
thx



Help


Back to top








