Jump to content

Recommended Posts

Posted

Hi all

i 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 plz

thx


Posted

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 File

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

Second:

You must make text file named “CD.txt” and put it in your DVD root

Third:

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.exe

I hope I was helpful :)

Posted

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

Posted
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

If you read his post, he clearly stated

i 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.

Posted

@ Mr Neo

thx for ur reply but i already knew that i use it all the time for the runonceex from cmd files.

@ Alanoll

Thank u very much for ur help

Strange i did miss this i've tried all the Dirid variables with no luck b4

It works now :)

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...