Jump to content

Recommended Posts

Posted

in your command file that does the import of all the Registry keys for the RunOnceEX add this line at the very end....

rundll32.exe iernonce.dll,RunOnceExProcess

Posted

Thanks for the quick reply. So it would look something like this:

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Adobe Acrobat Reader 6 - Full" /f

REG ADD %KEY%\001 /V 1 /D "%CDROM%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""" /f

REG ADD %KEY%\005 /VE /D "Microsoft Office 2003 Pro" /f

REG ADD %KEY%\005 /V 1 /D "%CDROM%\install\Applications\Office2003\setup.exe TRANSFORMS=testUA.MST /qb- /noreboot" /f

REG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\055 /V 1 /D "%CDROM%\install\cleanup.cmd" /f

rundll32.exe iernonce.dll,RunOnceExProcess

EXIT

or would I put it before my "clean up and reboot" stuff?

I've got my regular cmd batch working, and it installs the apps and everything just fine.....but i would like this new look...

I will have to give it a try and see how it goes.....

thanks,

Rory

Posted

what you posted is correct.

Think of it this way, all those registry lines, aren't getting executed till that rundll32.exe command. They're just getting imported and saved.

Posted

Alanoll,

I tried it out today and it works perfect. Thanks so much. Now if only I could get that DOS window to close or not display while the runonceEX screen is up... :) I will have to play around some more. It will finally give me something to do at work. :rolleyes:

Later,

0007

Posted

Most CD / DVD players and so on use a generic driver by means off Plug n Play technique if that is what u mean? As long as you have a working and supported hardware device off the operating system you are running it should work out just fine....

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...