Jump to content

Recommended Posts


Posted

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\

Posted

Hi

This is a small copy of my config this dont work

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

Posted

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

Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...