evilvoice Posted March 28, 2004 Posted March 28, 2004 you never said anything about rebooting, how was I to know it was in your cleanup.cmd file?
XKnoppix Posted March 29, 2004 Posted March 29, 2004 I don't know what you mean? What's wrong with my paths? Is there something i'm missing? And as for the cleanup.cmd i have no idea what i'm doing But it sounds like you guys know something i don't... So how would i go about fixing it from Run to RunOnceEx? ThanksEDIT:By the way, yes, i want want it for later use after you done installing everything
Alanoll Posted March 29, 2004 Posted March 29, 2004 for later use, you have to rerun a batch with the IF EXIST commands. It only stays untill the batch closes, and even then only active in the batch itself.as for the paths....make sure your files are where you're tell the batch where they are. All of your folders that you're installing from (just glancing at your batch file) need to be at the root of your CD. Not in a subfolder.as for the cleanup, just make another key in your batch (another section thingy) and have the command to execute be your cleanup. Then you can get rid of that other line.This is all simple logic here.
XKnoppix Posted March 29, 2004 Posted March 29, 2004 It's okay, it's not the end of the world if i can't use the %CDROM% variable later. Since my system doesn't ever reboot... once should be fine I gewt what you are saying on the paths, and i went ahead and fixed them all. Now, about the cleanup.cmd are you saying something like this:REG ADD %KEY%\170 /VE /D "Cleanup and Reboot" /fREG ADD %KEY%\170 /V 1 /D "%CDROM%\Batch\cleanup.cmd" /fAm i anywhere close?Thanks
Alanoll Posted March 29, 2004 Posted March 29, 2004 yes, but again check the paths and change 170 to 180 as you already have a 170
XKnoppix Posted March 29, 2004 Posted March 29, 2004 Okay, so that will work? it was just a guess What do those numbers do exactly? is going by 10's the general rule?Thanks
XKnoppix Posted March 29, 2004 Posted March 29, 2004 But doesn't cleanup.cmd reboot my pc? So it won't go back to RunOnceEx? I don't know if this matters but... just a thought. Making sure this will run smoothly Thanks
Aaron Posted March 29, 2004 Posted March 29, 2004 XKnoppix, I can guarantee there will always be at least some errors, even if they're not easy to spot. This is where VMWare or Virtual PC comes in handy. Once you take notes of the errors, its very easy to fix.
XKnoppix Posted March 29, 2004 Posted March 29, 2004 @AaronXPWhat are VMWare and Virtual PC? Does it allow me to run my CD without actually RUNNING my CD? So i can test it? If so, which one is better? Atleast easiest, because by no stretch of the imagination am i an advanced user ThanksThis should help me out a lot
Aaron Posted March 29, 2004 Posted March 29, 2004 Yes, they can mount your ISO images to act as a CD, you won't even have to burn any discs.Go for Virtual PC for simplicity
XKnoppix Posted March 29, 2004 Posted March 29, 2004 Sweet I'll check it out and let you know what i find...ThanksEDIT: Where can i get Vitual PC? Is it made by Microsoft?
diesel_98a Posted March 29, 2004 Posted March 29, 2004 for the powr toys i am using seperate installs for each of them. the tweakui is the on msi, i downloaded them from somewhere but i cannot remember where. here is the script:REG ADD %KEY%\016 /VE /D "ImageResizer Powertoy" /fREG ADD %KEY%\016 /V 1 /D "%cdrom%\install\PowerToys\Resize.exe /s /v/qn" /fREG ADD %KEY%\017 /VE /D "PowerCalc Powertoy" /fREG ADD %KEY%\017 /V 1 /D "%cdrom%\install\PowerToys\Calc.exe /s /v/qn" /fREG ADD %KEY%\018 /VE /D "Alt-tab Replacement Powertoy" /fREG ADD %KEY%\018 /V 1 /D "%cdrom%\install\PowerToys\Alt-tab.exe /s /v/qn" /fREG ADD %KEY%\019 /VE /D "TweakUI 2.10 Powertoy" /fREG ADD %KEY%\019 /V 1 /D "%cdrom%\install\PowerToys\TweakUI.msi /QB" /f
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