Jump to content

Recommended Posts

Posted

How can I copy a file from a folder during the installation of applications using RunOnceEx.cmd.

What I am doing is I am installing a game and I need to replace the original game .exe that executes the game with the new NO-CD .exe that I have.

All is done unattended with the RunOnceEx.cmd. I just need the switch to enter to copy and replace the existing .exe.

Thanks.


Posted

RunOnceEX is slightly different. Here's an example:

REG ADD %KEY%\050 /VE /D "Winamp 5.03a

REG ADD %KEY%\050 /V 01 /D "%systemdrive%\Install\Winamp\winamp.js

REG ADD %KEY%\050 /V 02 /D "cmd.exe /c copy /Q %systemdrive%\Install\Winamp\Winamp.ini \"%systemdrive%\Program Files\Winamp\""

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