strekship Posted March 16, 2004 Share Posted March 16, 2004 Is there a swich to install Longhorn Transformation pack 4.0 refresh sighlently? Link to comment Share on other sites More sharing options...
mazin Posted March 20, 2004 Share Posted March 20, 2004 Yes, there is.If you hate seeing a setup.iss file in Windows directory, use -RIf you are ready to repair or reinstall Windows XP SP1, use /S Link to comment Share on other sites More sharing options...
mazin Posted March 23, 2004 Share Posted March 23, 2004 Disappointed?!Well! There is still a hope.Go to this page and read carefully: http://unattended.msfn.org/xp/wfp.htmIf you do it right, use the second method (/S). But, try it first before coying it into your CD.I hope it works well! Link to comment Share on other sites More sharing options...
XKnoppix Posted March 23, 2004 Share Posted March 23, 2004 @mazinEverythiong you've said has been way over my head Could you just back up a little and explain everything in simpler terms I would love to install this also!Thanks Link to comment Share on other sites More sharing options...
mazin Posted March 24, 2004 Share Posted March 24, 2004 Well!This application is embarrassing! One can't tell its installation package type. This is why no contribution was provided for it, as I think.However, I tried some switches including -s, -R, and /S. The last one worked well except two problems:1- Windows File Protection (WFP) appeared to ask for restoring files as you can see here: http://unattended.msfn.org/xp/wfp.htm2- The installation program asked for reboot [Yes/No], as you know.Therefore, we should disable WFP first, using the method on the link above. If we do this, the first problem is solved.For the second problem, we can use the taskkill.exe command.So, our batch file may include this:ECHO.ECHO Installing Longhorn Transformation pack 4.0ECHO Please wait...start /wiat "%systemdrive%\Install\LHTP4\Longhorn Transformation pack 4.0.exe" /Staskkill.exe /F /IM xxxxxxx.exeECHO."xxxxxxx" stands for the running application name.To know what to type in place of xxxxxxx, first install the application as usual, and before pressing "Yes" or "No" for a reboot, press Alt+Ctrl+Delete to run Task Manager and catch the running application name. As you know, it's not necessarily the same name of the program.Give it a try! I'm sure it works.As for me, when I tried it, WFP wasn't disabled on my computer. Also, System Restore was turned off, so no "Last Good Configuration" could be used! The Last Good Configuration for me was the same as the Last Bad Configuration!So, prepared with my Windows XP SP1 CD Key, I stayed up reinstalling Windows again. However, my applications and everything remained. Only the system was reinstalled. Link to comment Share on other sites More sharing options...
XKnoppix Posted March 25, 2004 Share Posted March 25, 2004 @mazinI hate to be a stickler but could you help me port that to my RunOnceEx file. I'm not very familiar with taskkill? Will that also work with some of my stubborn Wise Installers? ThanksEDIT:By the way, does this install the boot screen? I kinda like that but i know it's not part of the default installation. Plus i know that would be difficult because of the whole "please wait one minute so the boot screen can install" when running the installer. So if you got any ideas, let me know. Link to comment Share on other sites More sharing options...
Alanoll Posted March 25, 2004 Share Posted March 25, 2004 taskkill can be used from RunOnceEX. its a WinXP program in SYSTEM32.as for the porting....%REG%\KEY1 = %systemdrive%\Install\LHTP4\Longhorn Transformation pack 4.0.exe /S%REG%\Key2 = taskkill.exe /F /IM xxxxxxxx.exe Link to comment Share on other sites More sharing options...
XKnoppix Posted March 26, 2004 Share Posted March 26, 2004 @AlanollWhat? I've never seen code like that anywhere! Or atleast not in my RunOnceEx?%REG%\KEY1 =????If i had to take my best guess it would beREG ADD %KEY%\120 /VE /D "Longhorn Transformation Pack" /fREG ADD %KEY%\120 /V 1 /D "%systemdrive%\install\Applications\Longhorn\Longhorn Transformation Pack.exe /s" /fREG ADD %KEY%\120 /V 2 /D "taskkill.exe /F /IM Longhorn Transformation Pack.exe" /fI don't know how you are coming up with your code. But i'm no expert Could someone verify this code and let me know if i'm anywhere close to right?!Thanks Link to comment Share on other sites More sharing options...
Alanoll Posted March 26, 2004 Share Posted March 26, 2004 that's what I meant I was typing from memory, and wasn't really sure of the exact syntax, but wanted to give you atleast some sort of idea. however, your taskkill won't work if it is meant to kill the tansformation pack install itself. RunOnceEX doesn't advance till the program executing is finished. You may want to check during installation, what program is actually running, and then use that name instead.and just so you know, I never atually used the batch file method of importing the RunOnceEX keys. I always used INFs. Was cleaner and easier to understand. That and I could have one large INF that did everything for me, instead of half a dozen batches and reg files Link to comment Share on other sites More sharing options...
XKnoppix Posted March 26, 2004 Share Posted March 26, 2004 Yeah i hear you. But i don't understand INF files. So this is what i got Now i ran the program again (even though it's already installed) and once it got to the first setup screen i hit ctrl-alt-del and looked in up in the processes and sure enough... it was under Longhorn Transformation Pack.exe ?! So i'm not sure if i did that right. But how would i go about finding the accual name? Do i have to install it again or what?Thanks Link to comment Share on other sites More sharing options...
XKnoppix Posted March 26, 2004 Share Posted March 26, 2004 By the way have you seen my Topic in the Unattended Windows forum about Longhorn and WFP? If not you should take a look and see if you can help me having issues Thanks Link to comment Share on other sites More sharing options...
Alanoll Posted March 26, 2004 Share Posted March 26, 2004 the point of taskkill is to kill a program that would halt the execution of the setup.The transformation pack may not need it. So you may be able to remove it all together. I'm not sure.But is there a window that pops up AFTER the setup screens? Like Winamp does? If there is, you want to find the exe name for THAT window, and replace it in the taskkill command. Link to comment Share on other sites More sharing options...
mazin Posted March 28, 2004 Share Posted March 28, 2004 If you leave the installation file name as it is, then it appears under Task Manager as Longho~1.exeTo avoid using "~1", rename the file to "LHM4TP.exe" for example. Then, it should appear as LHM4TP.exe under Task Manager . Sweet!?If the boot screen doesn't work, this is because the program doesn't replace the "ntoskrnl.exe".There is a way to accomplish this. Link to comment Share on other sites More sharing options...
XKnoppix Posted March 28, 2004 Share Posted March 28, 2004 And that would be... Link to comment Share on other sites More sharing options...
mazin Posted March 28, 2004 Share Posted March 28, 2004 Well!Extract the program files using /x command. This should be:LHM4TP.exe /xInside the same folder where LHM4TP.exe resides at the time of extraction, you'll have ntoskrnl.exe! New!?You can place it your way in C:\Windows\System32\ and restart your PC. Sweet!?ENJOY! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now