Bazzze Posted November 18, 2005 Share Posted November 18, 2005 That's what I need to do! For example the "My Documents" shortcut and so on...How do I do that? Link to comment Share on other sites More sharing options...
tridgely Posted November 18, 2005 Share Posted November 18, 2005 Use the following reg key:[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000000"{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000000"{871C5380-42A0-1069-A2EA-08002B30309D}"=dword:00000000 Link to comment Share on other sites More sharing options...
Bazzze Posted November 20, 2005 Author Share Posted November 20, 2005 Use the following reg key:[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000000"{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000000"{871C5380-42A0-1069-A2EA-08002B30309D}"=dword:00000000I'll try it out later today...thx Link to comment Share on other sites More sharing options...
twig123 Posted November 21, 2005 Share Posted November 21, 2005 when/how do you apply these reg tweaks? (probably a n00b Q:) but I didn't see anything about it Link to comment Share on other sites More sharing options...
tridgely Posted November 21, 2005 Share Posted November 21, 2005 If you apply that during T-12 (from cmdlines.txt), it will be applied to all users, which is probably what you want. Make a .reg file with that tweak in it. Then make a .cmd file that runs regedit silently to apply the tweak. Then make an entry in cmdlines.txt to run the .cmd script. Link to comment Share on other sites More sharing options...
Elc0chin0 Posted November 21, 2005 Share Posted November 21, 2005 so if you're putting in a shortcut *.lnk file on the desktop how does this entry in the regristry know where that is? Sorry I'm a bit baffled here. Link to comment Share on other sites More sharing options...
cluberti Posted November 21, 2005 Share Posted November 21, 2005 The "My Documents", "My Computer", "My Network Places", "Recycle Bin", and "Internet Explorer" icons are special icons - they are hidden or shown on the desktop based on registry keys (they are not .lnk files!). Therefore, if you want to show the above icons on the desktop, you will need to modify their corresponding registry keys and values (as previously posted) to get them to be visible on the desktop.If you have other shortcuts of your own that you'd like to show on the desktop, simply create the shortcut files on another system, copy the newly created .lnk files to your CD, then copy them to the desktop during installation. Link to comment Share on other sites More sharing options...
Elc0chin0 Posted November 22, 2005 Share Posted November 22, 2005 cluberti that doesn't work. I've tried it like oh ten different times. I'm trying to put a link file or shortcut in the All Users\Desktop folder so that when a user logs on they will see the icon on their desktop and can start using the software. When I put the icon in the $OEM$\$Docs\All Users\Desktop\file.lnk and then start the unattended install then come back some 60+ minutes later nothings there. No icon no file. The install has completed but the icon for the link I created on the other computer then copied over and put into the folders mentioned above just ain't there.Does anyone know how to make this work? Link to comment Share on other sites More sharing options...
Crash&Burn Posted November 22, 2005 Share Posted November 22, 2005 Have you set this in Winnt.sif[unattended]OemPreinstall = YesIf not then the $OEM directory is not parsed. Link to comment Share on other sites More sharing options...
Elc0chin0 Posted November 22, 2005 Share Posted November 22, 2005 Crash&Burn;Yes. As I've stated the unattended install works fine. I've put files folders etc into the $oem$ folder and they copy right over. I've put in a services file into the $$\system32\drivers\etc folder and it copies right over. The shortcut links do not copy over. I've made copies of the shortcut and changed the attributes to read only so they're not tempted to change when moved. Yet nothing.It's as if their not there.Any help would be appreciated. Link to comment Share on other sites More sharing options...
Crash&Burn Posted November 22, 2005 Share Posted November 22, 2005 Shouldn't it be $OEM$\$Docs\Default User\Desktop ... ? Link to comment Share on other sites More sharing options...
cluberti Posted November 22, 2005 Share Posted November 22, 2005 I've always used a script to copy files from C:\TEMP\icons ($OEM$\$1\TEMP\icons) to C:\Documents and Settings\All Users\Desktop during RunOnceEx. I think it would work in a script run from [setupParams] at T-9 during setup, but I'm not sure about copying these files over beforehand. The entire system isn't completely ready to go until the T-9 mark, so copying files to the All Users folder may or may not work before that. I'd suggest at least trying the [setupParams] or RunOnceEx methods to copy pre-existing .lnk files from a temporary location to the All Users\Desktop folder and see what does, and does not, work. Link to comment Share on other sites More sharing options...
ZenLord Posted November 22, 2005 Share Posted November 22, 2005 Can't you just use the SHORTCUT-command to make a new shortcut? The syntax is fairly simple and you don't have to waste space on your ua CD...Zl. Link to comment Share on other sites More sharing options...
Habitual Posted November 23, 2005 Share Posted November 23, 2005 I believe that if you use the Classic Mode, then you'll have four Desktop Icons, My Computer, Network 'hood, My Documents and Internet Exploder delivered to the desktop. Otherwise, tweaking will be necessary. Link to comment Share on other sites More sharing options...
Elc0chin0 Posted November 23, 2005 Share Posted November 23, 2005 cluberti;Thanks, that's exactly what I thought but needed someone to at least confirm my suspisions. I think putting the shortcut in the oem folder moves the files into the Add User folder to soon. I feel that during the install this folder gets written over and therefore is blank.I agree that I should consider putting it in the RunOnceEx.cmd folder but now I'm a bit at a loss as to the hiarchy of this method.RunOnceEx.cmd - resides in the rood of the cd? This file then addresses either another *.cmd, *.exe, *.bat file?The *.bat file should be placed where?i.e.[GUIRunOnce]%systemdrive%\folder\file.batCurrently that's what I've got set up, I'm afraid though that either these files are not there yet or that if there they are over written somehow. 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