mike2146 Posted May 4, 2005 Share Posted May 4, 2005 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 More sharing options...
dman Posted May 4, 2005 Share Posted May 4, 2005 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 More sharing options...
mike2146 Posted May 4, 2005 Author Share Posted May 4, 2005 what do you mean by implified, i tried just doing \ and got the same thing Link to comment Share on other sites More sharing options...
dman Posted May 4, 2005 Share Posted May 4, 2005 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 More sharing options...
ggfinder Posted May 4, 2005 Share Posted May 4, 2005 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 More sharing options...
ggfinder Posted May 4, 2005 Share Posted May 4, 2005 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 More sharing options...
diesel_98a Posted May 4, 2005 Share Posted May 4, 2005 i think what dman is talking about was the "Applications that use Quotations" from the Unattended Guidebut i see the gfinder answered the initial question......... Link to comment Share on other sites More sharing options...
Tinywoods Posted May 5, 2005 Share Posted May 5, 2005 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 DVDhttp://www.msfn.org/board/index.php?showto...&hl=cleanup.cmdin case of oshttp://flyakite.msfnhosting.com/in case of apps, use wpihttp://members.aon.at/equinox/wpi/frameLeft.htmThen, merge them as one installer. Link to comment Share on other sites More sharing options...
TheSlacker Posted May 5, 2005 Share Posted May 5, 2005 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 More sharing options...
oioldman Posted May 5, 2005 Share Posted May 5, 2005 try this sitehttp://unattended.msfn.organd you'll find it explains your qquery quite well and may answer other questions as well. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now