
Stalkie
MemberContent Type
Profiles
Forums
Events
Everything posted by Stalkie
-
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.
-
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
-
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 :-)
-
[PHP]frame problem
Stalkie replied to orange's topic in Web Development (HTML, Java, PHP, ASP, XML, etc.)
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 :-) -
If it DOES work with copying before installation, it would remove the need for killing programs and services. Much more "clean"
-
Would it then be possible to copy win.ini before installation?
-
Integrate Windows genuine advantage
Stalkie replied to jquintino's topic in Unattended Windows 2000/XP/2003
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. -
Image in a JTabel cell?HOW?
Stalkie replied to YoussefGamil's topic in Web Development (HTML, Java, PHP, ASP, XML, etc.)
Can't you just add the image in a JLabel and add that as the Component? -
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 :-)
-
adding regtweaks through HIVEDEF.INF
Stalkie replied to bmn's topic in Unattended Windows 2000/XP/2003
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. -
Using JTable events?
Stalkie replied to YoussefGamil's topic in Web Development (HTML, Java, PHP, ASP, XML, etc.)
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; } -
Using JTable events?
Stalkie replied to YoussefGamil's topic in Web Development (HTML, Java, PHP, ASP, XML, etc.)
Check this out http://java.sun.com/docs/books/tutorial/ui....html#selection -
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>
-
Wants and needs for WPI
Stalkie replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
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 :-( -
That's not really a XPize problem <{POST_SNAPBACK}> Oh sorry I thought you made the logon *G*
-
Try changing your /qb to /qn
-
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?
-
Changelog for next release...
Stalkie replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
No 6 is in some cases not enough, but if you won't do it, i'll just modify it myself :-) -
Changelog for next release...
Stalkie replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
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. -
javascript looping
Stalkie replied to Lost Soul's topic in Web Development (HTML, Java, PHP, ASP, XML, etc.)
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; -
Quote Designer
Stalkie replied to TheSlacker's topic in Web Development (HTML, Java, PHP, ASP, XML, etc.)
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> -
Problem with Unexpected Slashes
Stalkie replied to notooth's topic in Web Development (HTML, Java, PHP, ASP, XML, etc.)
Check out the strip_slashes() in php http://www.php.net/strip_slashes