troycicle Posted September 4, 2004 Share Posted September 4, 2004 How do I add a file to a folder(A), delete a file(Z), then add my custom file(Z)? Link to comment Share on other sites More sharing options...
gabriel_buc Posted September 4, 2004 Share Posted September 4, 2004 Could you be more specific ?? Link to comment Share on other sites More sharing options...
mazin Posted September 4, 2004 Share Posted September 4, 2004 This can be done via cmd(Z)! Link to comment Share on other sites More sharing options...
troycicle Posted September 4, 2004 Author Share Posted September 4, 2004 When I install an application, you have an .exe file. I want to delete that one, and add my own. Then I want to add a custome file into the folder with the .exe file. Link to comment Share on other sites More sharing options...
troycicle Posted September 6, 2004 Author Share Posted September 6, 2004 I got it all figured out. If anyone wants to know how I did it, just ask. Link to comment Share on other sites More sharing options...
scorpy Posted September 6, 2004 Share Posted September 6, 2004 I would be curious Troy. I am trying to install an app, than copy over the updated files into the folder. But the files HAVE to be copied post-install. It will install into Program Files. Should I put the update files in a OEM folder and move them? I was thinking desktop and then move them. I dont know when the OEM gets copied over, so I want to be sure it happens after install. And btw, I am using RunOnceEx method. Thanks! Link to comment Share on other sites More sharing options...
mazin Posted September 7, 2004 Share Posted September 7, 2004 $OEM$ folders are copied to your PC before RunOnceEX runs.So, you'd better create SFXs (or use COPY command) that run via your RunOnceEX. And you put those SFXs in a later phase after original programs are installed. Link to comment Share on other sites More sharing options...
maxXPsoft Posted September 7, 2004 Share Posted September 7, 2004 So in fact it would be like this[Jump2reg]REG ADD %KEY%\iAdd /VE /D "Installing Jump2reg" /fREG ADD %KEY%\iAdd /V Inum /D "%systemdrive%\Install\Jump2reg\Jump2reg.msi /qn" /fFLAG2=%ProgramFiles%\Jump2reg\Jump2Reg.J2RMy Jump2Reg.J2R actually get's copied during runoncEX setup and then RunoncEXREM Jump2regREG ADD %KEY%\1005 /VE /D "Installing Jump2reg" /fREG ADD %KEY%\1005 /V 1 /D "%systemdrive%\Install\Jump2reg\Jump2reg.msi /qn" /fREG ADD %KEY%\1005 /V 2 /D "CMD /C COPY \"%systemdrive%\Install\Jump2reg\Jump2Reg.J2R\" \"%ProgramFiles%\Jump2reg\" /Y"is copied to =%ProgramFiles%\Jump2reg during runoncEX execution after program is installed..The /Y will copy it over existing or if you need a DEL then just do it... Link to comment Share on other sites More sharing options...
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