Content Type
Profiles
Forums
Events
Everything posted by Tripredacus
-
HTA Animation
Tripredacus replied to dcistech's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
FYI: This discussion is a more code-oriented split off of the OP trying to adapt the GImageX HTA to show "something" for progress. Here is where that discussion starts: As I mentioned in the other thread, you'll need to have your HTA check for the presence of a process and then execute the window.close once it is determined that said process isn't running anymore. As for how to do this in VBScript, I couldn't tell you. Here is an example of how to use WMI with VBScript to verify if a process is present, however its a one time check. http://www.wisesoft.co.uk/scripts/vbscript_check_if_a_process_is_running.aspx So let's take a look at the old code that doesn't work. How exactly this translates into the gray box, I'm not sure, but I would imagine parts of this code could be used to show an HTA instead since it already does appear (usually) when the drive is being imaged. So getting this to show an animation would certainly be easier. progress.style.visibility = "visible" progress.innerHTML = "<table border='0'><tr><td>Percents completed: </td><td>Calculating</td></tr><tr><td>Time remaining: </td><td>Calculating</td></tr></table>" Now there are two Progress functions at the bottom of the HTA but they aren't called anywhere in the code. -
My implementation of using an HTA for a progress animation is easy to close because it isn't being launched from an HTA. So I can just kill the mshta.exe process. However that won't go over too well with this setup, since it would kill your host HTA too! So this is kind unimaginative but... clone mshta.exe to mshtatemp.exe. Then launch your progress HTA using mshtatemp.exe. Then when you are satisfied with your progress and you are done with the animation, then kill the mshtatemp.exe process. However, I just realised I did do this when I had built a custom recovery partition for an old client... It appears I used window.close() to kill the child HTA when it was finished. So here is that code: window.close() Exit Function End Function Now the difference with my example is that I have that child HTA actually doing a task, so it stays open until that task is complete. In your use, you could do a similar thing except you'd need to check for a running diskpart.exe or imagex.exe task, and stay open as long as those processes are running.
-
I don't use CopyProfile, but probably some use in here: or do a search in this sub-forum.
-
Its not the worst thing he could be doing... But I wonder, does a PC running a hypervisor count as a multi-boot system?
-
Well that's not really fair to single Microsoft out for that. Apple has been heavy on the mobil lawsuits as well. For example, Apple, Samsung and Motorola have been doing some court battles over stupid things as well. Such as the "look" of the devices and even dumber things like how a slider looks too similar.
-
Wait, you are not using Setup to do the install? Are you using Imagex then?
-
What account is it using? SSDP is used by XP to go out and find things in the network, and to also broadcast itself. You can try disabling the service if you want and don't think you'll need it.
-
Windows Vista + won't prompt you for a driver, but will install it in the background. You may or may not end up seeing an "Installing Devices" pop-up from the System Tray, but even this can be configured to hide such notifications. Windows 8, on the other hand, seems to fix this problem altogether, as once you tell Win8 to open UFDs, it opens within a second of you pluggin it in and with no apparent lag time of installing a driver. This seems true even if using different ports or even USB drives that have not been plugged into the system before. So Windows XP is stuck in the middle of USB support progression. With the horrible (if absent) support (except for Altec Lansing speakers) in Windows 95B, to Win98... I can't speak of ME or 2000. Getting better in Vista and 7 and with Windows 8 the best yet.
-
Now that is just scary!
-
Matt Uelmen - Tristram From Diablo II, back when you could download all the music from Blizzard's website.
-
It could be many things. Maybe you are missing a critical driver, maybe a driver is the wrong version. Even so, maybe the entire deployment didn't finish. Is the HDD big enough for that, say 20GB or larger? How much RAM on this Dell?
-
StartRep runs very fast even if it does have something to fix. Sorry I don't know about your backup question. Its still an area I'm lacking in experience.
-
What if you remove the WIndows 7 option with Easy BCD, then "Ubuntu" should be the only one to boot?
-
I might actually have that game! I should hook a CD drive up to my jukebox so I can rip my games ... Real Life - Send Me An Angel
-
Perhaps this is the reason the forum search feature doesn't allow searching for three-letter words. And the rest of that paragraph of yours was just disrespectful. The character restriction is not something we have set, it is in the forum software. It is to prevent searches from taxing the server, especially when on forums that are as old as this one. Everyone in this thread needs to settle down.
-
CMD Update install problem
Tripredacus replied to BaTLeZone's topic in Unattended Windows 7/Server 2008R2
Undocumented, but you can specify a directory too: Dism /image:C:\test\offline /LogPath:AddPackage.log /Add-Package /PackagePath:C:\packages\ -
Right, Setup doesn't do anything with the line specifying the catalog location. In fact, almost all of my unattends have the Vista catalog in them. Take this out of your XML: <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]"> <OOBE> <HideEULAPage>true</HideEULAPage> <ProtectYourPC>3</ProtectYourPC> </OOBE> </component> Since you are booting into Audit Mode, you aren't going through OOBE pass to process those commands, so it is useless for it so be in there. Since the XML is set to boot into Audit, having UserAccounts in the OOBE pass wouldn't get processed either.
-
Connecting a Windows 98 and Windows 7 through a network
Tripredacus replied to KelvinTwister's topic in Windows 9x/ME
Oh I just remembered. On the Vista/7, if the Network Location is set to Public, you can't get to network shares. You would need to set it to Home (don't know if Work would... you know... work... ), At least on Windows 7, if you are set to Public and try to go to a network share, a pop-up appears saying to enable File Sharing, which after doing so will change your Network Location. You can see your current setting in Network Connections, although if the PC is joined to a domain, it might say "domain" instead of "Work." -
Well there is a program on the Server 2008 R2 CD called Startrep.exe (in Sources) you can try, but you'll probably have to re-do your grub since it might not let you boot into Ubuntu afterwards. Here is some info on that program. http://support.microsoft.com/kb/2261423
-
To search for words 3 letters or less, you can use google. For example you can go to google and type this into the search box: site:msfn.org usb xp As far as this issue, it also exists in Vista and Windows 7 as well, however it is more transparent and less annoying. However, the underlying driver model is still there, as is evident that a per-port driver instance can become corrupted in Windows 7, making it so a USB device will not work on a specific port, but will on another. I have a GoFlex drive that refuses to work on either of the front USB ports on my workstation. I think it has something to do with not using the Safely Remove Hardware feature.
-
There is a registry key to change here for the PS2 issue.
-
Well the interesting part of this isn't the fact there is an upgrade deal. That has been done before, but before it was free.
-
Van Halen - 5150