Jump to content

Recommended Posts


Posted

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 :rolleyes: But it sounds like you guys know something i don't... So how would i go about fixing it from Run to RunOnceEx?

Thanks

EDIT:

By the way, yes, i want want it for later use after you done installing everything :)

Posted

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.

Posted

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" /f
REG ADD %KEY%\170 /V 1 /D "%CDROM%\Batch\cleanup.cmd" /f

Am i anywhere close?

Thanks

Posted

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

Posted

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.

Posted

@AaronXP

What 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 :rolleyes:

Thanks

This should help me out a lot :)

Posted

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

Posted

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" /f

REG ADD %KEY%\016 /V 1 /D "%cdrom%\install\PowerToys\Resize.exe /s /v/qn" /f

REG ADD %KEY%\017 /VE /D "PowerCalc Powertoy" /f

REG ADD %KEY%\017 /V 1 /D "%cdrom%\install\PowerToys\Calc.exe /s /v/qn" /f

REG ADD %KEY%\018 /VE /D "Alt-tab Replacement Powertoy" /f

REG ADD %KEY%\018 /V 1 /D "%cdrom%\install\PowerToys\Alt-tab.exe /s /v/qn" /f

REG ADD %KEY%\019 /VE /D "TweakUI 2.10 Powertoy" /f

REG ADD %KEY%\019 /V 1 /D "%cdrom%\install\PowerToys\TweakUI.msi /QB" /f

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...