Jump to content

Install from Cdrom


Recommended Posts

HI, i got the application switches figured and and if i make a folder on my c: drive i can get the batch files to work find and install the programs, but the only problem is i'm going to be installing these same programs on multiple comptuers and it'll be a pain to copy the folder from the cd to the hd on every computer i wanna put the cd in and have be able to run any batch file and have it install from the cd-rom (and i can't assign 1 specific drive letter since every computer will be different)

i tried %cdrom%\path but that came back (windows could not find path)

Link to comment
Share on other sites


Do you really need the cd drive letter? If the programs are running from cd you should be able to refer to the drive as simply "\" , with the current drive implied?

Link to comment
Share on other sites

I mean when executing a program from command line or batch and the program you are installing is on the same drive you don't need the drive letter, just the path from root, so if you have a program named myapp.exe in a folder named install, you just need the command "\install\myapp.exe <switches>

you dont need the drive letter, it is implied to be the current drive, whatever it is.

Link to comment
Share on other sites

Hi,

I saw something like this one day,

Maybe he could try things like : %cdromdrive%\Install\Applications\

I don't know if this work and it depends of the numbers of drive there is.

CD must be in the primary CD Drive.

I hope it could work, because I am interested in your solution.

GG

Link to comment
Share on other sites

Hi,

I just have read this in an other thread ...

"maybe consider adding %CDROM% support. All that you'd need in the GUI is a checkbox, and then when writing the script just write the FOR loop just after the TITLE line."

Or this to check in all the CD player (I think)...

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:\CD.txt SET CDROM=%%i:

Link to comment
Share on other sites

I made a one DVD(8.5G DVD+R DL) with three licence keys of XP and 45 apps that can be use for my three different PCs. It took about 4 months for me to make it. I had no idea to make it at that time.

If you want to have one DVD for two or more PCs.

Direct install from DVD

http://www.msfn.org/board/index.php?showto...&hl=cleanup.cmd

in case of os

http://flyakite.msfnhosting.com/

in case of apps, use wpi

http://members.aon.at/equinox/wpi/frameLeft.htm

Then, merge them as one installer.

Link to comment
Share on other sites

Lo guys, I Currently use a CD-R for Installs on new PC's at my work place, as we install a range of tools to protect the noobs on PC's.

The way mine works, if i can remember as i dont have it with me is:

Start /wait %cd%"Folder Name"/"Application Name.extension" /switches.

Notice the difference:

1. CD, Not CDROM So, %cd%

2. No / after %cd%

the " are used for gaps between folder/App names.

Hope this helps.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...