Jump to content

Recommended Posts

Guest nikjensie
Posted

Can anyone help me with this?

I'm trying to set the registry entry for the MRU with a CAB-file, and it just isn't working out... this is what I have in the INF-file:

HKCU,Software\Microsoft\Shell\StartMRU,InitialOrder,0x00010000,Configurations\Settings.lnk,System\Explorer 2003.lnk,Applications\Opera Browser.lnk,Applications\Betaplayer.lnk,Applications\PocketMusic.lnk,Applications\Mini Lyrics Magic.lnk,Applications\Time Logger.lnk,Applications\ProfiMail.lnk,Applications\Agile Messenger.lnk

and when I go check the entry it makes, all it says is:

ions\Agile Messenger.lnk

I don't know what I'm doing wrong and I've tried a couple of solutions but it's hard when you don't know what your're looking for.

Thanks in advance,

Nik

Guest gpcarreon (MVP)
Posted

Hi,

You should insert a break (enter) equivalent on your INF. Remember that the homescreen MRU list have several string values on it, hence a multi-string key.

LNK 1

LNK 2

LNK 3

|

etcetera

|

cursor here

Sample code:

HKCU,"Software\Microsoft\Shell\StartMRU","InitialOrder",0x00010000,"TCPMP.lnk","Inbox.lnk","Settings.lnk","Calendar.lnk","Compose New.lnk","Keypad Lock.lnk","Task Manager.lnk","Accessories\Calculator.lnk"
On the registry, it will look like: post-12251-1121890988_thumb.jpg To interpret the MRU list... TCPMP would be the 8th icon on the list (right most icon) while Calculator would be first on the list. Therefore, your INF should be:
HKCU,"Software\Microsoft\Shell\StartMRU","InitialOrder",0x00010000,"Configurations\Settings.lnk","System\Explorer 2003.lnk","Applications\Opera Browser.lnk","Applications\Betaplayer.lnk","Applications\PocketMusic.lnk","Applications\Mini Lyrics Magic.lnk","Applications\Time Logger.lnk","Applications\ProfiMail.lnk","Applications\Agile Messenger.lnk"

I hope that helps. :)

  • 2 weeks later...
Guest nikjensie
Posted

Thanks Pzee for your reply, this is starting to drive me crazy now, cause it just doesn't work, I tried copying your code that you posted. I feel like I've tried every possible scenario now, and it just won't accept it. If anyone knows how to add a REG_MULTI_SZ to the registry with an INF-file and CabWizSP, please help me out. The flag 0x00010000 doesn't seem to work.

Thanks.

Guest gpcarreon (MVP)
Posted

Can you post or PM me your INF?

  • 2 weeks later...
Guest nikjensie
Posted

I want to bump this up cause I've finally realized something. The problem is that it just won't let me create a MultiString called InitialOrder... If I use the code in my first post and change "InitalOrder" to let's say "InitialOrde", it creates the value in a multistring but as soon as I call it "InitialOrder", it just creates a single value string... can anyone tell me how to overwrite or get permission to create the correct value???

Any help much appreciated!

Nik

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.