IPB

Google Frontpage Forums Unattended CD/DVD Guide

> 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

 
Reply to this topicStart new topic
> Confusion with Runonceex
jid
post Aug 1 2008, 07:06 AM
Post #1


Newbie


Group: Members
Posts: 24
Joined: 1-August 08
Member No.: 203440
OS: XP Home
Country Flag


Hi Folks

Again im following the guide from here and im now on the intermediate section (yeh me for getting this far....)

http://unattended.msfn.org/unattended.xp/view/web/32/

Anyway im trying to create the files for a few applications i have using both methods....but im getting myself in a right spin

If i give a list of a few programs could someone (Via Msn / Yahoo / Email or whatever means) please help me get them sorted please.

Im a bit niave when it comes to this but i thought it would be a case of selecting what progs i wanted to be installed at startup....how wrong was i..

Hope i havent broke any rules by asking this...

Hopefully speak soon

Jid
Go to the top of the page
 
+Quote Post
elajua
post Aug 1 2008, 04:17 PM
Post #2


Custom Installer Maker
******

Group: Members
Posts: 1063
Joined: 16-April 05
From: The chair in front of Cleopetra
Member No.: 52266
OS: Vista Ultimate x86
Country Flag


The most common method is RunOnceEx.

Please make a search on this forum and you will find plenty of questions/answers and examples of other users files. This way you can speed-start making your own and begin testing your installation.
Go to the top of the page
 
+Quote Post
jid
post Aug 3 2008, 09:36 AM
Post #3


Newbie


Group: Members
Posts: 24
Joined: 1-August 08
Member No.: 203440
OS: XP Home
Country Flag


thanks elajua

thats where im getting confused the most. My new cd directory at the moment is located here "c:\xpcd"

I want to add my nokia pc suite and i have the installation file on my pc under c:\progs

i selected the file in runonceex and it puts it in the menu for me....but surly the installation file needs to be stored somewhere under the xcpd directory

can someone please explain where im going wrong

thanks
Go to the top of the page
 
+Quote Post
Martin H
post Aug 3 2008, 09:41 PM
Post #4


Senior Member
****

Group: Members
Posts: 518
Joined: 24-November 06
Member No.: 116438
OS: 2000
Country Flag


QUOTE (jid @ Aug 3 2008, 05:36 PM) *
can someone please explain where im going wrong

From the guide for which you've stated to have read :

"We will be using the $OEM$ distribution folders to install our favorite software, drivers, and registry tweaks"

"The Install folder specified at C:\XPCD\$OEM$\$1\Install\ is copied over to the systemdrive, so it turns out to be C:\install\ - More information on this can be found at the $OEM$ Distribution folders page."
Go to the top of the page
 
+Quote Post
jid
post Aug 4 2008, 03:27 AM
Post #5


Newbie


Group: Members
Posts: 24
Joined: 1-August 08
Member No.: 203440
OS: XP Home
Country Flag


Thanks Martin

You ever get that feeling you cant see the woods for the trees....after re-reading it makes perfect sense

im interested in this part though

You might ask, "why not run application installations from the CD itself?" This is because CD-ROM drive letters are bound to be
different on every PC, which shows why there's no permanent "%CDROM%" environment variable......(although its been discussed often in the forums so it should turn up in asearch)


Can someone advise if this is worth doing and / or point me in the direction of this please....im thinking i would rather install the apps / drivers etc from the cd rather then copy them over to my pc

Thanks again everybody
Go to the top of the page
 
+Quote Post
Acheron
post Aug 5 2008, 10:48 AM
Post #6


MSFN Expert
******

Group: Members
Posts: 1148
Joined: 28-June 04
From: Eerbeek
Member No.: 23554
OS: XP Home
Country Flag


The unattended guide is outdated.
Go to the top of the page
 
+Quote Post
elajua
post Aug 6 2008, 08:43 AM
Post #7


Custom Installer Maker
******

Group: Members
Posts: 1063
Joined: 16-April 05
From: The chair in front of Cleopetra
Member No.: 52266
OS: Vista Ultimate x86
Country Flag


You can use a RunOnceEx like this to make the install from the CD/DVD:

CODE
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\AppsRoot.txt SET DVD=%%i:

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

REG ADD %KEY% /V TITLE /D "Instalando Aplicaciones" /f

REG ADD %KEY%\001 /VE /D "Microsoft .NET Framework 3.5" /f
REG ADD %KEY%\001 /V 1 /D "%DVD%\Install\netfx35\dotNetFx35setup /qb /norestart" /f

You just have to make an empty text file in the CD/DVD root called AppsRoot.txt or whatever name you like.
In this example, the applications are located in the folder Install, which is the root of the CD/DVD.

This post has been edited by elajua: Aug 9 2008, 01:26 AM
Go to the top of the page
 
+Quote Post
Martin H
post Aug 6 2008, 07:48 PM
Post #8


Senior Member
****

Group: Members
Posts: 518
Joined: 24-November 06
Member No.: 116438
OS: 2000
Country Flag


QUOTE (jid @ Aug 4 2008, 11:27 AM) *
Can someone advise if this is worth doing and / or point me in the direction of this please....

I would personally recommend it, as it's the more effecient way of doing it...

Here's some tips to how i myself do it...

I place all my apps into '$OEM$\RunOnceEx\'(so as to not clutter the root of the disc with another folder) and then just use '%~dpn0\' in '$OEM$\RunOnceEx.cmd' as the install-path for your apps(as there's no reason to assign environment-variables that's longer than the assigned value, like using '%cdrom%' instead of '%~d0').

Finally, then there's no need for adding 'setlocal enableextensions' or 'endlocal', and also no reason for adding '@echo off' after 'cmdow @ /hid', but instead just use '@cmdow @ /hid'

As for the drivers, then i recommend placing them into '$OEM$\Drivers\' and then following a06lp's guide which is linked in my signature...



Go to the top of the page
 
+Quote Post
jid
post Aug 7 2008, 04:21 AM
Post #9


Newbie


Group: Members
Posts: 24
Joined: 1-August 08
Member No.: 203440
OS: XP Home
Country Flag


thanks elajua and Martin H

after looking throught the forums alot and the guide again....i have actually gone along the [guirunonce] route as i have managed to find 90% of the apps i want to install along with the codes....

i just need to find how to get them to install from the cd now as im sure they will be copied over...

thanks again for your help though...much appreciated
Go to the top of the page
 
+Quote Post
elajua
post Aug 9 2008, 01:26 AM
Post #10


Custom Installer Maker
******

Group: Members
Posts: 1063
Joined: 16-April 05
From: The chair in front of Cleopetra
Member No.: 52266
OS: Vista Ultimate x86
Country Flag


QUOTE (jid @ Aug 7 2008, 05:21 AM) *
i just need to find how to get them to install from the cd now as im sure they will be copied over...
Look my post above, that example is for installing apps from CD/DVD. If you choose this way, you can shortne the time needed to install them because in OEM folders they have to be copied to the hard disk first. So, if you use a lot of apps, this process can take very long.

Also, if you want to hide the command windows, make a search in this forums for cmdow.
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 8th January 2009 - 12:36 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy