Jump to content

Stalkie

Member
  • Posts

    57
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Denmark

About Stalkie

Stalkie's Achievements

0

Reputation

  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 :-(
×
×
  • Create New...