smartie91 Posted November 11, 2004 Share Posted November 11, 2004 HiI want to run WPI from my D:\drive in stead of copying my install folder to c:\cant I use d:\if so howRegardsSmartie91 Link to comment Share on other sites More sharing options...
BritishBulldog Posted November 11, 2004 Share Posted November 11, 2004 If you mean your D:\ drive is your CDROM then yes it can be done.This is my RunOnceEx.cmdcmdow @ /HID@echo offFOR %%d 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 %%d\CD.TXT SET CDROM=%%dSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "D:\install\wpi\WPI.hta" /fEXITWPI is on the drive in D:\Install\wpi\ Link to comment Share on other sites More sharing options...
smartie91 Posted November 11, 2004 Author Share Posted November 11, 2004 HiMy d:\drive is not my cd-rom it is a second hard driveregardsSmartie91 Link to comment Share on other sites More sharing options...
BritishBulldog Posted November 11, 2004 Share Posted November 11, 2004 yes you still can just call it up from where it isjust like above good on the edit button Link to comment Share on other sites More sharing options...
smartie91 Posted November 11, 2004 Author Share Posted November 11, 2004 Hi This is a small copy of my config this dont workprog[2]=['Adobe Reader 6']desc[2]=['']regb[2]=['','']cmd1[2]=['d','install\\AdobeReader6\\acroread602']cmd2[2]=['','']cmd3[2]=['','']rega[2]=['','']dflt[2]=['no']forc[2]=['false'] Link to comment Share on other sites More sharing options...
BritishBulldog Posted November 11, 2004 Share Posted November 11, 2004 it has to go on the lines of this, you need the complete file name plus any switches to install silentprog[pn]=['Adobe Reader 6.0.1']desc[pn]=['Allows to view PDF-Files.<i>Recommended</i>']cmd1[pn]=['d:\\Install\\AbodeReader6\\acroread602.exe']dflt[pn]=['yes'] cat[pn]=['Office']ordr[pn]=[230]pn++ Link to comment Share on other sites More sharing options...
smartie91 Posted November 11, 2004 Author Share Posted November 11, 2004 hiWhen i run it i get a invalid drive errorprog[2]=['Adobe Reader 6']desc[2]=['Allows to view PDF-Files']regb[2]=['','']cmd1[2]=['d:\\install\\AdobeReader6\\acroread602.exe']cmd2[2]=['','']cmd3[2]=['','']rega[2]=['','']dflt[2]=['yes']forc[2]=['false']RegardsSmartie91 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