MSFN Forum: HOWTO create a fully up to date XP x64 DVD - MSFN Forum

Jump to content



If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
  • 28 Pages +
  • « First
  • 21
  • 22
  • 23
  • 24
  • 25
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

HOWTO create a fully up to date XP x64 DVD Updated for January, link to similar W2K guide Rate Topic: -----

#441 User is offline   Nethan 

  • Group: Members
  • Posts: 8
  • Joined: 12-March 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 13 March 2010 - 11:40 AM

Hello,

I have two remarks :) :

1) I can read that you link the 048 KB927891-v5-x64-ENU.exe (MSI reliability update) patch, but there is something curious. Indeed, when I read the KB927891, it is required to install two files :

Quote

To fully address the unresponsive system issue, both this fix for MSI must be installed and the Windows Update client must be updated to version 3.0.

The WindowsUpdateAgent30-x64.exe is considered in your first post as "Optional". I agree with that, but the KB927891 patch should be considered too as optional, as it seems to be useless alone.

2) The MSI Installer 4.5 has a patch, the KB958655. Could be useful if you want to install SQL Server or things like that without problems. Maybe you could add it in the list (it would be better if MS took some time to create an updated installer...).

I have also a question :

The KB923789 update, who concerns Flash Player 6... Is it really necessary ? I mean, I will install Flash Player 10. Should the vulnerabilities be corrected at the same time ?

This post has been edited by Nethan: 13 March 2010 - 11:48 AM



#442 User is offline   Kurt_Aust 

  • Master of trial, error & Google
  • PipPipPip
  • Group: Members
  • Posts: 436
  • Joined: 26-April 07

Posted 15 March 2010 - 04:55 AM

View PostNethan, on 13 March 2010 - 11:40 AM, said:

Hello,

I have two remarks :) :

1) I can read that you link the 048 KB927891-v5-x64-ENU.exe (MSI reliability update) patch, but there is something curious. Indeed, when I read the KB927891, it is required to install two files :

Quote

To fully address the unresponsive system issue, both this fix for MSI must be installed and the Windows Update client must be updated to version 3.0.

The WindowsUpdateAgent30-x64.exe is considered in your first post as "Optional". I agree with that, but the KB927891 patch should be considered too as optional, as it seems to be useless alone.

2) The MSI Installer 4.5 has a patch, the KB958655. Could be useful if you want to install SQL Server or things like that without problems. Maybe you could add it in the list (it would be better if MS took some time to create an updated installer...).

I have also a question :

The KB923789 update, who concerns Flash Player 6... Is it really necessary ? I mean, I will install Flash Player 10. Should the vulnerabilities be corrected at the same time ?


1. Realistically users will upgrade to WindowsUpdateAgent30-x64, either by running it specifically (as done by this guide) or by BITS installing it in the background, the optional aspect is more of a when rather than if.

2. This guide only uses hotfixes publicly available on the Microsoft download center (no beta updates), besides there have been problems with the various patches for MSI 4.5 as described in 5eraph's update pack thread.

3. Yes, KB923789 is redundant if you install Flash Player 10, again it is a case of giving all available options (as long as they won't do any harm).

#443 User is offline   Nethan 

  • Group: Members
  • Posts: 8
  • Joined: 12-March 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 15 March 2010 - 12:53 PM

I guess I will avoid updates for MSI 4.5 for a moment ^^

About the KB923789, after checking, it is not really redundant. Indeed, files of the flash version 6 stays in the system if I install Flash 10 without uninstalling the old one, who is the common method with Internet Explorer, and I don't know if it is dangerous. Nevertheless, this patch is useless if the Flash uninstaller is used : This files are removed by it.

I read that this patch gave some conflicts with Flash 9. It don't concern Flash 10, but I will not take any risks.

As you said, we have the choice. So I will use the uninstaller through a vbscript :)

Thanks for your answer and your help :)

This post has been edited by Nethan: 15 March 2010 - 01:44 PM


#444 User is offline   TranceEnergy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 963
  • Joined: 23-March 06

Posted 28 March 2010 - 07:56 AM

I have a slightly huge problem. I can't get anything to run from the dvd with %source% including also adding next batch file to runonce (
If exist %1XP_2.bat REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Runonce" /V "command0" /D "%1XP_2.bat %1 " )

This is all inside Vmware. It's been over half a year since i've had a vminstall (i'm in school so havent had time for this, till now) so i'm a bit rusty.
It only says that file doesnt exist.

#445 User is offline   johnhc 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,241
  • Joined: 02-March 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 March 2010 - 08:11 AM

Heh TranceEnergy, good to hear. I can't make much sense from your sample (mostly lack of knowledge). You did not use %Source% in it, but did you remember that "%Source%=D:\" (D will vary, of course)? That is, the %Source% variable has a trailing \, unlike most environmental variables. Catches many people. Enjoy, John.

#446 User is offline   TranceEnergy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 963
  • Joined: 23-March 06

Posted 28 March 2010 - 08:15 AM

View Postjohnhc, on 28 March 2010 - 08:11 AM, said:

Heh TranceEnergy, good to hear. I can't make much sense from your sample (mostly lack of knowledge). You did not use %Source% in it, but did you remember that "%Source%=D:\" (D will vary, of course)? That is, the %Source% variable has a trailing \, unlike most environmental variables. Catches many people. Enjoy, John.


this is from my xp.bat at the beginning of it:
"

Set Source=%1

rem start init part.

%source%Setup\ConfigureDefaultServices.bat
%source%Setup\PathFixes.bat
"

As i run the xp.bat MANUALLY after logging int, it stops after the configuredefaultservices.bat
I have no idea why this is happening. Except that i have changed to 5eraphs update pack and latest ie8 pack.

edit: This is driving me crazy!

This post has been edited by TranceEnergy: 28 March 2010 - 08:17 AM


#447 User is offline   5eraph 

  • Update Packrat
  • Group: Supreme Sponsor
  • Posts: 763
  • Joined: 04-July 05
  • OS:XP Pro x64
  • Country: Country Flag

Posted 28 March 2010 - 08:25 AM

Try the following, TranceEnergy:

Set "Source=%%1"


#448 User is offline   TranceEnergy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 963
  • Joined: 23-March 06

Posted 28 March 2010 - 08:28 AM

View Post5eraph, on 28 March 2010 - 08:25 AM, said:

Try the following, TranceEnergy:

Set "Source=%%1"



Even nlite sets it to %1. I WILL try this, as i am desperate of resolving this quickly.

#449 User is offline   TranceEnergy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 963
  • Joined: 23-March 06

Posted 28 March 2010 - 08:47 AM

No change. It didnt help.

edit: removing the set source command alltogether from my batches. installing it now in vmware.
Didnt make any change either.

This post has been edited by TranceEnergy: 28 March 2010 - 09:20 AM


#450 User is offline   johnhc 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,241
  • Joined: 02-March 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 March 2010 - 09:55 AM

TranceEnergy, are you running your .bat in the nLite GuiRunOnce? If so, %Source% is set when you get control and you don't want to reset it. Enjoy, John.

#451 User is offline   TranceEnergy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 963
  • Joined: 23-March 06

Posted 28 March 2010 - 10:30 AM

View Postjohnhc, on 28 March 2010 - 09:55 AM, said:

TranceEnergy, are you running your .bat in the nLite GuiRunOnce? If so, %Source% is set when you get control and you don't want to reset it. Enjoy, John.


I have tried with and without it. But notice that the first batch file runs,"ConfigureDefaultServices.bat", and then the origin batch file quits after that, which is "xp.bat". And "xp.bat" is called from guirunonce, set with nlite.
I have also tried editing the nlite.cmd file and changed the line where it reads "cmd /r xp.bat" to simply just "xp.bat"
Not that that should matter anyway.

Nothing works.

edit: I also tried setting "rem" to the first batch file, so it would run the next one.
Same result, it quits after running it.

This post has been edited by TranceEnergy: 28 March 2010 - 10:45 AM


#452 User is offline   TranceEnergy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 963
  • Joined: 23-March 06

Posted 28 March 2010 - 11:57 AM

i set xp.bat to only do this:
"
If exist %1XP_1.bat REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Runonce" /V "command0" /D "%1XP_1.bat %1 "
ShutDown /R /F /T 60
"

It does not write the command to registry. Seeing as it doesnt find it, it does shutdown tho.

#453 User is offline   johnhc 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,241
  • Joined: 02-March 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 March 2010 - 12:15 PM

TranceEnergy, you don't have a /T parameter for your Reg Add command. Don't you need to specify the key type (REG_SZ)? Enjoy, John.

#454 User is offline   Kurt_Aust 

  • Master of trial, error & Google
  • PipPipPip
  • Group: Members
  • Posts: 436
  • Joined: 26-April 07

Posted 28 March 2010 - 01:06 PM

Trance, I found that REG ADD is very picky about quotes, try removing the superfluous quotes:

If exist %1XP_1.bat REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Runonce" /V "command0" /D "%1XP_1.bat %1 "

On another note I'm about to go on holidays until Saturday 10th April, so I'll have only intermittent access with my laptop.

#455 User is offline   TranceEnergy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 963
  • Joined: 23-March 06

Posted 28 March 2010 - 01:30 PM

View PostKurt_Aust, on 28 March 2010 - 01:06 PM, said:

Trance, I found that REG ADD is very picky about quotes, try removing the superfluous quotes:

If exist %1XP_1.bat REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Runonce" /V "command0" /D "%1XP_1.bat %1 "

On another note I'm about to go on holidays until Saturday 10th April, so I'll have only intermittent access with my laptop.


The format i wrote this in is the format of which i have used to write houndreds of batch scripts that work without fail.
I'll still test it tho.
I'll test for invisible escape character codes afterwards,tho i have no idea how that could end up in there, but i have withnessed that before.. But I am at my wit's end at this idiotic problem.

edit: The problem that the batch quits after running the first batch file still persist.

This post has been edited by TranceEnergy: 28 March 2010 - 02:01 PM


#456 User is offline   TranceEnergy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 963
  • Joined: 23-March 06

Posted 28 March 2010 - 02:33 PM

It seems that the best solution is to "simply" add cmd /R for each and every batch file that needs to run...

Sigh. Can anyone tell me what the hell has happened?

#457 User is offline   5eraph 

  • Update Packrat
  • Group: Supreme Sponsor
  • Posts: 763
  • Joined: 04-July 05
  • OS:XP Pro x64
  • Country: Country Flag

Posted 28 March 2010 - 02:49 PM

CALL should work the same as CMD /R, TranceEnergy.

If an EXIT command exists in the second batch script then it might possibly end all batch processing. To end a script in a chain, "GOTO :eof" would be safer. Just a thought.

Have fun on holiday, Kurt_Aust. :)

This post has been edited by 5eraph: 28 March 2010 - 03:04 PM


#458 User is offline   TranceEnergy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 963
  • Joined: 23-March 06

Posted 28 March 2010 - 04:19 PM

I know, but this doesnt make sense. I've never needed to write anything else then the name of the batchfile.
Anyway, while tedious indeed, i'll give it a go. Hoping it will work!

edit: The only "exit" command that exists stems from the generated file "nlite.cmd" by nlite itself that has a "cmd /r xp.bat" (i've tried without cmd /r there as well, as i've pointed out earlier). But as i said thats generated by nlite and not something i've added.


edit2:
I'm sorry for all the last posts guys. It seems to be working now, but i'll still hold my breath for a bit longer.
I remember used *used to* have cmd /r for my batches but i stopped the practice,since it wasnt necessary. I don't understand what has happened that has made it necessary again. Because these batches are the same as they have been, except for that i am adding the run command to runonce (i used my own way of doing it via a shortcut to the startmenu/start up folder that directed to a copied file to systemdrive).

Running the install now in Sun VirtualBox and it's so far going great. Btw Sun VirtualBox seems to run a lot faster then Vmware, for some reason.

This post has been edited by TranceEnergy: 28 March 2010 - 04:58 PM


#459 User is offline   TranceEnergy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 963
  • Joined: 23-March 06

Posted 28 March 2010 - 06:02 PM

It seems to be working great but i ran into another thing which i took in use to avoid having
a batch file call a truckload of other batch files:

for %A in (%source%Setup\ImportSettings2Registry\*.bat) do call "%~A"

This doesnt work, but if you replace %source% with f.ex d:\ it will.
Any idea for a fix?

edit: never mind, it might be just that the xp2 bat didnt run.
edit2: xp 2 batch running but I now still had to resort to using a batch to call a whole folder full of other batches,
instead of something neat as the command line above. Don't have time to spend more time to find a working command for it now =(

This post has been edited by TranceEnergy: 28 March 2010 - 08:18 PM


#460 User is offline   TranceEnergy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 963
  • Joined: 23-March 06

Posted 29 March 2010 - 10:26 AM

I'm merging several houndreds of batch files. Are there any file size limit and length limit of command line in batch files for x64 xp?
I've tested doing command line up to houndreds of characters, but some of my command lines are maybe a thousand chars+.
They work fine when testing on up and running system, but i wonder if that'll change once it's reinstall time...

edit: Never mind, again. All my batches run perfectly! Best install yet! =)

This post has been edited by TranceEnergy: 30 March 2010 - 08:08 AM


Share this topic:


  • 28 Pages +
  • « First
  • 21
  • 22
  • 23
  • 24
  • 25
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy