Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country


Everything posted by Stalkie

  1. Hi, I had a similar problem, until I noticed that the installer complained about a file missing. The installer wants to run LUSETUP.EXE during install, so just download the newest LiveUpdate from Symantec, rename it LUSETUP.EXE and replace the original in the installer folder.
  2. Here is mine. It just keep looping the JRE, until i manually killthe program in the Task Manager Also, the second command it runs in the first program, belongs to the second program. WPI_Log.txt
  3. I'm kindda glad that I'm not the only one with this problem. I added a couple of new log-lines, but couldn't determine why the loop got stuck on the second program, second command (at least in my case) I've even tried with a whole new config.js, where I only have 1 app with 2 commands (created in the WPI-wizard), but even that is weird. It runs the first command just fine, and then come with this JavaScript error: JavaScript Error Report Message: 'undefined' is null or is not an object Url: C:\install\WPI\WPI.hta File: core.js Function: FileExists() Line: 244 I've checked every aspect of the FileExists()-function, and there doesn't seem to be any problems there. I really like the new install GUI, and hope this problem will be solved soon. Thanks for the great work :-)
  4. That can be done in a number of ways, and the old text-based "database" isn't the best solution, but it's not impossible. I would probarly use a regular expression: $s = '<a href="http://www.msfn.org" target="_blank">Microsoft Software Forum Network </a>, posted by <a href="mailto:the_orangeman@hotmail.com">orange'; preg_match('^<a href="([^"]+)', $s, $matches); $link_addr = $matches[1]; Now, I haven't tested the above code, but it should help you on the right path :-)
  5. If it DOES work with copying before installation, it would remove the need for killing programs and services. Much more "clean"
  6. Would it then be possible to copy win.ini before installation?
  7. Install WGA on your PC. Take "LegitCheckControl.dll" from your windows\system32 dir and place it on your CD (could be $OEM$\$$\system32) Then the dll just needs to be registered with "regsvr32 /s legitcheckcontrol.dll" (don't know if you need the path also) I register it in a .inf-file much like RyanVM's but you should be able to do it in something like GuiRunOnce.
  8. Can't you just add the image in a JLabel and add that as the Component?
  9. After a quick look in the docs, the easiest method I can see is this: Create a TableModel, where you only override isEditable to always return false import javax.swing.table.TableModel; public class UneditableTableModel extends TableModel { public boolean isEditable(int rowIndex, int columnIndex) { return false; } } Then when you create your JTable JTable table = new JTable(new UneditableTableModel()); And no, I have not tested this, but it should work :-)
  10. I'm not sure about the hive-files, but I can tell you this..... Some of the reg-settings are set by XP on the first login. That means after runonceex (or what it's called) is done. An example of this would be the SmallIcons for Explorer. What I did, was that I created a .cmd to run after the reboot after runonceex to set all those settings. Don't know if it helps.
  11. You CAN store values (variables) in both sessions and cookies (though many session-engines uses cookies for it). But the way you do it, depends alot on what language you're using.
  12. You can try something like this (haven't tested it) public String[][] getElements (JTable table) { String[][] values = new String[table.getRowCount()][table.getColumnCount()]; for (int i=0; i<table.getRowCount(); i++) { for (int j=0; j<table.getColumnCount(); j++) { values[i][j] = (String)table.getValueAt(i, j); } } return values; }
  13. Check this out http://java.sun.com/docs/books/tutorial/ui....html#selection
  14. I'm not sure this would work, but you can try it. <html> <head> <script language="javascript" type="text/javascript"> var dir = 'something'; document.write('<link rel="stylesheet" type="text/css" href="./themes/'+ dir +'/wpi.css \/>'); </script> </head> </html>
  15. I'd just like to say that I was really annoyed seeing all that MS Office (and by the way not valid HTML) i many og the .html files. If it was done properly, you could cut most of their sizes to half! Now, I really like WPI and have been using it for a while, and it is a great script. Just looking for ways to improve, but my Unattended CD is already packed to the limit, and ½-1 MB can get it over the top :-(
  16. That's not really a XPize problem <{POST_SNAPBACK}> Oh sorry I thought you made the logon *G*
  17. I have a small problem with the beta 2 :-/ The XPize_logon.exe is packed with PEC2, so I can't take the resources and insert them into my danish logon. Any chance we could get the unpacked version?
  18. No 6 is in some cases not enough, but if you won't do it, i'll just modify it myself :-)
  19. Yeah, I have one. But I know this requires a rewrite of many af the scripts, so I'm pretty sure it's not going to be the next release. What I would like is a more flexible approach for the commands. It can be done i more than one way. One would be the OO way, but that wouldn't fix with rest of the "program". The most simple one would be a rearranging of the command-section. pn++ prog[pn] = 'Something'; cmds[pn] = new Array(); cmds[pn][0] = 'some_command.cmd'; cmds[pn][1] = 'DELETE %systemroot%\logon.exe'; // Not so good *G* And so on. The result would be a limitless number of commands, and it's actually not that much of a change. * EDIT * You could actually have both ways (at least at first, so people don't go frenzy *G*). In the generate-section, just check if cmds[pn] exist, and if it does only use that for that entry.
  20. now the trick is to have it move an object every second instead of write a number any ideals any one,, ? <{POST_SNAPBACK}> Try with some CSS, probarly something like this: var showCountdown=document.getElementById('countdown'); showCountdown.innerHTML=countdownValue; showCountdown.style['top'] += 1;
  21. I would have suggested file_exists, but since it's only for files, the is_file should suffice.
  22. Hmmmmmm..... SocketSERVER can't run CLIENT-side. I think what you are looking for MAYBE can be done with JSP (Java Server Pages), but that's server-side (like php).
  23. One piece of quick and dirty example. I'm not sure it's error-free, but you should get the general idea :-) <form name="something" action="somfile.xxx" method="post"> <input type="checkbox" name="quote_0" onclick="updateTotal();" /> Bla bla bla <div id="totalCost"></div> </form> <script language="javascript" type="text/javascript">//<![CDATA[ var numQuotes = 1; var quotePrices = [4.5]; function updateTotal() { var total = 0; var quote = 'undefined'; for (var i=0; i<numQuotes; i++) { quote = document.forms['something'].elements['quote_'+i]; if (typeof quote != 'undefined' && quote.checked) { total += quotePrices[i]; } } document.getElementById('totalCost').innerHTML = 'Total cost: '+ total; } updateTotal(); //]]> </script>
  24. Check out the strip_slashes() in php http://www.php.net/strip_slashes

  • Create New...