%cdrom% variable problem
#1
Posted 10 December 2008 - 10:44 AM
Anyone have an idea ?
#4
Posted 12 December 2008 - 10:47 AM
Attached File(s)
-
WPI_Log_2008.12.10_11.20.59.txt (9.64K)
Number of downloads: 25
#5
Posted 12 December 2008 - 07:07 PM
#6
Posted 15 December 2008 - 10:15 AM
#8
Posted 15 December 2008 - 10:25 AM
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\win51ip.sp3 set CDR=%%i:
echo Found CD-Rom as drive %CDROM%
start /wait %CDR%\WPI\WPI\WPI.hta
start /wait %systemdrive%\clean.bat
CMD /C del %systemdrive%\clean.bat
#9
Posted 15 December 2008 - 01:50 PM
I would download my $OEM$ scripts from the main version post to set the reg keys needed for some programs.
Your script is fine. I will think some more about it.............
#10
Posted 15 December 2008 - 06:33 PM
#11
Posted 15 December 2008 - 07:11 PM
this is the section of the script you have to worry about, it looks for this file on the CD if it is there then the %CDROM% parameter is set but if it does not find it then it will not be set.
Change this to the file on the CD you have and it will work
Don't worry I am on a steep learning curve with creating unattended installs so if this is wrong shoot me!!!!
#12
Posted 16 December 2008 - 12:16 AM
#13
Posted 16 December 2008 - 12:16 PM
Fichier log d'installation WPI
Début d'installation à: 16 décembre 2008 11:57:08
Variables Globales :
%OSLANG%=
%WPIPATH%=D:\$OEM$\$1\WPI
%ROOT%=D:\$OEM$\$1
%CDROM%=D:
%DOSPATH%=
%SYSDRV%=C:
%WINDIR%=C:\WINDOWS
%PROGRAMFILES%=C:\Program Files
%TEMP%=C:\DOCUME~1\UTILIS~1\LOCALS~1\Temp
%SYSDIR%=C:\WINDOWS\system32
%ALLUSERSPROFILE%=C:\Documents and Settings\All Users
%USERPROFILE%=C:\Documents and Settings\Utilisateur standard
%APPDATA%=C:\Documents and Settings\Utilisateur standard\Application Data
%COMMONPROGRAMFILES%=C:\Program Files\Fichiers communs
Liste des programmes à installer:
.NET Framework 2.0
.NET Framework 3.5
.NET Framework 1.1
Mises-à-jour Diverses
Office 2007 Home & Student
PowerDVD 7.0
Nero 7.x OEM
Kaspersky Antivirus 2009
Flash/Shockwave pour IE7
9 Items, 12 Commandes
-----
16 décembre 2008 11:57:08
Program: .NET Framework 2.0
ID unique: NETFRAMEWORK20
Ordre: 900001
Catégorie: System
16 décembre 2008 11:58:02 - cmd1 Succès (Code de retour 0): "D:\WPI\Système\Dotnet\DNF20.exe"
16 décembre 2008 11:58:02 - Installation terminée.
-----
16 décembre 2008 11:58:02
Program: .NET Framework 3.5
ID unique: NETFRAMEWORK30
Ordre: 900002
Catégorie: System
16 décembre 2008 12:06:22 - cmd1 Succès (Code de retour 0): "D:\WPI\Système\Dotnet\DNF35.exe"
16 décembre 2008 12:06:22 - Installation terminée.
-----
16 décembre 2008 12:06:22
Program: .NET Framework 1.1
ID unique: NETFRAMEWORK11
Ordre: 900003
Catégorie: System
16 décembre 2008 12:07:02 - cmd1 Succès (Code de retour 0): "D:\WPI\Système\Dotnet\DNF11.exe"
16 décembre 2008 12:07:02 - Installation terminée.
-----
16 décembre 2008 12:07:02
Program: Mises-à-jour Diverses
ID unique: MISESJOURDIVERSES
Ordre: 900024
Catégorie: System
16 décembre 2008 12:07:20 - cmd1 Succès (Code de retour 0): "D:\WPI\Système\Updates\Silverlight.2.0.exe" /q
16 décembre 2008 13:13:57 - cmd2 Success (returned code 0): "D:\WPI\Système\Updates\windows-kb890830-v2.4.exe" Q
16 décembre 2008 13:15:14 - cmd3 Success (returned code 0): "D:\WPI\Système\Updates\WindowsSearch-KB940157-XP-x86-fra.exe" /q
16 décembre 2008 13:15:14 -
*** Installation aborted by user ***
-----
Number of failed installations: 0
Install process finished at: 16 décembre 2008 13:15:15
#14
Posted 16 December 2008 - 01:11 PM
I am curious why you have WPI in D:\$OEM$\$1\? Normally it is just D:\WPI. Enjoy, John.
#15
Posted 16 December 2008 - 01:37 PM
This post has been edited by Nox71: 16 December 2008 - 01:37 PM
#16
Posted 16 December 2008 - 01:51 PM
#17
Posted 17 December 2008 - 03:51 PM



Help
Back to top









