thehalon Posted September 30, 2004 Posted September 30, 2004 He Folks!I searched this forum. I searchen with google. But i dont find a reason why it doesnt work......winnt.sif:DetachedProgram = "%systemdrve%\7z.exe"Thanks für your help!~thehalon
RyanVM Posted September 30, 2004 Posted September 30, 2004 you need to use 7za.exe if you don't have 7zip installed
thehalon Posted September 30, 2004 Author Posted September 30, 2004 This is a self extracting file. How do I use 7za.exe??DetachedProgram = "%systemdrive%\7za.exe"Arguments = "x SD.7z -aoa"EDIT:Tested it... It also doesnt work
prathapml Posted October 1, 2004 Posted October 1, 2004 Well, I use the below code in my winnt.sif to extract my drivers (no need of 7za.exe). The file below is an SFX archive created with 7-Zip:[GuiUnattended] DetachedProgram="%systemroot%\PnPdrvrs.exe" Arguments="-y /q /r:n"So now, this will get extracted right into the folder where its located. In other words, after the above command has run, the folder "C:\Windows\PnPdrvrs\" exists, with the extracted files from the archive.
thehalon Posted October 1, 2004 Author Posted October 1, 2004 thx a lot! i am going to test it in a few minutes!EDIT: its not working.... what can be wrong??[Data] Autopartition = 0 MsDosInitiated = 0 UnattendedInstall = Yes[Unattended] UnattendMode = FullUnattended OemSkipEulA = Yes OemPreinstall = Yes TargetPath = "\WINXP" Repartition = No Unattendswitch = Yes WaitForReboot = No AutoActivate = No KeyboardLayout = "German" ProgramFilesDir = "%systemdrive%\ProgramFiles" CommonProgramFilesDir = "%systemdrive%\ProgramFiles\CommonFiles"[GuiUnattended] AdminPassword = "admin" EncryptedAdminPassword = No OEMSkipRegional = 1 TimeZone = 110 OemSkipWelcome = 1 ProfilesDir = "%systemdrive%\DocumentsandSettings\" DetachedProgram="%systemdrive%\7z.exe" Arguments="-y /q /r:n"[Display] BitsPerPel = 32 XResolution = 1024 YResolution = 768 Vrefresh = 85[UserData] ProductKey = KEY-KEY-KEY-KEY-KEY FullName = "name" OrgName = "org" ComputerName = "computer"[TapiLocation] CountryCode = 49 Dialing = Pulse[RegionalSettings] LanguageGroup = 1 Language = 00000407 SystemLocale = 00000407 UserLocale = 00000407 InputLocale = 0407:00000407[Identification] JoinWorkgroup = "workgroup"[Networking] InstallDefaultComponents = Yes[Componants] msmsgs = off msnexplr = off OEAccess = off media_clips = off media_utopia = off Accessopt = off templates = off fax = off Clipbook = off hypertrm = off rec = off pinball = off freecell = off minesweeper = off solitaire = off spider = off hearts = off zonegames = off[Shell] CustomDefaultThemeFile = "%WinDir%\Resources\Themes\my.theme" DefaultStartPanelOff = Yes
moo Posted October 1, 2004 Posted October 1, 2004 Whwn do you keep DetachedProgram? It must be under $OEM$/$1 folder.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now