RichTJ99 Posted July 26, 2004 Share Posted July 26, 2004 Hi,One of the things I do when I install windows manually is to add:c:\windows\explorer.scf To the quick launch area. I was curious, what commands would I need to get that added to my regtweaks.reg file or winnt.sif (or where ever it would go - btw regtweaks gets my vote).Anyway, I have done a bunch of reading & spent most of yesterday playing around & I am hooked. My first cd worked flawlessly (I admit I was very surprised) & I am now going to venture from the start.cmd style of installing to the RunOnceEx.cmd (looks great!).I will let ya all know how it goes.Anyway, I was just curious how to get the explorer.scf file up & running.Thanks,Rich Link to comment Share on other sites More sharing options...
jrzycrim Posted July 26, 2004 Share Posted July 26, 2004 Copy a shortcut for explorer.sfc to the quick launch folder during setup. The folder for quick launch is:%userprofile%\Application Data\Microsoft\Internet Explorer\Quick Launch Link to comment Share on other sites More sharing options...
RichTJ99 Posted July 27, 2004 Author Share Posted July 27, 2004 Im not sure I understand how to do this. Should I copy the shortcut to the \$OEM$\$1\Install folder? Link to comment Share on other sites More sharing options...
jrzycrim Posted July 27, 2004 Share Posted July 27, 2004 You can place it there and then during installation you can copy it to the quick launch folder. Reading another post of yours, I see that you are using GUIRunOnce to launch start.cmd. That would be a good place to copy any shortcuts from your install folder.Something like this placed in your Start.cmd file would work:copy %systemdrive%\install\Quicklaunch\*.* "%userprofile%\Application Data\Microsoft\Internet Explorer\Quick Launch"Any Shortcuts you place in $oem$\$1\Install\quicklauch will be copied to the Quick Launch toolbar during GUIRunOnce. Link to comment Share on other sites More sharing options...
killerbee Posted July 27, 2004 Share Posted July 27, 2004 hi,you could also search for a "shortcut.exe" here on the forums to create your own .lnk's where you need it.hope this helps a bitcyaKiller Bee Link to comment Share on other sites More sharing options...
RichTJ99 Posted July 28, 2004 Author Share Posted July 28, 2004 You can place it there and then during installation you can copy it to the quick launch folder. Reading another post of yours, I see that you are using GUIRunOnce to launch start.cmd. That would be a good place to copy any shortcuts from your install folder.Something like this placed in your Start.cmd file would work:copy %systemdrive%\install\Quicklaunch\*.* "%userprofile%\Application Data\Microsoft\Internet Explorer\Quick Launch"Any Shortcuts you place in $oem$\$1\Install\quicklauch will be copied to the Quick Launch toolbar during GUIRunOnce.I am actually moving towards a runonceex style install now. What would I do in that case? Link to comment Share on other sites More sharing options...
jrzycrim Posted July 28, 2004 Share Posted July 28, 2004 If you are going to be using RunOnceEx, most likely you are going to have at least one .cmd file that is executed for post installation cleanup. Just include the command to copy your quicklaunch shortcuts in that or in any other cmd scripts you might launch from RunOnceEx. Link to comment Share on other sites More sharing options...
homeskillet Posted July 28, 2004 Share Posted July 28, 2004 jrzycrim,Would I be able to do this in the All Users folder (due to multiple people logging on to the same PC)? I noticed the All Users folder doesn't include the Internet Explorer\Quick Launch folders. I assume I could manually create the folders and dump the icons there, correct? Link to comment Share on other sites More sharing options...
jrzycrim Posted July 28, 2004 Share Posted July 28, 2004 I've never placed any shortcuts there but you can try it and see if they show up. Link to comment Share on other sites More sharing options...
RichTJ99 Posted July 28, 2004 Author Share Posted July 28, 2004 Hrmm. I added:copy %systemdrive%\install\Quicklaunch\*.* "%userprofile%\Application Data\Microsoft\Internet Explorer\Quick Launch"to my cleanup.cmd & nothing is there. I also notice I have a "install" & "drivers" folder on the machine.It seems that all the items in my cleanup.cmd didnt do anything they were supposed to do.cleanup.cmdcmdow @ /HID@echo offcopy %systemdrive%\install\Quicklaunch\*.* "%userprofile%\Application Data\Microsoft\Internet Explorer\Quick Launch"shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"RD /S /Q %systemdrive%\DriversRD /S /Q %systemdrive%\installEXIT Link to comment Share on other sites More sharing options...
jrzycrim Posted July 29, 2004 Share Posted July 29, 2004 Post your RunOnceEx file. Link to comment Share on other sites More sharing options...
RichTJ99 Posted July 29, 2004 Author Share Posted July 29, 2004 cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Slipstreamed Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\Install\prepare.cmd" /fREG ADD %KEY%\005 /VE /D "TweakUI 2.10 Powertoy" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Powertoys\TweakUI.msi /qn" /fREG ADD %KEY%\030 /VE /D "WinRAR v3.30 Plus (Corporate Edition)" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\Winrar\wrar330.exe /s" /fREG ADD %KEY%\055 /VE /D "Kazaa Lite K++ v2.4.3" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\kazaalite243.exe /silent" /fREG ADD %KEY%\075 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\075 /V 1 /D "REGEDIT /S %systemdrive%\Install\regtweaks.reg" /fREG ADD %KEY%\080 /VE /D "Cleaning Up and Rebooting..." /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /fEXIT Link to comment Share on other sites More sharing options...
lpl Posted July 29, 2004 Share Posted July 29, 2004 Here is my code for adding windows explorer to cleanup.cmd...replace %cdrom% with %systemdrive% in this case.. COPY /Y "%cdrom%\install\QuickLaunch\Windows Explorer.lnk" "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch" Link to comment Share on other sites More sharing options...
RichTJ99 Posted July 29, 2004 Author Share Posted July 29, 2004 Whats the /y for (yes?)I am getting the feeling that the problem is my cleanup.cmd isnt running at all.The explorer link isnt there & my install & driver folders dont get deleted. Link to comment Share on other sites More sharing options...
RichTJ99 Posted July 29, 2004 Author Share Posted July 29, 2004 Ok, as i investigate further, nothing from my runonceex.cmd file is running, nothing in my prepare.cmd file, or the cleanup.cmd file. Any ideas? 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