Steve.mccall
Content Type
Profiles
Forums
Events
Posts posted by Steve.mccall
-
-
Brilliant thanks,
So if I create a script like this...
Set WshShell = WScript.CreateObject("WScript.Shell")
Command = "C:\MyAppz\App1\RunApp.exe /param1 /param2"
WshShell.Run Command, 0, True
Set WshShell = WScript.CreateObject("WScript.Shell")
Command = "C:\MyAppz\App2\RunApp.exe /param1 /param2"
WshShell.Run Command, 0, True
With essentially the same command for each different app, will it install them in sequence? The 'True' argument will make it wait to start the next command?
I started trying to develop a RunOnceEx.cmd file with key entries for each application but this method seems better as I'd imagine customising what applications are installed for each difference specification of machine would be difficult.
Steve
0 -
Hi!
Try using a single .cmd file or .vbs file for the whole [GuiRunOnce] section that will run the installation for u in a more structured way. If using a .cmd file, u can controll the installation sequence by using the Start /Wait as described @ this site, or if using a .vbs file u can control it even better when using this example code:
Set WshShell = WScript.CreateObject("WScript.Shell")
Command = "C:\MyAppz\App1\RunApp.exe /param1 /param2"
WshShell.Run Command, 0, TrueWhere the 0 stands for: "wait until the process ends and then continue... with the next one?" while if setting a 1 instead will kick of one setup and directly go to the next one. True/False, turns on/off visibility of the process.
Hope it helps..
Thanks, that is a great help. By making the process invisible, will it silently install or do I need to control that with command line arguments?
Steve
0 -
Hi,
I'm having a few problems.
Basically I Need to deploy multiple images of computers via RIS using a windows image file with different templates to install different applications although there is a basic requirement of applications for every computer.
So far I have hard coded the commands into the template file as I have little experience of writing scripting. Unfortunately I'm having a number of problems and the only thing I can get to work is the odbc and faxclient.
[data]
AutoPartition=1
floppyless = "1"
msdosinitiated = "1"
OriSrc = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"
OriTyp = "4"
LocalSourceOnCD = 1
[setupData]
OsLoadOptions = "/noguiboot /fastdetect"
SetupSourceDevice = "\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%"
[unattended]
UnattendMode=FullUnattended
OemSkipEula = yes
OemPreinstall = yes
OemSkipWelcome = 1
TargetPath = \WINDOWS
FileSystem = LeaveAlone
NtUpgrade=No
OverwriteOemFilesOnUpgrade=No
OemPnPDriversPath="Drivers\000_chipset\IntelINF;Drivers\001_network\Marvell;Drivers\002_graphics\Intel;Drivers\003_audio;Drivers\004_SATA"
DriverSigningPolicy=Ignore
ExtendOEMPartition = 0
InstallFilesPath = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"
LegacyNIC = 1
[userData]
ProductKey=*****
FullName = "*****"
OrgName = "%ORGNAME%"
ComputerName = %MACHINENAME%
[GuiUnattended]
AdminPassword=*****
EncryptedAdminPassword=Yes
AutoLogon=Yes
AutoLogonCount=4
OemSkipRegional = 1
TimeZone = %TIMEZONE%
OemSkipWelcome = 1
[GuiRunOnce]
DriverSigningPolicy=Ignore
"regedit /s %systemdrive%\install\odbc.reg"
"%systemdrive%\install\faxclient.msi /QN"
"\\*****\Office2003\STD11.MSI /QB"
"%systemdrive%\install\MapULRDrive.vbs"
"J:\ULR XP 7.8\setup /s"
"%systemdrive%\install\patch7.8.2.bat"
"Z:\Software Installation\Misc\AdbeRdr70_enu_full.exe /s"
[Display]
BitsPerPel = 32
XResolution = 1024
YResolution = 768
VRefresh = 60
[RegionalSettings]
LanguageGroup=1
SystemLocale=00000809
UserLocale=00000809
InputLocale=0809:00000809
[setupMgr]
DistFolder=C:\windist
DistShare=windist
[Networking]
InstallDefaultComponents=Yes
ProcessPageSections=No
[identification]
DomainAdmin = Administrator
DomainAdminPassword = *****
JoinDomain = *****
DoOldStyleDomainJoin = Yes
[RemoteInstall]
Repartition = Yes
UseWholeDisk = Yes
[OSChooser]
Description = "Gigabyte - GA-81945GMF v4 Faxclient, Office Std. Claimtec ULR. Adobe."
Help = "This will install Windows XP Pro SP2 Pro in a standard configuration. Installs LAN, Chipset, SATA and GFX drivers. Includes GuiRunOnce Office Std"
LaunchFile = "%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com"
ImageType = "Flat"
I've removed a few things but that is basically my template file. Any help at all would be brilliant. The DriverSigning = ignore shouldn't be there either, but it all starts to go wrong at the install of MS Office. I get an error saying an install is already in progress. I need to somehow add a break or a restart before the Office is installed.
Oh and also the computer does not autologon...
Thanks
Steve
0 -
Would moving the $OEM$.. folders into the \i386 folder instead of being along side it make any difference?
0 -
Actually, now I look, the drivers file doesn't exist on the C:\ drive after installation. What I did was create the folders in a flat image of the windows xp pro disk on the RIS server. Would I be better off creating the folders on the source computer, then making an image of it?
EDIT: I've checked the registry and the value is exactly as you specified.
Thanks for the help
Steve
0 -
I can reinstall the drivers fine, but I really want to be able to install them as part of an unattended install. I've many other applications to be installed and I'm writing scripts to execute silent installs. It's all a bit pointless if I've got to manually install the LAN drivers before I can access the network.
Steve
0 -
Nope, that didn't work. This is the 1st time I've actually started windows since the OS installed. I'm not sure what I need to do to be honest. I've used the $oem$... folders in the installation image to hold the drivers then referenced them in the template file. Do I need to do something else to get them to work in the windows environment?
Steve
0 -
Yeah, for the LAN, Graphics, Sound and Chipset there are Yellow exclamations. In properties the Device status is that the drivers are not installed.
Steve
0 -
Hi, I'm having a problem in that my drivers for LAN, Chipset, SATA etc are lost once windows starts up and I need to reinstall them. The drivers install fine for the actual installation but just arn't shown in the device manager. My template is shown below... beware I'm quite new to all this so forgive any stupid mistakes...
[data]
floppyless = "1"
msdosinitiated = "1"
OriSrc = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"
OriTyp = "4"
LocalSourceOnCD = 1
DisableAdminAccountOnDomainJoin = 0
[setupData]
OsLoadOptions = "/noguiboot /fastdetect"
SetupSourceDevice = "\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%"
[unattended]
UnattendMode=FullUnattended
OverwriteOemFilesOnUpgrade=No
OemPnPDriversPath="Drivers\000_chipset;Drivers\001_network;Drivers\002_graphics;Drivers\003_audio;Drivers\004_SATA"
DriverSigningPolicy=Ignore
OemPreinstall = yes
FileSystem = LeaveAlone
ExtendOEMPartition = 0
TargetPath = \WINDOWS
OemSkipEula = yes
InstallFilesPath = "\\%SERVERNAME%\RemInst\%INSTALLPATH%\%MACHINETYPE%"
LegacyNIC = 1
[userData]
ProductKey=.....
FullName = "..."
OrgName = "%ORGNAME%"
ComputerName = %MACHINENAME%
[GuiUnattended]
AdminPassword=6f8c02a42d4be282e72c57ef50f76a0520d103f4f34891938d84e336cef9e795
EncryptedAdminPassword=Yes
AutoLogon=Yes
AutoLogonCount=1
OemSkipWelcome = 1
OemSkipRegional = 1
TimeZone = %TIMEZONE%
[Display]
BitsPerPel = 32
XResolution = 1024
YResolution = 768
VRefresh = 60
[RegionalSettings]
LanguageGroup=1
SystemLocale=00000809
UserLocale=00000809
InputLocale=0809:00000809
[setupMgr]
DistFolder=C:\windist
DistShare=windist
[identification]
JoinDomain = %MACHINEDOMAIN%
DoOldStyleDomainJoin = Yes
[Networking]
InstallDefaultComponents=No
ProcessPageSections=Yes
[NetAdapters]
Adapter1=params.Adapter1
[params.Adapter1]
INFID=*
[NetClients]
MS_MSClient=params.MS_MSClient
[NetServices]
MS_SERVER=params.MS_SERVER
[NetProtocols]
MS_TCPIP=params.MS_TCPIP
[params.MS_TCPIP]
DNS=No
UseDomainNameDevolution=No
EnableLMHosts=Yes
AdapterSections=params.MS_TCPIP.Adapter1
[params.MS_TCPIP.Adapter1]
SpecificTo=Adapter1
DHCP=Yes
DNSServerSearchOrder=200.200.200.1
WINS=No
NetBIOSOptions=0
[RemoteInstall]
Repartition = Yes
UseWholeDisk = Yes
[OSChooser]
Description = "Gigabyte - GA-81945GMF v2"
Help = "This will install Windows XP Pro SP2 Pro in a standard configuration."
LaunchFile = "%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com"
ImageType = "Flat"
Also I need to be able to join a domain.
Steve
0 -
Actually RIS does not look to the network for drivers during at the T-39 stage of setup because the network is not yet available. All of the drivers that you need must be on the hard drive during setup.
Would it be possible to configure each image with it's appropriate network driver for the text based part of setup and then access the network store to load the pnp drivers?
Steve
0 -
I'm afraid I'm only able to use the Windows tools (as bad as they are) availiable to me. Is there any other way of doing it?
Steve
0 -
Hi,
Is this at all possible. I work for a company that has a number of different hardware configurations and would like to have a single source that setup can search during the RIS install. Is there any way at all I can do this?
Steve
0
Integrating Applications into a RIS image.
in Unattended RIS Installation
Posted
'horrible but it will work...'
Would it be better to create a single vb script file for each application and then link the relevant vb script files in the template file for each different installation?
Or would it be better to create a single vbscript file for each installation?
Thanks again for your help!
Steve