I still haven't figured out why Setup isn't setting my refresh rate and color depth like it should, among other things. i've tracked the changes made in the registry and have created a .reg file for them (and other things, such as setting Litestep as shell, customizing my folder options, and even setting the silver theme by default. The problem is that Windows seems to ignore half of these things. For example, it still refuses to set the refreshrate and color depth, it won't set my folder options or set the silver theme, but it does setup Litestep and set up the layout of my toolbars how I like. At any rate, if I run the .reg file now and reboot, all of a sudden it will accept these registry entries and everything will be fine. I'm not even going to bother trying to figure out what's going on there, but I do have an alternate idea. Would it be possible to, during the batch install, put a registry entry into the RunOnce key that, once psshutdown has rebooted the computer, will run another batch file that will run my .reg file? It should be possible, but I have no clue how to do it. Thanks alot, guys, if you can help me.
Welcome to MSFN ForumRegister now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
How do I add something to the RunOnce registry key
Posted 28 July 2003 - 08:47 AM
Posted 28 July 2003 - 02:26 PM
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce] "NameOfApplication"="C:\\Program Files\\example\\example.exe"
Since you want to execute a reg key, you will be prompted when XP boots up if the reg key path is in RunOnce, so put a path to the batch file instead that will use REGEGIT /S
You probably will see a quick flash of the command prompt box on boot up
P.S. you do need to use double backslashes for a path in a registry import.
Posted 28 July 2003 - 02:33 PM
Thank you. Really, thanks for everything. I don't think I've expressed my gratitude enough.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users