MSFN Forum: Install applications from DVD (dont copy install f - MSFN Forum

Jump to content



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

Install applications from DVD (dont copy install f Rate Topic: -----

#1 User is offline   BoardBabe 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,419
  • Joined: 04-October 04

Posted 05 October 2004 - 05:00 AM

I believe i saw this on the forum, but couldnt find it on a search :blink:

To reduce the time of "copying installation files" before windows starts installing, is it possible to have applications like photohsop, illustrator and office install directly from DVD and not from HDD?

Im using RunOnceEx.cmd now with all applications in $OEM$\$1\Install\Applications\ now. Takes quite a while copying all them files to HDD...


#2 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 05 October 2004 - 05:21 AM

Yes you can.
Have your runonceex entries point to the dvd instead.
cmdow @ /HID
@ECHO OFF

IF EXIST D:\WIN51 set CDROM=D:
IF EXIST E:\WIN51 set CDROM=E:
IF EXIST F:\WIN51 set CDROM=F:
IF EXIST G:\WIN51 set CDROM=G:
IF EXIST H:\WIN51 set CDROM=H:
IF EXIST I:\WIN51 set CDROM=I:
IF EXIST J:\WIN51 set CDROM=J:

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

REG ADD %KEY% /V TITLE /D "Install Applications" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\prepare.cmd" /f

REG ADD %KEY%\002 /VE /D "Another program here" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM%\Software\program.exe" /f

edited code mistake

#3 User is offline   BoardBabe 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,419
  • Joined: 04-October 04

Posted 05 October 2004 - 05:54 AM

Excelent, just what I was looking for! :D

#4 User is offline   BoardBabe 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,419
  • Joined: 04-October 04

Posted 05 October 2004 - 06:09 AM

I just gotta ask, whats really the point copying anything to HDD first (drivers apps cmds) ?

isnt it better to just run it from the DVD

#5 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 05 October 2004 - 06:16 AM

;) That's what i do. Copy to HDD is not really required. Is good to copy stuff to sys dir and docs and settings etc.

#6 User is offline   BoardBabe 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,419
  • Joined: 04-October 04

Posted 05 October 2004 - 06:20 AM

:thumbup

This will save alot of time during install i think :D

#7 User is offline   Weed 

  • U got brainwashed from everyone!! but too bad, u dont kn
  • PipPipPip
  • Group: Members
  • Posts: 367
  • Joined: 07-November 03
  • OS:none specified
  • Country: Country Flag

Posted 05 October 2004 - 01:13 PM

good that one wrote this thread :)
i wanna install my apps too from dvd but have problems with my .inf file
iam using a multiboot dvd with this folder structure:

WinXPPRO\I386
Win2KPro\I386
VOL1
VOL2
PRO1
....

i wanna have my Apps Folder on the Root Folder on my DVD
i dont know what i should change on this inf so i can use the apps folder too 4 Win2K
1 = %cdname%,%cdtagfile%,,\Applications <--- = WinXPPRO\Applications but the Folder should be on Root on my DVD

runonceex.inf:
[SourceDisksNames.X86]
1 = %cdname%,%cdtagfile%,,\Applications

[XP.Preinstall]
HKLM,"%RunOnceEx%\install34",,,"Free Download Manager 1.0"
HKLM,"%RunOnceEx%\install34",1,,"MSIEXEC.EXE /QB /I %1%\Applications\FreeDownloadManager\fdminst.exe /silent"
[Strings]

cdname = "Windows XP Professional CD-ROM"
productname = "Windows XP Professional"
cdtagfile = "\win51ip.SP2"


btw.: i dont wanna use a Batchfile 4 recognize the folder..all should be on this inf file :)

#8 User is offline   Theimon 

  • Newbie
  • Group: Members
  • Posts: 22
  • Joined: 02-October 04

Posted 07 October 2004 - 06:16 AM

MHz, on Oct 5 2004, 05:21 AM, said:

Yes you can.
Have your runonceex entries point to the dvd instead.
cmdow @ /HID
@ECHO OFF

IF EXIST D:\WIN51 set CDROM=D:
IF EXIST E:\WIN51 set CDROM=E:
IF EXIST F:\WIN51 set CDROM=F:
IF EXIST G:\WIN51 set CDROM=G:
IF EXIST H:\WIN51 set CDROM=H:
IF EXIST I:\WIN51 set CDROM=I:
IF EXIST J:\WIN51 set CDROM=J:

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

REG ADD %KEY% /V TITLE /D "Install Applications" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\prepare.cmd" /f

REG ADD %KEY%\002 /VE /D "Another program here" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM%\Software\program.exe" /f

edited code mistake

I'm using start.cmd instead of runonceex. Is it possible to use this command in some way in the start.cmd file? 'Cause, when testing in VMware, he started copying all the files first, instead of installing from DVD.

#9 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 08 October 2004 - 02:06 AM

Quote

I'm using start.cmd instead of runonceex. Is it possible to use this command in some way in the start.cmd file? 'Cause, when testing in VMware, he started copying all the files first, instead of installing from DVD.

You can find enough info in the Unattended CD Guide on this site to do a runonceex setup.
If you are using the guirunonce method. It is not so painful to convert to runonceex method. I would advise it, since you are doing a dvd.
You just need cmdlines.txt to run your batch file, witch inserts entries into the registry, so the registry will execute your software installs at the end of setup. One of the 1st entries can be something like your start.cmd, with will remove the wallpapers etc. that you do not want on the hardrive. Then software will be installed from the dvd.

:rolleyes:

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