miko Posted October 7, 2005 Share Posted October 7, 2005 (edited) i'm working on an .inf file and i'm stuck with two shortcut changes i want to make1. i want to put a shortcut to 'My computer' in the 'Quick Lauch' Toolbar(not an expandable one, just one too open the 'My computer' window when clicked)2. i want to make the 'Windows Update' shortcut in the Startmenu folder hidden (not deleted)i have a feeling this is the easier of the two.any ideas/tips/examples/links ?many thanks for any help. Edited October 7, 2005 by miko Link to comment Share on other sites More sharing options...
miko Posted October 8, 2005 Author Share Posted October 8, 2005 anyone ? i think i can do the first by just copying a shortcut from the install dir(all shortcuts to My Computer appear to be the same) thoughts ? Link to comment Share on other sites More sharing options...
Acheron Posted October 8, 2005 Share Posted October 8, 2005 You can create specific shortcuts using the UpdateInis directive:Microsoft has publiced some material here.On MSFN you can search for updateinis to find some examples Link to comment Share on other sites More sharing options...
miko Posted October 8, 2005 Author Share Posted October 8, 2005 Thank You @ bookmarked ! (for study)sorry sounding like a dumbass but this kinda thing is really not my forte,btw does anyone know what the syntax of a my computer shortcut target is (i think it's a CLSID somehow) i might find it though (goes of to crawl through MSFN searching with 'updateinis') Link to comment Share on other sites More sharing options...
eidenk Posted October 9, 2005 Share Posted October 9, 2005 My Computer GUID : {20D04FE0-3AEA-1069-A2D8-08002B30309D}. Link to comment Share on other sites More sharing options...
miko Posted October 11, 2005 Author Share Posted October 11, 2005 still can't figure out how to create the shortcut, but i've checked (i run 3 side by side installs of 98se on different partitions) and a My Computer shortcut is binarily (sp ?) the same every time it's created (in all 3 installs) so i'm just going to include and copy into position during install, i think i might have the change to read only thing cornered now as well. . .it would still be nice to know how to create a 'My Computer' shortcut form inside an inf file if anyone knows how.(more 'professional' i think, plus one less file to include) Link to comment Share on other sites More sharing options...
MDGx Posted October 13, 2005 Share Posted October 13, 2005 (edited) I use this INF code to create shortcuts to Pinball + Spider games in %windir% -> Start Menu -> Accessories -> Games [default location]:SETUP.INI,progman.groups,,"G2=Accessories\Games"SETUP.INI,G2,,"""Spider Solitaire"","%10%\SPIDER.EXE",,,,"%10%",,""Play Spider Solitaire Card Game"""SETUP.INI,G2,,"""Space Cadet Pinball"","%10%\PINBALL\PINBALL.EXE",,,,"%10%\PINBALL",,""Play Space Cadet 3D Pinball Game"""2G.INF is part of 98SE2ME:http://www.msfn.org/board/?showtopic=46349U can customize the code to your needs, of course.Hope this helps. Edited October 13, 2005 by MDGx Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now