Jump to content

Probolems edit config.js in WPI


Recommended Posts

Hi guys ,

first i must say that i dont know nothing about programing ... so if my mistakes are that bad then i'll just quit and continue with making simple unattended cd .

I downloaded wpi and i edited the config.js ... but for some reason when im opening the Boxes.html file after i edit config.js , i do not see any checkboxes , infact i dont see anything beside blue page .... here are my line ...i would be very thanksfull if you guys take a look ..

My config.js :

//Application Opptions:

// Each application has nine parameters. These are:

var prog=[] // Program Name

var desc=[] // A description

var cmd1=[] // drive + Command Line 1

var cmd2=[] // drive + Command Line 2

var cmd3=[] // drive + Command Line 3

var regb=[] // b=befor installing the application

var rega=[] // a=after installing the application

var dflt=[] // Whether it's a default option. If it's not yes, then it will assume no

var forc=[] // Force installation of application even if not Checked

// drive = 'systemdrive' or 'cdrom' or 'programfiles' or 'windir' or ''

//Other opptios

//Timer:

var timer // turn the timer on or off

var i // set the timer interval in sec max 3600

//Loading with boxs are checked:

var load_checks // loading with ('default' or 'all' or 'none') of the boxs checked

//Really Force Opption

var ReallyForce // Set Force install of applications even if exit button is pressed.

var discPath // cdrom will return "drive letter of cdrom"(x:\) or "x:\i386\

// use 'root' if installing applications directly from CD/DVD while

// applications is placed in a folder at the root of the disc.

//Your Settings:

timer='on' //('on'or'off')

i= 60 //(0====>3600)

load_checks='all' //('default' or 'all' or 'none')

ReallyForce= 'no'; // ('yes' | 'no')

discPath=''; // ('' or 'root')

prog[0]=['ProgramName']

desc[0]=['Description']

regb[0]=['Drive','Registry Key Path']

cmd1[0]=['Drive','CommandLine 1']

cmd2[0]=['Drive','CommandLine 2']

cmd3[0]=['Drive','CommandLine 3']

rega[0]=['Drive','Registry Key Path']

dflt[0]=['no']

forc[0]=['false']

prog[1]=['HEBREW INTERFACE']

desc[1]=['']

regb[1]=['','']

cmd1[1]=['systemdrive','install\\Applications\muiinst\muisetup.exe /i 040d /d 040d /r /s']

cmd2[1]=['','']

cmd3[1]=['','']

rega[1]=['','']

dflt[1]=['no']

forc[1]=['false']

prog[2]=['Adobe Reader 6']

desc[2]=['']

regb[2]=['','']

cmd1[2]=['systemdrive','install\\Applications\AR6\AR6.msi /QB']

cmd2[2]=['','']

cmd3[2]=['','']

rega[2]=['','']

dflt[2]=['no']

forc[2]=['false']

prog[3]=['Sun Java 1_4_2_5']

desc[3]=['']

regb[3]=['','']

cmd1[3]=['systemdrive','install\\Applications\java\j2re-1_4_2_05-windows-i586-p.exe /s /v/qn']

cmd2[3]=['','']

cmd3[3]=['','']

rega[3]=['','']

dflt[3]=['no']

forc[3]=['false']

prog[4]=['MSN Messenger 6.2']

desc[4]=['']

regb[4]=['','']

cmd1[4]=['systemdrive%','install\\Applications\MSN\MsnMsgs.msi /QB']

cmd2[4]=['','']

cmd3[4]=['','']

rega[4]=['','']

dflt[4]=['yes']

forc[4]=['true']

prog[5]=['Nero Burning ROM v6.3.0.2']

desc[5]=['']

regb[5]=['','']

cmd1[5]=['systemdrive','install\\Applications\Nero\Nero63110.exe /silent /noreboot']

cmd2[5]=['','']

cmd3[5]=['','']

rega[5]=['','']

dflt[5]=['no']

forc[5]=['false']

prog[6]=['WinRAR 3.20']

desc[6]=['']

regb[6]=['','']

cmd1[6]=['systemdrive','install\\Applications\WinRAR\wrar320.exe /s']

cmd2[6]=['','']

cmd3[6]=['','']

rega[6]=['','']

dflt[6]=['yes']

forc[6]=['true']

prog[7]=['Google Search bar']

desc[7]=['']

regb[7]=['','']

cmd1[7]=['systemdrive','install\\Applications\google\GoogleToolbarInstaller.exe /q /d Extraction needed: No']

cmd2[7]=['','']

cmd3[7]=['','']

rega[7]=['','']

dflt[7]=['no']

forc[7]=['false']

prog[8]=['Nero Burning ROM v6']

desc[8]=['']

regb[8]=['cdrom','Software\\Nero\\register.reg']

cmd1[8]=['','']

cmd2[8]=['cdrom','Software\\Nero\\Setup.exe /silent /noreboot']

cmd3[8]=['','']

rega[8]=['','']

dflt[8]=['no']

forc[8]=['false']

prog[9]=['WinRAR 3.30']

desc[9]=['']

regb[9]=['','']

cmd1[9]=['cdrom','Software\\Winrar3\\setup.exe /s']

cmd2[9]=['','']

cmd3[9]=['','']

rega[9]=['','']

dflt[9]=['yes']

forc[9]=['true']

prog[10]=['Tight VNC 1.2.9']

desc[10]=['']

regb[10]=['','']

cmd1[10]=['systemdrive','install\\applications\VNC\tightvnc.exe /silent']

cmd2[10]=['','']

cmd3[10]=['','']

rega[10]=['','']

dflt[10]=['yes']

forc[10]=['true']

prog[11]=['WinIso']

desc[11]=['']

regb[11]=['','']

cmd1[11]=['systemdrive','install\\Applications\WinISO\WinISO.exe /VERYSILENT /SP-']

cmd2[11]=['','']

cmd3[11]=['','']

rega[11]=['','']

dflt[11]=['yes']

forc[11]=['true']

prog[12]=['Xvid']

desc[12]=['']

regb[12]=['','']

cmd1[12]=['systemdrive','install\\Applications\xvid\XviD-1.0.2-29082004.exe /VERYSILENT /SP-']

cmd2[12]=['','']

cmd3[12]=['','']

rega[12]=['','']

dflt[12]=['no']

forc[12]=['false']

prog[13]=['AdAware SE']

desc[13]=['']

regb[13]=['','']

cmd1[13]=['systemdrive','install\\Applications\adaware\aawsepersonal.exe /S']

cmd2[13]=['systemdrive','Install\\taskill.bat']

cmd3[13]=['','']

rega[13]=['','']

dflt[13]=['no']

forc[13]=['false']

/*

var FiltersEnabled = 0 // if your not going to use transitions or filters in any of the tips set this to 0

Text[0]=["Whoops!","This should be replaced with a working tooltip. If you are not Becky or Derek, then call them and tell them about it."]

Text[1]=["Begin Installation","Initiates the script generator<br /><br />Click this to begin generating the install script."]

Text[2]=["Exit Button","Closes this application<br /><br />If you want to stick to the application defaults, press this. Minimal updates and applications will be installed. This includes Windows XP security updates."]

Text[3]=["Help","Displays basic usage, version information, and disclaimer."]

Text[4]=["Select Defaults","This option will enable the default recommended options.<br /><br />Click if you only wish to install basic recommended options."]

Text[5]=["Select All","Click this will select all available options."]

Text[6]=["Return","Clicking this will return you to the option selection screen."]

Text[7]=["Check Box Test","By clicking this, you will enable the test check box.<br /><br />Enable to if you intend to fly off a donkey cart."]

Text[8]=["Select None","Click this will deselect all available options."]

Style[0]=["black","black","#FFb200","#FFD980","","","","","","","","","","",200,"",2,2,10,10,51,1,0,"",""]

//Style[...]=[TitleColor,TextColor,TitleBgColor,TextBgColor,TitleBgImag,TextBgImag,TitleTextAlign,Text

TextAlign, TitleFontFace, TextFontFace, TipPosition, StickyStyle, TitleFontSize, TextFontSize, Width, Height, BorderSize, PadTextArea, CoordinateX , CoordinateY, TransitionNumber, TransitionDuration, TransparencyLevel ,ShadowType, ShadowColor]

Link to comment
Share on other sites


What version is that?

you have no pn++ at the end of your programmes

plus if there are any mistakes then the whole thing wont work.

The bits you dont need just leave out

try this in your programme part

prog[pn]=['HEBREW INTERFACE']
desc[pn]=[‘Installs Hebrew Language Interface']
cmd1[pn]=['%systemdrive%\\install\\Applications\\muiinst\\muisetup.exe /i 040d /d 040d /r /s']
dflt[pn]=['no']
cat[pn]=['System']
ordr[pn]=[100]
pn++
 
prog[pn]=['Abode Reader 6']
desc[pn]=['Installs the Acrobat Reader Version 6>']
cmd1[pn]=['%systemdrive%\\Install\\Applications\\AR6\\AR6.msi /QB'"']
dflt[pn]=['no']
cat[pn]=[‘Programmes']
ordr[pn]=[110]
pn++

prog[pn]=['Sun Jave 1.4.2.5']  
desc[pn]=['Installs the Sun Java version 1.4.2.5']
cmd1[pn]=['%cdrom%\\Install\\ Applications\java\j2re-1_4_2_05-windows-i586-p.exe /s /v/qn']
dflt[pn]=['no']
cat[pn]=['Drivers']
ordr[pn]=[120]
pn++

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