MSFN Forum: RunOnceEx.cmd Creator - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

RunOnceEx.cmd Creator I cant get it to work Rate Topic: -----

#1 User is offline   frederikshavn 

  • Group: Members
  • Posts: 9
  • Joined: 27-November 05

Posted 22 January 2007 - 05:01 AM

Hey
I got a big problem,i want to mske a xp disk with all the programs i use to use,so the programs is installed with xp,i use RunOnceEx.cmd Creator,but i cant get it to work,it get a error message,some thing like this:windows can not find c:program name,i have a$OEM$ folder,and inside i have a folder called$$ and inside that there is a folder called $install,can any one help me so i can get it to work PLEASE,sorry for my english.i'm from Denmark


#2 User is offline   Bolus123 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 13-December 06

Posted 24 January 2007 - 08:12 AM

Hi,

Use this in your runonceex.cmd:

@Echo Off

IF EXIST D:\CD.txt set CDROM=D:
IF EXIST E:\CD.txt set CDROM=E:
IF EXIST F:\CD.txt set CDROM=F:
IF EXIST G:\CD.txt set CDROM=G:
IF EXIST H:\CD.txt set CDROM=H:
IF EXIST I:\CD.txt set CDROM=I:
IF EXIST J:\CD.txt set CDROM=J:

SET PP=%cdrom%\Apps\

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

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


REG ADD %KEY%/005 /VE /D "Winrar 3.30" /f
REG ADD %KEY%/005 /V 1 /D "%PP%winrar\Winrar330.exe /s" /f

REG ADD %KEY%/010 /VE /D "NOD32" /f
REG ADD %KEY%/010 /V 1 /D "%PP%NOD32\setup.exe /silentmode /f


I included 2 examples of programs, just look up the silent switches in the guide. Make sure you have a CD.txt file on your cd (just an empty file). And make a directory on the root of your disk called "Apps" and put there all the applications, or change the code above.

Good Luck!

This post has been edited by Bolus123: 24 January 2007 - 08:24 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy