How can I implement this: SET CDROM=%~d0 or something similar to set the %CDROM% variable from the .INF file
Thanks in advance
This post has been edited by Anikan: 07 February 2006 - 11:36 PM
Posted 07 February 2006 - 11:34 PM
This post has been edited by Anikan: 07 February 2006 - 11:36 PM
Posted 08 February 2006 - 03:55 AM
Posted 08 February 2006 - 04:41 AM
Posted 08 February 2006 - 07:18 AM
Posted 08 February 2006 - 05:46 PM
Anikan, on Feb 8 2006, 07:18 AM, said:
This post has been edited by Anikan: 08 February 2006 - 05:47 PM
Posted 04 October 2006 - 04:01 PM
[Version] Signature=$CHICAGO$ [Optional Components] Presetup [Presetup] OptionDesc = "Presetup" Tip = "Presetup" Modes = 0,1,2,3 AddReg = Presetup.AddReg [Setup] OptionDesc = "Setup" Tip = "Setup" Modes = 0,1,2,3 AddReg = Setup.AddReg [SourceDisksNames] 1 = %cdname%,%cdtagfile%,,"" [Presetup.AddReg] HKLM,"%RunOnceEx%",,0x00000012 HKLM,"%RunOnceEx%",Flags,0x00010001,0x00000080 HKLM,"%RunOnceEx%\Presetup_1",1,,"rundll32 setupapi,InstallHinfSection Setup 128 %17%\Roex.inf" [Setup.AddReg] HKLM,"%RunOnceEx%",,0x00000012 HKLM,"%RunOnceEx%",Title,0x00000000,"Windows Update" HKLM,"%RunOnceEx%",Flags,0x00010001,0x00000020 HKLM,"%RunOnceEx%\Setup_1",,,"BTS DriverPacks" HKLM,"%RunOnceEx%\Setup_1",1,,"%24%\DPsFnshr.exe" HKLM,"%RunOnceEx%\Setup_2",,,"Windows Post-Install Wizard" HKLM,"%RunOnceEx%\Setup_2",1,,"%1%\WPI\WPI.hta" [strings] cdname = "AIO" cdtagfile = "\AIO.ICO" RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx"
This post has been edited by kof94: 04 October 2006 - 06:28 PM
Posted 05 October 2006 - 01:33 AM
HKLM,"%RunOnceEx%\Setup_2",1,,"%1%\WPI\WPI.hta"by
HKLM,"%RunOnceEx%\Setup_2",1,,"%01%\..\WPI\WPI.hta"
Posted 05 October 2006 - 02:27 AM
HKLM,"%RunOnceEx%\0080",,,"titou2k TTPack 2.2.0.2" HKLM,"%RunOnceEx%\0080",1,,"%01%\installs\common\TTPack\TTPack2202.exe"
[Strings] RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx"
Quote
Posted 05 October 2006 - 10:25 AM
Quote
HKLM,"%RunOnceEx%\0080",,,"titou2k TTPack 2.2.0.2" HKLM,"%RunOnceEx%\0080",1,,"%01%\installs\common\TTPack\TTPack2202.exe"
[Strings] RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx"
cmdlines.txt said:
Posted 05 October 2006 - 04:19 PM
Posted 05 October 2006 - 05:23 PM
[Version] Signature=$CHICAGO$ [Optional Components] Sysoc [Sysoc] OptionDesc = "Sysoc" Tip = "Sysoc" Modes = 0,1,2,3 AddReg = Sysoc.AddReg [Logon] OptionDesc = "Logon" Tip = "Logon" Modes = 0,1,2,3 AddReg = Logon.AddReg [Postlogon] OptionDesc = "Postlogon" Tip = "Postlogon" Modes = 0,1,2,3 AddReg = Postlogon.AddReg RunPostSetupCommands = Postlogon.Run [SourceDisksNames] 222 = %cdname%,%cdtagfile%,,"" [Sysoc.AddReg] HKLM,"%RunOnceEx%",,0x00000012 HKLM,"%RunOnceEx%",Flags,0x00010001,0x00000080 HKLM,"%RunOnceEx%\Sysoc_1",1,,"rundll32 setupapi,InstallHinfSection Logon 128 %17%\Roex.inf" [Logon.AddReg] HKLM,"%RunOnceEx%",,0x00000012 HKLM,"%RunOnceEx%",Flags,0x00010001,0x00000080 HKLM,"%RunOnceEx%\Logon_1",1,,"rundll32 advpack,LaunchINFSection %17%\Roex.inf,Postlogon" [Postlogon.AddReg] HKLM,"%RunOnceEx%",,0x00000012 HKLM,"%RunOnceEx%",Title,0x00000000,"Windows Update" HKLM,"%RunOnceEx%",Flags,0x00010001,0x00000020 HKLM,"%RunOnceEx%\Post_1",,,"BTS DriverPacks" HKLM,"%RunOnceEx%\Post_1",1,,"%24%\DPsFnshr.exe" HKLM,"%RunOnceEx%\Post_2",,,"Windows Post-Install Wizard" HKLM,"%RunOnceEx%\Post_2",1,,"%222%\WPI\WPI.hta" [Postlogon.Run] "%11%\rundll32.exe %11%\iernonce.dll,RunOnceExProcess" [strings] cdname = "AIO" cdtagfile = "\AIO.ICO" RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx"
%Systemroot%\system32\unknown\WPI\WPI.hta
This post has been edited by kof94: 06 October 2006 - 04:51 PM
Posted 10 October 2006 - 04:36 PM
Posted 13 October 2006 - 07:40 AM
[COMMANDS] "setup.cmd"
cmdow @ /HID @ECHO OFF net user Philip /add net localgroup Administrators Philip /add net accounts /maxpwage:unlimited ::RunOnceEX rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\setup.inf if %computername%==DESKTOP rundll32 setupapi,InstallHinfSection DesktopInstall 128 .\setup.inf if %computername%==NOTEBOOK rundll32 setupapi,InstallHinfSection NotebookInstall 128 .\setup.inf ::Tweaks rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\tweaks.inf if %computername%==DESKTOP rundll32 setupapi,InstallHinfSection DesktopInstall 128 .\tweaks.inf if %computername%==NOTEBOOK rundll32 setupapi,InstallHinfSection NotebookInstall 128 .\tweaks.inf EXIT
Posted 13 October 2006 - 08:14 AM
cmdow @ /HID @ECHO OFF net user Philip /add net localgroup Administrators Philip /add net accounts /maxpwage:unlimited for %%i in (setup tweaks) do ( rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\%%i.inf for %%n in (Desktop Notebook) do if /i "%computername%"=="%%n" rundll32 setupapi,InstallHinfSection %%nInstall 128 .\%%i.inf ) EXIT
This post has been edited by Delprat: 13 October 2006 - 08:15 AM