Content Type
Profiles
Forums
Events
Everything posted by Tripredacus
-
That's why I use Winamp with my iPod!
-
Any programmer think to make a winpe builder?
Tripredacus replied to Kullenen_Ask's topic in Windows PE
This is a last warning. Keep it on topic for Kullenen_Ask wants something different. This isn't going to be a place to advertise other projects and definately not to start arguments. So keep to the topic at hand. -
Yes, I guess I am an old timer now. After I installed Diablo III, it says "oh hey there is a new driver available for your video card" and I say "NO!" I did a (well peimg) integration of a Radeon driver on a Vista image by installing the software on a system, and then use the old Driver Magician to get the driver file to inject into the wim.
-
HTA Animation
Tripredacus replied to dcistech's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I think you need to get the function of closing the progress HTA out of the main HTA and into the progress HTA. That should have no problem closing itself. Like I said, I don't use VBScript much at all, however here is a general method of what I am thinking: 1. Wait for imagex.exe process to exist. 2. Wait until imagex.exe exits. 3. Sleep 1-5 seconds. 4. invoke window.close() Now the only app I currently have that waits for a process to close concerns MSIEXEC and it behave differently than imagex does. Another possibility is to move the actuall imaging commands into the progress HTA, so it would be easier (I hope) for that to know when the imaging is done. This was what I did when I created a custom recovery partition that included a main HTA that launched a "progress" HTA. Here is it (with commands changed to xxx) <Title>full</Title> <HTA:APPLICATION ID="FsSplashScreen" SCROLL="No" SCROLLFLAT ="No" SingleInstance="Yes" ShowInTaskbar="No" SysMenu="No" MaximizeButton="No" MinimizeButton="No" Border="none" BORDERSTYLE ="complex" INNERBORDER ="No" Caption="no" WindowState="Normal" APPLICATIONNAME="FsCommandHta" CONTEXTMENU="no" Icon="%SystemRoot%\explorer.exe"> <STYLE type="text/css"> BODY { Font:9.25pt; Font-weight:bold; Font-family:helvetica,verdana,arial; Color:#000080; Text-Align:Center; Vertical-Align:Middle; Padding-Top:3; Padding-Bottom:2; Padding-Left:10; Padding-Right:10; background-image:url('resources\animation.gif') } </STYLE> <script Language='VBSCRIPT'> '-> Resize And Move Window Dim Wth :Wth = int(250) Dim Hht :Hht = int(50) window.ResizeTo Wth, Hht MoveTo ((Screen.Width / 2) - (Wth / 2)),((Screen.Height / 2) - (Hht / 2)) Dim Tmr Sub confirmation2 Dim A1 :A1 = MsgBox("Recovery Complete, Click the Restart button to continue.") If A1 = True Then CreateObject("WScript.Shell").run "fscommand\restart.exe",0,True End Sub '-> Start The First Timer OnLoad, Three Second Wait Befor It Goes '-> To The ClearTimer Function Function Window_OnLoad() document.focus() Txt1.innerHTML= "Processing The Script Function Please Wait" Tmr=setTimeout("ClearTimer()",3000) Exit Function End Function '-> Process The First Command Function ClearTimer() '-> Object To Run The First Command Hidden, Uncooment To Make Active Set objShell = CreateObject("WScript.Shell") ObjShell.run "xxx",0,True ObjShell.run "xxx",0,True ObjShell.run "xxx",0,True ObjShell.run "xxx",0,True Tmr=clearTimeout("") '-> Place Your Code For confirmation2 Here Start Call confirmation2() '-> Place Your Code For confirmation2 Here End Txt1.innerHTML= "Prepaparing To Close" Tmr=setTimeout("ClearTimer2()",3000) Exit Function End Function '-> Close The Hta Function Function ClearTimer2() Tmr=clearTimeout("") window.close() Exit Function End Function </SCRIPT> <BODY Scroll='No'><TABLE><SPAN ID='Txt1'> </SPAN></TABLE></BODY> You'll hate me for now remembering what all this code means. I built it, and then the entire concept failed regression testing and the concept was scrapped. So for example, you'll see there is a mention of a restart.exe in there. I do not know how that is called in this. The main HTA launches this progress HTA using the following function: Sub RunFull Set objShell = CreateObject("WScript.Shell") ObjShell.Run "mshta x:\windows\system32\full.hta",1,True On Error Resume Next Set objShell = Nothing End Sub -
I miss that game! Anyways, unless you are on a domain, you can turn Fast User Switching on. At least to test it out to see if that solves your logon problem.
-
There are so many little utilities that were written for previous OSes that I still use (or will call upon) that looks like it would be a pain to use on Win8.
-
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.