April 11, 200620 yr 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?
April 12, 200620 yr 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, 200620 yr by gunsmokingman
April 12, 200620 yr 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.
April 12, 200620 yr Author Thanks GunsmokingmanIt was a typo ( .txt) is the correct extension, what would habe happenned with the winrar.exe after the SET PP ?
April 12, 200620 yr 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.
Create an account or sign in to comment