MSFN Forum: HOWTO: integrate wmp10 (with a lot of work) - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 5 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

HOWTO: integrate wmp10 (with a lot of work) Rate Topic: -----

#41 User is offline   titou2k 

  • Khayman
  • PipPip
  • Group: Members
  • Posts: 138
  • Joined: 02-March 04

Posted 28 October 2004 - 08:30 AM

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. :D

Edit: Can we make a sfx file that autorun setup.inf with 7zip?


#42 User is offline   evilvoice 

  • Ditchy McAbandonpants
  • PipPipPipPipPip
  • Group: Members
  • Posts: 946
  • Joined: 27-January 04

Posted 29 October 2004 - 07:29 AM

Ive made the 7zip arcive...but it does not seem to be useable from svcpack.inf...in the way you have done it, does it run in svcpack.inf or somewhere else?

#43 User is offline   titou2k 

  • Khayman
  • PipPip
  • Group: Members
  • Posts: 138
  • Joined: 02-March 04

Posted 29 October 2004 - 08:10 AM

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

#44 User is offline   evilvoice 

  • Ditchy McAbandonpants
  • PipPipPipPipPip
  • Group: Members
  • Posts: 946
  • Joined: 27-January 04

Posted 29 October 2004 - 05:29 PM

still working on it...for some reason, 7zip just wont do it automatically...duno why, I can extract everything, run startx and have it run the command and it installs fine, but when using the exe file, it just stops or errors out...Ill have to look more into it as I think its not understanding what im trying to do in the config file.

#45 User is offline   evilvoice 

  • Ditchy McAbandonpants
  • PipPipPipPipPip
  • Group: Members
  • Posts: 946
  • Joined: 27-January 04

Posted 30 October 2004 - 07:37 AM

FINALLY...jebus this was tough...I tried every which way of trying to use StartX which just doesnt work with rundll32 and 7zip...who knows why...I should submit a bug report to the maker, but oh well...I ended up using a cmd file...and writing the config to run the cmd file...so basically, do exactly what titou2k said in making the package...extract mp10setup, make setup.inf, make mp10setup.cmd, copy msdxm.ocx (these files should be in the mp10setup folder)...then make a 7z file with all these things...(I use ultra compression)

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 User is offline   evilvoice 

  • Ditchy McAbandonpants
  • PipPipPipPipPip
  • Group: Members
  • Posts: 946
  • Joined: 27-January 04

Posted 30 October 2004 - 08:31 AM

@titou2k...could you give an example of how to add the custom tweaks...I believe they have to be written in inf format...is that correct?

#47 User is offline   RogueSpear 

  • OS: SimplyMEPIS
  • Group: Supreme Sponsor
  • Posts: 1,529
  • Joined: 18-September 04

Posted 30 October 2004 - 08:55 AM

Here are the tweaks that I put in. I used WillyPad to convert the registry entries to inf format.

[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 User is offline   titou2k 

  • Khayman
  • PipPip
  • Group: Members
  • Posts: 138
  • Joined: 02-March 04

Posted 30 October 2004 - 11:12 AM

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.

#49 User is offline   titou2k 

  • Khayman
  • PipPip
  • Group: Members
  • Posts: 138
  • Joined: 02-March 04

Posted 30 October 2004 - 02:00 PM

evilvoice>
Yeah, it's working with 7zip compression. I did not know this method. I will modify all my autoextract rar archive with 7zip. :w00t:

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 User is offline   evilvoice 

  • Ditchy McAbandonpants
  • PipPipPipPipPip
  • Group: Members
  • Posts: 946
  • Joined: 27-January 04

Posted 30 October 2004 - 06:38 PM

the problem with adding rundll32.exe is that it is dependent on what service pack you have...AFAIK rundll32 is not interchangable...the rundll with sp2 will only work on sp2 and sp1 only on sp1...which is why I included the cmd file...the cmd file is very small and will allow it to work on an OS whether it is xp sp1, sp2, or a different windows. I edited 7zS.sfx so that the installer would use the wmp icon instead of that default installer icon...other than that, everything else is the same. To edit, just open 7zS.sfx in Resource Hacker and goto Action -> Replace Icon

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 User is offline   RogueSpear 

  • OS: SimplyMEPIS
  • Group: Supreme Sponsor
  • Posts: 1,529
  • Joined: 18-September 04

Posted 30 October 2004 - 10:47 PM

I never noticed that, thanks for pointing it out. Looks like I'm going to have to look over my WillyPad converions to see what else got botched.

#52 User is offline   nolookingca 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 338
  • Joined: 17-March 04

Posted 01 November 2004 - 02:03 PM

any differences if I ALREADY used nLite to get rid of WMP?

P.S. With wmp10setup in svcpack AND our little cab, doesn't it take MORE space?

#53 User is offline   RogueSpear 

  • OS: SimplyMEPIS
  • Group: Supreme Sponsor
  • Posts: 1,529
  • Joined: 18-September 04

Posted 01 November 2004 - 03:34 PM

Revisiting an old issue. With the original method (post #1) I was seeing HighMAT listed in Windows Update. With this newer method, I am not. I think EvilVoice was curious about this.

For the life of me though, I can't figure out why the original method would have caused that to happen.

#54 User is offline   Providence 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 15-August 04

Posted 02 November 2004 - 08:34 AM

Quote

next, compress 7zS.sfx
upx -9 -o7zSC.sfx 7zS.sfx

why do this?is there 7zs.sfx @7zip's directory?

#55 User is offline   evilvoice 

  • Ditchy McAbandonpants
  • PipPipPipPipPip
  • Group: Members
  • Posts: 946
  • Joined: 27-January 04

Posted 02 November 2004 - 08:42 AM

7zs.sfx is in 7-zip dir...there is also a 7zSC.sfx in there too, but the reason I do this is because I wanted an icon for the setup file...I had a wmp10 icon from crystal svg pack and so I extracted the icon, opened 7zs.sfx and replaced icon, then saved, then upx'd so it would not take up soo much space.

#56 User is offline   Providence 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 15-August 04

Posted 02 November 2004 - 08:48 AM

all solved

#57 User is offline   evilvoice 

  • Ditchy McAbandonpants
  • PipPipPipPipPip
  • Group: Members
  • Posts: 946
  • Joined: 27-January 04

Posted 02 November 2004 - 10:04 AM

upx.sourceforge.net i believe

#58 User is offline   Providence 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 15-August 04

Posted 02 November 2004 - 07:05 PM

evilvoice, on Nov 3 2004, 12:04 AM, said:

upx.sourceforge.net i believe

thx,i use upxshell insteaded

#59 User is offline   Providence 

  • Junior
  • Pip
  • Group: Members
  • Posts: 67
  • Joined: 15-August 04

Posted 03 November 2004 - 03:05 AM

Quote

WOW!!!...nice find, though I would prolly make a 7zip for mp10setup.exe (can get it down to 9mb)...but very cool

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

#60 User is offline   titou2k 

  • Khayman
  • PipPip
  • Group: Members
  • Posts: 138
  • Joined: 02-March 04

Posted 03 November 2004 - 03:59 AM

you must also choose 'solid archive"

Share this topic:


  • 5 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy