johnhc, on Mar 13 2008, 11:56 AM, said:
1.Found a reference to Run1_W2Ksp5.bat.
2.Is it OK to just leave files I don't want out of addons or must I also remove them from the .bat?
3.I have two registry updates I want to include (IE7 search engines and home page). One is a single command I found on the forum and the other is an .reg file I exported from my current registry. How do I include these – put them into the .bat somehow?
4.Can I place files into My Documents (e.g. CPU-Z and SuperPi) of a created user? Perhaps this would require the second pass.
5.Is it a bad idea to include a FW (Comodo)? Would a second pass make this active? - avast! also?
6.I see you have included Flash but not Shockwave or other players. Is there any problem with others? I looked at the shockwave site and found the switches needed and also found that there is both an .msi and .exe installer. Is there an installer type preference? Where in general do you find the switches for installers?
7.I don't understand the reason for the optional second pass.
8.I see you have specified Fully Automaticic. Will the Repair (reinstall) option be available?
1. Run1_W2Ksp5.bat is from my similar guide for
Windows 2000, but I see that in a moment of absent-mindedness I've used that name instead of Run1_XP-64.bat
2. The batch files are written so that if an optional application is not found at \AddOns, they will display "The command ***.exe does not refer to ..." (i.e. file not found) and skip on to the next command. Note that as %Source% returns a blank string if not set, one can block copy sections from Run1_XP-64.bat to Run2_XP-64.bat if so desired.
3. To include a .reg file use a command like that for Key.AnyDVD [If exist %Source%AddOns\Key.AnyDVD Regedit /S %Source%AddOns\Key.AnyDVD], replacing Key.AnyDVD with MySetting.reg. The "If exist %Source%AddOns\Key.AnyDVD" part of the command is not really necessary, but if you execute "Regedit /S %Source%AddOns\Key.AnyDVD" and the reg file isn't found the installation will halt with an error message.
4. I'm not really sure about this one, you could certainly put it in the shared documents. But as the account settings for new accounts are not actually created until that new account is logged into, I'm not sure if it will work (I'll test if I remember tomorrow).
5. Comodo is a good firewall (Defense+ annoying as all hell though), but the silent install switch "-s" doesn't work (crashes the installer). Avast will be active on user logon if the installer is placed at \AddOns.
6. There is no problem as far as I know with Shockwave, it's just that I don't use it. Some things just don't work, for example Opera will install with the switches "/S /V/Passive" but doesn't create a start menu icon. I've tried to include a selection of common software that will produce a system that is pretty much ready to go "out of the box". In general I prefer to use .msi installers, but only because there are generally more options and they are easier to understand, for a good example take a look at the .exe and .msi installers for Open Office. For switches search the Application installs forum here at MSFN, extract some of the addons created by others and read the entries file (Rado354's are good for this), read the originating website for that software, google it [software.exe "Silent Install"] and if all else fails, trial and error. If you read through Run1_XP-64.bat, you will see that there are several common sets of silent install switches.
7. In most cases there is no need for a second pass. But if for example you had some software that needed say .Net already installed before it could be installed, then that application would have to be installed in a second pass.
8. As the repair option appears in the textmode section of installation (before it goes into fully automatic mode), it should be available.
This post has been edited by Kurt_Aust: 13 March 2008 - 06:25 AM