Jump to content

can i use d:\ in wpi


Recommended Posts


If you mean your D:\ drive is your CDROM then yes it can be done.

This is my RunOnceEx.cmd

cmdow @ /HID
@echo off

FOR %%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=%%d

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f
REG ADD %KEY%\001 /V 1 /D "D:\install\wpi\WPI.hta" /f

EXIT

WPI is on the drive in D:\Install\wpi\

Link to comment
Share on other sites

it has to go on the lines of this, you need the complete file name plus any switches to install silent

prog[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

hi

When i run it i get a invalid drive error

prog[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']

Regards

Smartie91

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