Rosebud6 Posted September 15, 2005 Share Posted September 15, 2005 (edited) Hi guys, love this program. I used an old version and had it work just fine. Just downloaded 4.3.5 and am getting an error.Ive added a few of my own programs into the config, but im at a point where if i add another one, i get a java script error ( see attached).Any ideas would be helpfulThanks in advanceISSUE RESOLVED:Well, thanks for the help but i started from scratch and it seels to have fixed my issue. Edited September 16, 2005 by Rosebud6 Link to comment Share on other sites More sharing options...
glent Posted September 15, 2005 Share Posted September 15, 2005 please post Your config.js pleaseand welcome to MSFN Link to comment Share on other sites More sharing options...
Rosebud6 Posted September 15, 2005 Author Share Posted September 15, 2005 (edited) //---------------------------------------------------------------------------------------------// 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 vor prog numbering// prog[pn]=['ProgramName']// picf[pn]=['Picture File']// picw[pn]=['Width']// pich[pn]=['Height']// desc[pn]=['Description']// textl[pn]=['Text location']// texti[pn]=['Text Indent']// 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']// rega[pn]=['Registry Key Path']// dflt[pn]=['no']// forc[pn]=['false']// cat[pn]=['Application Category']// ordr[pn]=[0]// uid[pn]=['APP1']// cond[pn]=['Javascript Conditional Statement']// deps[pn]=[]// excl[pn]=[]// configs[pn]=['List of configs to be auto checked for comma seprated']// pn++//---------------------------------------------------------------------------------------------// Your programs here ...//---------------------------------------------------------------------------------------------pn=1;uid[pn]=['inc']picw[pn]=['128']pich[pn]=['128']textl[pn]=['Bottom']texti[pn]=['1']pn++prog[pn]=['123 Renamer']uid[pn]=['123RENAMER']picw[pn]=['128']pich[pn]=['128']desc[pn]=['123 File Renamer help you rename files en masse with a number of possibilities.']textl[pn]=['Bottom']texti[pn]=['1']ordr[pn]=[5]cmd1[pn]=['%systemdrive%\\Install\\Tools\\123renamersetup2.2.exe /VERYSILENT /SP-']configs[pn]=['Home']cat[pn]=['Applications']pn++prog[pn]=['Adobe Acrobat Reader 7.0']uid[pn]=['ADOBEACROBATREADERV70']picw[pn]=['128']pich[pn]=['128']desc[pn]=['Adobe® Reader® 7.0 — free software that lets you view, print, search, and share Adobe Portable Document Format (PDF) files more securely using a variety of platforms and devices.']textl[pn]=['Bottom']texti[pn]=['1']ordr[pn]=[15]cmd1[pn]=['%systemdrive%\\Install\\Tools\\AdbeRdr7.exe']dflt[pn]=['yes']configs[pn]=['yes']cat[pn]=['Office']pn++prog[pn]=['Aquarium ScreenSaver']uid[pn]=['AQUARIUMSCREENSAVER']picw[pn]=['128']pich[pn]=['128']textl[pn]=['Bottom']texti[pn]=['1']cmd1[pn]=['%systemdrive%\\install\\screensavers\\SSAquarium2.0\\SereneScreen Marine Aquarium 2.exe']cat[pn]=['PowerToys']pn++prog[pn]=['CWShredder']uid[pn]=['CWSHREDDER']picw[pn]=['128']pich[pn]=['128']textl[pn]=['Bottom']texti[pn]=['1']cmd1[pn]=['%systemdrive%\\install\\CWS_REMOVAL\\CWSInstall.exe']dflt[pn]=['yes']configs[pn]=['yes']cat[pn]=['System']pn++prog[pn]=['EZ Cleaner']uid[pn]=['EZCLEANER']picw[pn]=['128']pich[pn]=['128']textl[pn]=['Bottom']texti[pn]=['1']cmd1[pn]=['%systemdrive%\\install\\CWS_REMOVAL\\EClea2-0.exe']dflt[pn]=['yes']configs[pn]=['yes']pn++prog[pn]=['Nero Burning ROM 6.6']uid[pn]=['NEROBURNINGROM']picw[pn]=['128']pich[pn]=['128']desc[pn]=['Nero burning ROM is the best all-in-one CD-R application on the market. Period. It combines huge amounts of features in a compact and easy to use package. It handles disc duplicating and pre-mastering with ease, supported by a cover designer and even an audio file editor. The excellent GUI desing keeps all the functions handy and guarantees that simple tasks can be done quickly']textl[pn]=['Bottom']texti[pn]=['1']ordr[pn]=[240]cmd1[pn]=['%systemdrive%\\Install\\Tools\\NERO6.6\\nero6.exe /SN=************************** /WRITE_SN /SILENT /NO_UI /NOREBOOT /NOLICENSE /NOCANCEL']dflt[pn]=['yes']configs[pn]=['yes']cat[pn]=['Applications']pn++prog[pn]=['Power DVD 6.0']uid[pn]=['POWERDVD60']picw[pn]=['128']pich[pn]=['128']textl[pn]=['Bottom']texti[pn]=['1']cmd1[pn]=['%systemdrive%\\install\\Tools\\POWERDVD6\\Setup.exe /S']pn++prog[pn]=['SafeXP']uid[pn]=['SAFEXP']picw[pn]=['128']pich[pn]=['128']desc[pn]=['Safe XP allows users to quickly tweak various security and privacy related settings in XP. The options include Media Player settings, Services settings (error reporting, time synch, remote registry etc.), as well as options to remove items from the Start menu, network security settings and more. Safe XP improves your system performance and makes Windows to run faster, more secure and reliable! It is suitable for beginners and experts!']textl[pn]=['Bottom']texti[pn]=['1']ordr[pn]=[300]cmd1[pn]=['%systemdrive%\\install\\Tools\\safexp.exe /VERYSILENT']dflt[pn]=['yes']configs[pn]=['yes']cat[pn]=['PowerToys']pn++prog[pn]=['Spybot 1.4']uid[pn]=['SPYBOT14']picw[pn]=['128']pich[pn]=['128']textl[pn]=['Bottom']texti[pn]=['1']cmd1[pn]=['%systemdrive%\\install\\CWS_REMOVAL\\spybotsd14.exe /VERYSILENT']dflt[pn]=['yes']configs[pn]=['yes']cat[pn]=['System']pn++prog[pn]=['Startup Control Panel']uid[pn]=['STARTUPCONTROLPANEL']picw[pn]=['128']pich[pn]=['128']desc[pn]=['Startup Control Panel is a nifty control panel applet that allows you to easily configure which programs run when your computer starts. Can be found inside the Windows Control Panel.']textl[pn]=['Bottom']texti[pn]=['1']ordr[pn]=[310]cmd1[pn]=['%systemdrive%\\Install\\Tools\\SUPCON\\Startup.exe']dflt[pn]=['yes']configs[pn]=['yes']cat[pn]=['PowerToys']pn++prog[pn]=['WinRAR 3']uid[pn]=['WINRAR']picw[pn]=['128']pich[pn]=['128']desc[pn]=['WinRAR is a 32-bit Windows version of RAR Archiver, an archiver and archive manager. RAR files can usually compress content by 8 percent to 15 percent more than ZIP files. WinRAR\'s main features include strong general and multimedia compression, the ability to process non-RAR archive formats, ZIP compression and decompression, support for long filenames, programmable self-extracting archives (SFX), repair of damaged archives, authenticity verification, embedded file comments, and encryption. Unicode is supported in archive filenames, allowing non-English filenames to be handled painlessly. You can manipulate the parameters of many archives at once and view a volume sequence as a single archive. WinRAR can convert other archive formats to RAR. It supports the Find command, allowing you to search for specified text and files in archives.']textl[pn]=['Bottom']texti[pn]=['1']ordr[pn]=[390]cmd1[pn]=['%systemdrive%\\Install\\Tools\\winrar3\\winrar3.exe /S']cmd2[pn]=['%systemdrive%\\Install\\Tools\\winrar3\\patch\\Patcher.exe']dflt[pn]=['yes']configs[pn]=['yes']cat[pn]=['System']pn++prog[pn]=['Windows Media Player 10']uid[pn]=['WINDOWSMEDIAPLAYER10']picw[pn]=['128']pich[pn]=['128']desc[pn]=['As an evolutionary product, WMP 10 is immediately recognizable as a member of Microsoft\'s Windows Media Player product family, and yet it also offers a fresh face to what has always been an overly complicated product. WMP 10, if you can believe it, actually offers a lot more functionality than previous versions of the player, but it presents much of that functionality in far simpler ways. For example, in addition to aggregating music and video files like previous versions, WMP 10 can aggregate pictures, Recorded TV shows, and other media, though that ability might be limited by the kind of PC you have, and which portable devices you interact with.']textl[pn]=['Bottom']texti[pn]=['1']ordr[pn]=[395]cmd1[pn]=['%CDROM%\\Install\\MP10Setup.exe']cmd2[pn]=['regedit /s %CDROM%\\Install\\wmp10.reg']dflt[pn]=['yes']configs[pn]=['yes']cat[pn]=['Utilities']pn++prog[pn]=['XP Antispy']uid[pn]=['XPANTISPY']picw[pn]=['128']pich[pn]=['128']textl[pn]=['Bottom']texti[pn]=['1']cmd1[pn]=['%systemdrive%\\install\\CWS_REMOVAL\\xp-antispy.exe /S']pn++//---------------------------------------------------------------------------------------------// End of program definitions ...//--------------------------------------------------------------------------------------------- Edited September 15, 2005 by kelsenellenelvian Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted September 15, 2005 Share Posted September 15, 2005 What is this for??pn=1;uid[pn]=['inc']picw[pn]=['128']pich[pn]=['128']textl[pn]=['Bottom']texti[pn]=['1'] Link to comment Share on other sites More sharing options...
Rosebud6 Posted September 15, 2005 Author Share Posted September 15, 2005 That was just to get the program to give me the error again. I have it set up and working prior to adding that item. Even if i delete a program (still works fine after delete) and add another it gives me the error. Link to comment Share on other sites More sharing options...
athomsen Posted September 15, 2005 Share Posted September 15, 2005 Don't suppose you could post this as a file. Would make life easier for me to try and fix it. TIA Link to comment Share on other sites More sharing options...
Rosebud6 Posted September 15, 2005 Author Share Posted September 15, 2005 Here it is. Thanks for your help.config.js Link to comment Share on other sites More sharing options...
athomsen Posted September 16, 2005 Share Posted September 16, 2005 Best I can figure here is that when you are adding a program you are not giving it a program name. WPI depends heavily on that name. if this is not the case post repeatable instructions for adding a program.You can remove this error by changing this line in check.jsvar oldcat = cat[1][0];tovar oldcat;But then your programs will not display anyway because there is no program name. 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