Astalavista Posted December 14, 2004 Share Posted December 14, 2004 ok no more question... I got it working...for those of u I have some notes on the bottom of the page that u should really look at.to avoide 3 hours of work...here is my new code. pls note i am using specialize installer so i dont use switchesu can use my config.js as a template only. oh sorry i did not sort the order of my programs so it might be little confusing. I will do that later. Link to comment Share on other sites More sharing options...
Astalavista Posted December 14, 2004 Author Share Posted December 14, 2004 a couple of things i am not quite certain about. 1. someone say i dont need "regedit /s" to silently install registry tweaks.2. what about pskill is my string correct?3. do u guys see any errors?4. I usually have a sfx for the updated def. file of adaware. but i ran out of command line. I need 4 but i got only 3attachment deleted contained many errors Link to comment Share on other sites More sharing options...
a06lp Posted December 14, 2004 Share Posted December 14, 2004 why dont you try running WPI.hta, and see if there are any errors?if there are, try commenting out chunks of code little by little until the problem goes away, and then you can narrow it down.that's what i did when i had a problem...this should probably be in the WPI Thread Link to comment Share on other sites More sharing options...
Pezzie Posted December 14, 2004 Share Posted December 14, 2004 Astalavista - see you are using a different veriosn of the WPI then me, so this answer is somewhat based on my version.I dont use REGEDIT /S - never done - never had any problems.As for the pskill - looks fine to me - but dont know why you have cmd /c added. I dont know if this could cause any problems, but anyway.You are using capital letters under yahoo:PSKILL.EXE YPAGER.EXE'Haven't got a clue if this mean anything.As for your problem with the ad-aware:Just make a batch file running the pskill.exe ( both in the same ) and there you have your extra command line.Hope it helpsPezzie Link to comment Share on other sites More sharing options...
Astalavista Posted December 14, 2004 Author Share Posted December 14, 2004 Guys went i use Notepad to edit I get a lot of errors.But when i use FrontPage 2003... i see the error right away.Someone posted their wpi and it had cmd /cHere is something that is also not very clear.What happens to my cleanup.cmd???guys look at this page http://members.aon.at/equinox/wpi/that is where i got the regedit /s and cmd /c from I am using his version.this should probably be in the WPI Threadheheheh... i am planning on making a graphical guide if all is wellprog[pn]=['Cleanup.cmd']desc[pn]=['Post Install Cleanup Removing Temporary Files and All Irrelevant objects']regb[pn]=['Drive','Registry Key Path']cmd1[pn]=['%cdrom%\\software\\cleanup.cmd']cmd2[pn]=['Drive','CommandLine 2']cmd3[pn]=['Drive','CommandLine 3']rega[pn]=['Drive','Registry Key Path']dflt[pn]=['yes']forc[pn]=['True'] cat[pn]=['Execute']ordr[pn]=[999]pn++I just noticed the order of the categories are all screwed up.attachment deleted many errors Link to comment Share on other sites More sharing options...
Astalavista Posted December 15, 2004 Author Share Posted December 15, 2004 Link to comment Share on other sites More sharing options...
Astalavista Posted December 15, 2004 Author Share Posted December 15, 2004 ok everyone I finally got it to work!it appears i got some incorrect information.1. when dealing with a reg key u need not put regedit /s2. when dealing with pskill or history kill u wont need cmd /c3. When u finalize editing your config.js make sure that u delete all the linesthat contain no info---- pn=0 // start value vor prog numberingprog[pn]=['ProgramName']desc[pn]=['Description']regb[pn]=['Drive','Registry Key Path']cmd1[pn]=['Drive','CommandLine 1']cmd2[pn]=['Drive','CommandLine 2']cmd3[pn]=['Drive','CommandLine 3']rega[pn]=['Drive','Registry Key Path']dflt[pn]=['no']forc[pn]=['false'] cat[pn]=['Appllication Category']ordr[pn]=[0]pn++let say u use only cmd1[pn] make sure that u remove cmd2, cmd3 etcotherwise u will get errors. this was not stated in the guide.In addition one major problem i had was that instead of cmd1[pn]=['%cdrom%\\software\\LC161a\LC161a.exe /S']it should be cmd1[pn]=['%cdrom%\\software\\LC161a\\LC161a.exe /S'] Link to comment Share on other sites More sharing options...
Pezzie Posted December 15, 2004 Share Posted December 15, 2004 I told you in the PM Astalavista - remember those \\.As for the empty lines - mine works perfectly - even with empty lines.Guess different version mean alot. Link to comment Share on other sites More sharing options...
Astalavista Posted December 15, 2004 Author Share Posted December 15, 2004 Link to comment Share on other sites More sharing options...
Pezzie Posted December 15, 2004 Share Posted December 15, 2004 Nice work Astalavista - how did you get the check boxes to be transparent ? Link to comment Share on other sites More sharing options...
Pezzie Posted December 15, 2004 Share Posted December 15, 2004 Nice work Astalavista - how did you get the check boxes to be transparent ? Link to comment Share on other sites More sharing options...
BritishBulldog Posted December 15, 2004 Share Posted December 15, 2004 I like nice one Astalavista. Will be editing my WPI specially for a background piccy Link to comment Share on other sites More sharing options...
Astalavista Posted December 15, 2004 Author Share Posted December 15, 2004 I suggest that u guys use Frontpage to edit your hta so easy to useand when u make a mistake... it automatically tells u. isnt that greati hv to figure out how i can move the clock and change the backgroundto transparent.if u are using frontpage all u need to do is right click any part of the pageand then select page properties and go to advance and selectyour background Link to comment Share on other sites More sharing options...
Astalavista Posted December 15, 2004 Author Share Posted December 15, 2004 this is really p***ing me off none of the registry tweaks are being appliedso i decided i will just use winrar to autoinstall i will see what happens Link to comment Share on other sites More sharing options...
BritishBulldog Posted December 17, 2004 Share Posted December 17, 2004 moving the clock is easy just find this code in the hta file and cut and paste it where you want <script> if(timer=='on') startInterval(); if(timer=='off') stopInterval(); if(timer!='off'&& timer!='on') window.alert('Timer Value can only be "on" or "off" Please Change it in config.js'); </script> <span style="vertical-align: bottom"><strong> <font size="2" color="#FFFFFF" face="Arial"> <script> if(timer=='on') document.write("The Installer<br>will start in"); </script> </font></strong> <form name=display size="4" class="txtboxshow" style="align: center; font-size: 24pt; font-family: Arial; font-weight: bold; color: #FFFF00; vertical-align: baseline; width:100; height:37"></form> <strong><font face="Arial" size="1" color="#FFFFFF"> <script> if(timer=='on') document.write("Click here to stop the timer"); </script> </font></strong> </span><p> 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