goingcrazy Posted April 11, 2006 Share Posted April 11, 2006 This is what I have so far for cmd"[COMMANDS]"RunOnceEx.cmd"I did that in Notepad and saved as cmdlines.textIs that all I need there or do I need to add info for the apps I plan I installing? what folder this goes into?2nd question This is what I put together so far for the Runoncexcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExSET PP=%systemdrive%\install\winrar.exeREG ADD %KEY% /V TITLE /D "Installation" /fREG ADD %KEY%\000 /VE /D "winrar" /fREG ADD %KEY%\000 /V 1 /D "%systemdrive%\install\winrar.exe /s" /fI saved that on the desk top for now as WinrarAm I on the right track here ? do I just keep adding diferent apps right here?and for the ones needing a product key do I also place that also here? and this file goes into the $OEM$ folder? this file is named RunOnceEx.cmd the actual applications go into the apps folder correct? Link to comment Share on other sites More sharing options...
gunsmokingman Posted April 12, 2006 Share Posted April 12, 2006 (edited) Try this I added another made up entry to it for you, your cmdlines.txt looks correct.You can add a second app to that entry or remove it before trying it.cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExSET PP=%systemdrive%\installREG ADD %KEY% /V TITLE /D "Installation" /fREG ADD %KEY%\005 /VE /D "winrar" /fREG ADD %KEY%\005 /V 1 /D "%PP%\winrar.exe /s" /fREG ADD %KEY%\010 /VE /D "More Stuff" /fREG ADD %KEY%\010 /V 1 /D "%PP%\MORE_STUFF_FOLDER\MORE_STUFF.exe /s" /f Edited April 12, 2006 by gunsmokingman Link to comment Share on other sites More sharing options...
VCC Posted April 12, 2006 Share Posted April 12, 2006 Hello?!? Was that a typo here in the thread or did you actually name the file with a .text for an extension? Because there would be where your problem is for starters. It needs to be .txt not .textThen, you'll want to also use the cleaned up version from gunsmokingman because your SET PP line shouldn't include the winrar.exe at the end for one. And you use the %PP% as illistated in his example as well. All in all, Read The Manual carefully. Paying close attention to details. Link to comment Share on other sites More sharing options...
goingcrazy Posted April 12, 2006 Author Share Posted April 12, 2006 Thanks GunsmokingmanIt was a typo ( .txt) is the correct extension, what would habe happenned with the winrar.exe after the SET PP ? Link to comment Share on other sites More sharing options...
Djé Posted April 12, 2006 Share Posted April 12, 2006 As for installing apps and using RunOnceEx, you may find that thread useful.Be sure to read the full posts as they are a very detailled tutorial about doing this for the first time.Just skim through if you feel comfortable with all what is explained.Good luck and may the msfn be with you. 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