April 13, 200521 yr When i push the "Default Button" no Standard Software is selected. Why? Is there anything wrong in the script or is the mistake on my side?
April 13, 200521 yr In the config screen each section you create has a default checkbox did you speicify any "default" options?
April 13, 200521 yr Author yeah. for example: i have 5 programs and 3 of this programs are set to default. but the "Default button" ignore the selection.
April 13, 200521 yr ok when you first open WPI are your defaults checked??Try clicking select none and then select defaults.If this is still happening post your config.js file for me to see please.Remember to delete any serials.
April 13, 200521 yr Author hi. by the first start wpi selected the programs correct. when i push "none" and then "default" nothing is selected. at the moment i dont have a personal config.js with my programs because they are not useful if they have this bug. The example file ist the standard config.js with only 5 programs.//---------------------------------------------------------------------------------------------// Your programs here ...//---------------------------------------------------------------------------------------------pn=1;prog[pn]=['.Net Framework 1.1']uid[pn]=['DOTNETFW']desc[pn]=['Installs Microsoft .NET Framework Redistributable Package 1.1. <i>Recommended</i>']ordr[pn]=[1]cmd1[pn]=['%cdrom%\\Install\\netfxsp1.exe']dflt[pn]=['yes']cat[pn]=['Microsoft Xtras']pn++prog[pn]=['.Net user Account Deletion']uid[pn]=['DELETENETUSERACCOUNT']deps[pn]=['DOTNETFW']desc[pn]=['This will delete an account the .net framework creates during install.']ordr[pn]=[2]cmd1[pn]=['%CDROM%\\Install\\deluser.exe']dflt[pn]=['yes']cat[pn]=['Microsoft Xtras']pn++prog[pn]=['123 Renamer']uid[pn]=['123RENAMER']desc[pn]=['123 File Renamer help you rename files en masse with a number of possibilities.']ordr[pn]=[5]cmd1[pn]=['%CDROM%\\Install\\123renamersetup2.2.exe /VERYSILENT /SP-']cat[pn]=['Office']pn++prog[pn]=['7-Zip 4.15b']uid[pn]=['7ZIP']desc[pn]=['7-Zip is a file archiver with high compression ratio.']ordr[pn]=[10]cmd1[pn]=['%CDROM%\\Install\\7zip.exe /S']cat[pn]=['Utilities']pn++prog[pn]=['Add "Command Window" To Right Click']uid[pn]=['ADDCOMMANDWINDOWTORIGHTCL']ordr[pn]=[900]cmd1[pn]=['regedit /s %CDROM%\\Install\\command.reg']dflt[pn]=['yes']cat[pn]=['Registry Tweaks']pn++//---------------------------------------------------------------------------------------------// End of program definitions ...//---------------------------------------------------------------------------------------------
April 13, 200521 yr Please use the code boxes this works fine here try a new download please. Have you modified any other files??
April 13, 200521 yr Author ok i download it again. No they are no files changed. we will see after the download what happend.
April 18, 200521 yr Yes, same problem here. And believe me, I think I've tried enough before posting a reply.Key question: is wpi.cmd somehow relevant for the Default button to work?The fact is that when I decompress the WPI_3.5.rar that I have downloaded from the WPI site and run WPI.hta without any modifications, the button doesn't work...Any ideas? Of course I don't have that much JS knowledge to "search and destroy" the problem that easily...
April 21, 200521 yr There is a small mistake in wpi.htm (wpi\Themes\Default) of the default theme<!-- The Defaults button. --> <a href="" onMouseDown="document.Defaultsbutton.src='./themes/Default/checkdown.gif';" onMouseOver="document.Defaultsbutton.src='./themes/Default/checkover.gif'; stm(getText(ttSelectDefaults),Style[0]);" onMouseOut="document.Defaultsbutton.src='./themes/Default/check.gif'; htm()" onClick="stopInterval(); startstop(); check('Default'); startstop();" > <img src="./themes/Default/check.gif" align="absmiddle" class="mainbtn" border="0" name="Defaultsbutton"> </img><font class="side" ><b><script>document.write(getText(lblSelectDefaults));</script></b></font></a><br />Should be:<!-- The Defaults button. --> <a href="" onMouseDown="document.Defaultsbutton.src='./themes/Default/checkdown.gif';" onMouseOver="document.Defaultsbutton.src='./themes/Default/checkover.gif'; stm(getText(ttSelectDefaults),Style[0]);" onMouseOut="document.Defaultsbutton.src='./themes/Default/check.gif'; htm()" onClick="stopInterval(); startstop(); check('default'); startstop();" > <img src="./themes/Default/check.gif" align="absmiddle" class="mainbtn" border="0" name="Defaultsbutton"> </img><font class="side" ><b><script>document.write(getText(lblSelectDefaults));</script></b></font></a><br />Default should be spelled in lowercase, as in check.js, small but simple bugfix seems to work for me!
April 22, 200521 yr @WerkbouwtuigBrilliant, thanks a lot, really! Have you reported this to the authors? It's really important that they do not miss this one in the next release...Best wishes B)
April 22, 200521 yr Reprted found and fixed in 3.5.1Thank god for the answer to this problem.I think it slipped by for so long because most seem to use themes other than default now.
April 22, 200521 yr Hey, somehow, don't know why, I've used the Default theme for a couple days, and I sticked to it... I like it because it's so simple B)
Create an account or sign in to comment