funkyrabbit Posted April 13, 2005 Share Posted April 13, 2005 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? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted April 13, 2005 Share Posted April 13, 2005 In the config screen each section you create has a default checkbox did you speicify any "default" options? Link to comment Share on other sites More sharing options...
funkyrabbit Posted April 13, 2005 Author Share Posted April 13, 2005 yeah. for example: i have 5 programs and 3 of this programs are set to default. but the "Default button" ignore the selection. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted April 13, 2005 Share Posted April 13, 2005 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. Link to comment Share on other sites More sharing options...
funkyrabbit Posted April 13, 2005 Author Share Posted April 13, 2005 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 ...//--------------------------------------------------------------------------------------------- Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted April 13, 2005 Share Posted April 13, 2005 Please use the code boxes this works fine here try a new download please. Have you modified any other files?? Link to comment Share on other sites More sharing options...
funkyrabbit Posted April 13, 2005 Author Share Posted April 13, 2005 ok i download it again. No they are no files changed. we will see after the download what happend. Link to comment Share on other sites More sharing options...
footswitch Posted April 18, 2005 Share Posted April 18, 2005 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... Link to comment Share on other sites More sharing options...
Werkbouwtuig Posted April 21, 2005 Share Posted April 21, 2005 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! Link to comment Share on other sites More sharing options...
footswitch Posted April 22, 2005 Share Posted April 22, 2005 @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) Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted April 22, 2005 Share Posted April 22, 2005 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. Link to comment Share on other sites More sharing options...
footswitch Posted April 22, 2005 Share Posted April 22, 2005 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) 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