Jump to content

WPI Runtime Errors - Javascript?


Recommended Posts

You can use execute after to execute the reg file alone! Just put the whole path in there like so = regedit /s %wpipath%\install\hklm.reg <-- that way no ugly command windows

As long as the main interface shows and the installer starts with firefox set as your main browser then there shouldn't be any issue.

Do you have the install log? (It should be at the root of your main drive...)

Link to comment
Share on other sites


Thx for log-file advice!!! Turned out those were simple syntax errors.

What libraries does WPI use? VC05, 08 maybe? Can't understand what i had missed, WPI.hta still crashes.

Edited by lsrkin
Link to comment
Share on other sites

WPI doesn't use any libraries. It is pure JavaScript and HTML run via mshta.exe; that is why Internet Explorer can not be removed. It is essentially a "web page" designed to look like a stand-alone program.

Either you have some errors in your config file or you have modified some of the files, or if you used nLite you may have removed something required for IE. Try running it on a clean computer, or a friends, just to see if it works "as is". If it does, you know it is something with your custom Windows config. If it does not work, then more information from you is needed.

Post your config file here so we can take a look at it. Usually something simple.

Or wait until sometime this weekend for 6.5 to be released to see if it cures the problem.

Link to comment
Share on other sites

Thx for an explanation!

I'll try it on clean XP on Vmware.

here's config.js:

//---------------------------------------------------------------------------------------------
// Reference ... prog[0] won't be used. It's just an example.
// Look in program.js to see explanation of these properties.
//---------------------------------------------------------------------------------------------
// pn=0; // start value for prog numbering
// prog[pn]=['ProgramName'];
// ordr[pn]=[0];
// desc[pn]=['Description'];
// uid[pn]=['APP1'];
// dflt[pn]=['no'];
// cat[pn]=['Application Category'];
// forc[pn]=['false'];
// configs[pn]=['List of configs to be auto checked. Comma seperated'];
// deps[pn]=[];
// excl[pn]=[];
// cond[pn]=['Javascript Conditional Statement'];
// gcond[pn]=['Javascript Conditional Statement to gray item'];
// regb[pn]=['Registry Key Path'];
// cmd1[pn]=['CommandLine 1'];
// cmd2[pn]=['CommandLine 2'];
// cmd3[pn]=['CommandLine 3'];
// cmd4[pn]=['CommandLine 4'];
// cmd5[pn]=['CommandLine 5'];
// cmd6[pn]=['CommandLine 6'];
// cmd7[pn]=['CommandLine 7'];
// cmd8[pn]=['CommandLine 8'];
// cmd9[pn]=['CommandLine 9'];
// cmd10[pn]=['CommandLine 10'];
// rega[pn]=['Registry Key Path'];
// picf[pn]=['Picture File'];
// picw[pn]=['Width'];
// pich[pn]=['Height'];
// textl[pn]=['Text Location'];
// pn++;

//---------------------------------------------------------------------------------------------
// Your programs here ...
//---------------------------------------------------------------------------------------------
pn=1;
prog[pn]=['Ahead Nero 8.3.2.1 Micro'];
uid[pn]=['AHEADNERO8321MICRO'];
dflt[pn]=['yes'];
cat[pn]=['Office'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\n83_21m_en_ru.exe" /verysilent /norestart /sp- /lang=russian'];
cmd2[pn]=['FILECOPY "%ALLUSERSPROFILE%\\Start Menu\\Programs\\Nero\\Nero Burning ROM.lnk" "%ALLUSERSPROFILE%\\Desktop\\"'];
pn++;

prog[pn]=['Defraggler v1.01.073 BETA'];
uid[pn]=['DEFRAGGLERV101073BETA'];
dflt[pn]=['yes'];
cat[pn]=['System'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\dfsetup101.exe" /S'];
pn++;

prog[pn]=['**** NFO Viewer 2.10.0032.RC3'];
uid[pn]=['DAMNNFOVIEWER2100032RC3'];
dflt[pn]=['yes'];
cat[pn]=['MultiMedia'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\****.msi" /qn'];
pn++;

prog[pn]=['WinRaR 3.71'];
uid[pn]=['WINRAR371'];
dflt[pn]=['yes'];
cat[pn]=['Utilities'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\WinRAR 3.71 Russian.exe" /S'];
pn++;

prog[pn]=['Unlocker 1.8.7'];
uid[pn]=['UNLOCKER187'];
dflt[pn]=['yes'];
cat[pn]=['System'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\unlocker1.8.7.exe"'];
pn++;

prog[pn]=['WinDjView 0.5'];
uid[pn]=['WINDJVIEW05'];
dflt[pn]=['yes'];
cat[pn]=['MultiMedia'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\WinDjView.exe" /VERYSILENT'];
pn++;

prog[pn]=['7-Zip 4.57'];
desc[pn]=['7-Zip is a open source file archiver with high compression ratio.'];
uid[pn]=['7Zip457'];
dflt[pn]=['yes'];
cat[pn]=['Utilities'];
forc[pn]=['no'];
configs[pn]=['yes'];
gcond[pn]=['FileExists(\'D:\\Apps\')'];
cmd1[pn]=['%wpipath%\\Install\\7z457.exe /S'];
pn++;

prog[pn]=['Hashtab 2.0.8'];
desc[pn]=['HashTab is a Windows shell extension which adds a tab called "File Hashes" to the Windows Explorer file properties. The tab contains the MD5, SHA1 and CRC-32 file hashes. These are common hashes that are used to verify the integrity and authenticity of files. Many download sites list the MD5 hash along with the download link. The HashTab makes it very simple for Windows users to check these hashes on any file on the system without using external tools.'];
uid[pn]=['Hashtab208'];
dflt[pn]=['yes'];
cat[pn]=['System'];
forc[pn]=['no'];
configs[pn]=['yes'];
gcond[pn]=['FileExists(\'D:\\Apps\')'];
cmd1[pn]=['%wpipath%\\Install\\hashtab.exe /S'];
pn++;

prog[pn]=['Your Uninstaller 2008'];
uid[pn]=['YOUR'];
dflt[pn]=['yes'];
cat[pn]=['Applications'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\YU2008\\yu2008setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'];
rega[pn]=['%wpipath%\\Install\\YU2008\\yu2008.reg'];
pn++;

prog[pn]=['WinRAR 3.71 Russian'];
uid[pn]=['WINRAR371RUSSIAN'];
dflt[pn]=['yes'];
cat[pn]=['Applications'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\WinRAR 3.71 Russian.exe" /s'];
pn++;

prog[pn]=['Total Commander 2.50 PowerPack'];
uid[pn]=['TOTALCOMMANDER250POWERPAC'];
dflt[pn]=['yes'];
cat[pn]=['Applications'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\Total Commander\\Total Commander 7.03 PowerPack 2.50 Rus.exe" /S'];
pn++;

prog[pn]=['Foxit PDF Reader 2.3.2923'];
uid[pn]=['FOXITPDFREADER232923'];
dflt[pn]=['yes'];
cat[pn]=['MultiMedia'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\Foxit Reader\\FoxitReader23.exe"'];
pn++;

prog[pn]=['foobar2000 0.9.5.2 STALK:ER PACK'];
uid[pn]=['FOOBAR20000952STALKERPACK'];
dflt[pn]=['yes'];
cat[pn]=['MultiMedia'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\foobar2000\\fb2k_0.9.5.2_STALK.ER_Pack.exe" /S'];
cmd2[pn]=['FILECOPY "%wpipath%\\Install\\foobar2000\\foobar2000.cfg" "%programfiles%\\foobar2000\\"'];
pn++;

prog[pn]=['ACDSee Pro 2.0.238'];
uid[pn]=['ACDSEEPRO20238'];
dflt[pn]=['yes'];
cat[pn]=['MultiMedia'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\ACDSee_Pro2_2.0.238_RU.exe"'];
pn++;

prog[pn]=['Mozilla Firefox 2.0.0.14'];
uid[pn]=['MOZILLAFIREFOX20014'];
dflt[pn]=['yes'];
cat[pn]=['Applications'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\Mozilla Firefox\\FFox_ENU.exe"'];
cmd2[pn]=['DIRCOPY "%wpipath%\\Install\\Mozilla Firefox\\Mozilla" "%APPDATA%"'];
pn++;

prog[pn]=['RegWorks 1.3.3'];
uid[pn]=['REGWORKS133'];
dflt[pn]=['yes'];
cat[pn]=['Applications'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\RegWorks.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'];
pn++;

prog[pn]=['QIP 8060'];
uid[pn]=['QIP8060'];
dflt[pn]=['yes'];
cat[pn]=['Applications'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\qip8060.exe" /S'];
cmd2[pn]=['DIRCOPY "%wpipath%\\Install\\QIP" "%programfiles%"'];
pn++;

prog[pn]=['VLC 0.8.6f'];
uid[pn]=['VLC086F'];
dflt[pn]=['yes'];
cat[pn]=['MultiMedia'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\vlc-0.8.6f-win32.exe" /S'];
cmd2[pn]=['FILECOPY "%wpipath%\\Install\\VLC\\vlc.bat" "%programfiles%\\VideoLAN\\VLC\\"'];
cmd3[pn]=['FILECOPY "%wpipath%\\Install\\VLC\\Pleylist.m3u" "%programfiles%\\VideoLAN\\VLC\\"'];
cmd4[pn]=['FILECOPY "%wpipath%\\Install\\VLC\\vlcrc." "%APPDATA%\\vlc\\"'];
cmd5[pn]=['FILECOPY "%wpipath%\\Install\\VLC\\VLC media player.lnk" "%ALLUSERSPROFILE%\\Desktop\\"'];
pn++;

prog[pn]=['Daemon Tools 4.12.3'];
uid[pn]=['DAEMONTOOLS4123'];
dflt[pn]=['yes'];
cat[pn]=['System'];
forc[pn]=['no'];
cmd2[pn]=['"%wpipath%\\Install\\daemontools-4123-lite.exe"'];
pn++;

prog[pn]=['nlite 1.4.5'];
uid[pn]=['NLITE145'];
dflt[pn]=['yes'];
cat[pn]=['Applications'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\nLite145.exe" /S'];
pn++;

prog[pn]=['Real Alternative Lite 1.80'];
uid[pn]=['REALALTERNATIVELITE180'];
dflt[pn]=['yes'];
cat[pn]=['MultiMedia'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\RealAlternativeLite180.exe" /VERYSILENT /SP- /NORESTART'];
pn++;

prog[pn]=['QuickTime Alternative 2.50'];
uid[pn]=['QUICKTIMEALTERNATIVE2'];
dflt[pn]=['yes'];
cat[pn]=['MultiMedia'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\QuickTimeAlternative.exe" -ai'];
pn++;

prog[pn]=['Microsoft Office Viewers'];
uid[pn]=['MICROSOFTOFFICEVIEWERS'];
dflt[pn]=['yes'];
cat[pn]=['Office'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\Office\\wordview_ru-ru.exe" /quiet'];
cmd2[pn]=['"%wpipath%\\Install\\Office\\ExcelViewer.exe" /quiet'];
cmd3[pn]=['"%wpipath%\\Install\\Office\\PowerPointViewer.exe" /quiet'];
pn++;

prog[pn]=['Paint.NET 3.31'];
uid[pn]=['PAINTNET331'];
dflt[pn]=['yes'];
cat[pn]=['MultiMedia'];
forc[pn]=['no'];
cmd1[pn]=['"%wpipath%\\Install\\PaintNET.exe"'];
pn++;

//---------------------------------------------------------------------------------------------
// End of program definitions ...
//---------------------------------------------------------------------------------------------

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