mukeshnuna Posted April 7, 2010 Posted April 7, 2010 Hi All,I have my own business of computer repairs and services.I would like to create an unattended disk, though I have learnt the major process. There's one thing which I would like to have. I would like to have a desktop shortcut to my website, so that it gets placed on the desktop when we install windows.Any help in this regard would be appreciated.Thanks
Sp0iLedBrAt Posted April 7, 2010 Posted April 7, 2010 You could place the URL shortcut in $OEM$\$Docs\All Users\Desktop in the CD and it will be copied automatically to all users of that PC.
mukeshnuna Posted April 7, 2010 Author Posted April 7, 2010 You could place the URL shortcut in $OEM$\$Docs\All Users\Desktop in the CD and it will be copied automatically to all users of that PC.Tried this, nothing got placed onto the desktop.
Sp0iLedBrAt Posted April 7, 2010 Posted April 7, 2010 (edited) That's strange... did you put the $OEM$ folder in the root of the CD (next to I386/AMD64)?You can also try with a batch file and the COPY/XCOPY command, or make an SFX file to execute through a batch file.See here:http://www.computerhope.com/xcopyhlp.htmhttp://www.computerhope.com/copyhlp.htm Edited April 7, 2010 by Sp0iLedBrAt
Geej Posted April 8, 2010 Posted April 8, 2010 Try this small inf. I personally run it via GUIRunONCE but you can also run at T13;httplink.inf[Version]Signature="$Windows NT$"[DefaultInstall]ProfileItems=URL01[URL01]Name ="My SiteName2",0x00000008,25 ; All user's desktopCmdline =16422,Internet Explorer,iexplore.exe http://www.msfn.org/board/desktop-shortcut-t143129.htmlInfoTip ="Add your own info tip here"IconPath = 11,,url.dll
mukeshnuna Posted April 9, 2010 Author Posted April 9, 2010 That's strange... did you put the $OEM$ folder in the root of the CD (next to I386/AMD64)?You can also try with a batch file and the COPY/XCOPY command, or make an SFX file to execute through a batch file.See here:http://www.computerhope.com/xcopyhlp.htmhttp://www.computerhope.com/copyhlp.htmI would like to go with OEM Folder, and do not find a reason why its not getting copied, because I have other OEM info and bmp as well in there.OemPreinstall=Yes is there in winnt.sifwhat else could be the reason?And by the way Geej, how do I run this inf, if you could tell me step by step? Bu I was more interested in OEM Folders to run.
gunsmokingman Posted April 9, 2010 Posted April 9, 2010 Hi All,I have my own business of computer repairs and services.I would like to create an unattended disk, though I have learnt the major process. There's one thing which I would like to have. I would like to have a desktop shortcut to my website, so that it gets placed on the desktop when we install windows.Any help in this regard would be appreciated.ThanksYou could use a VBS script to make the shortcut on the desktop using the RunOnceEx MethodSave As MyUrl.vbsDim Act :Set Act = CreateObject("Wscript.Shell")Dim Obj :Set Obj = Act.CreateShortcut(Act.SpecialFolders("Desktop") & "\Open My Web Site.lnk")'-> Place Your Web Site Path HereObj.TargetPath = "http://www.msfn.org/"'-> Icon For The ShortcutObj.IconLocation = "shell32.dll, 17"'-> Details For ShoetcutObj.Description = "Some Text Details Here"'-> Hot Key To Open ShortcutObj.Hotkey = "CTRL+SHIFT+W"Obj.Save'-> Self Delete The VBS File, Uncomment To Make Active' CreateObject("Scripting.FileSystemObject").DeleteFile(WScript.ScriptFullName),TrueExample RunOnceEx MethodREG ADD %KEY%\055 /VE /D "Add Shop URL" /fREG ADD %KEY%\055 /V 1 /D "%Systemdrive%\Install\MyUrl.vbs" /f
Geej Posted April 10, 2010 Posted April 10, 2010 (edited) And by the way Geej, how do I run this inf, if you could tell me step by step? Bu I was more interested in OEM Folders to run.Create a cmd file (say URLSC.cmd) and put in $oem$\$1\GUIRunOnce folder with the following code:rundll32.exe advpack.dll,LaunchINFSectionEx %systemdrive%\GUIRunOnce\httplink.inf,,,4Put httplink.inf in $oem$\$1\GUIRunOnce folder as well.In Winnt.sif,[GuiRunOnce]%systemdrive%\GUIRunOnce\URLSC.cmd--Note: a simpler method would be wrapping this inf with winrar and run at T13.But I won't want to go into detail of making it as I assume you know how to do it. Edited April 10, 2010 by Geej
os2fan2 Posted April 11, 2010 Posted April 11, 2010 I add the stuff in winnt.sif [GuiRunonce].The files are added by way of dosnet.inf and txtsetup.sif. You put them in a known position (i use the INF folder. You then run the files by way of eg "%Systemroot%\INF\fixmach.inf" etc.One batch corrects registry. The second makes desktop icons. For this, i use the rare but findable 'shortcut.exe' from NT4 sp2 kit.With the advent of windows vista and other virii, you could use something like 'conset.exe' (another freeware) to drag registry into the current environment. You need to change to the directory where the shortcut is to be set to do this. Rexx is to be investigated...
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