wollyka Posted July 20, 2004 Posted July 20, 2004 Hi alli need some help i want to use the runonceex method from inf files.i have followed the guide @ gosh site and it run just fine.But i want to install my apps from my dvd directly without copying them first to the HDD but i don't know how to refer to the cdrom drive using inf files!Any help plzthx
Mr. Neo Posted July 21, 2004 Posted July 21, 2004 I have another way but not using INF file actually I am using it to install all my apps .......First:Put this line in the beginning of you RunOnceEx Filefor %%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=%%iSecond:You must make text file named “CD.txt” and put it in your DVD rootThird:Replace the CD ROM drive Litter With “%CDROM%” in all paths that refer to your DVD don’t forget the percentage marks Ex. %CDROM%\SW\ICQ.exeI hope I was helpful
Mr. Neo Posted July 21, 2004 Posted July 21, 2004 Sorry neo_3333 I forget to say that this way doesn’t works through INF files but it works for what he wants Install apps from CD or DVD without copying them to HDD
Alanoll Posted July 21, 2004 Posted July 21, 2004 Sorry neo_3333 I forget to say that this way doesn’t works through INF files but it works for what he wants Install apps from CD or DVD without copying them to HDDIf you read his post, he clearly statedi need some help i want to use the runonceex method from inf files.When you call your INF from CMDLINES.TXT, use %1% in your INF for the drive path.say...[COMMANDS]"..\Unattend\RunOnceEX.inf"is your CMDLINES.TXT file, %1% would be %CDROM%\Unattend. %1% is the path to where the INF resides.
wollyka Posted July 21, 2004 Author Posted July 21, 2004 @ Mr Neothx for ur reply but i already knew that i use it all the time for the runonceex from cmd files.@ AlanollThank u very much for ur help Strange i did miss this i've tried all the Dirid variables with no luck b4It works now
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