Jump to content

myselfidem

Member
  • Posts

    2,515
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Switzerland

Everything posted by myselfidem

  1. When I use imagex for delete a Windows version, that works fine; but there a is problem. Once done the versions deleted aren't displayed inside the dialog box for the version I want to install! Example with Windows 7 Ultimate After that, with my version Windows 7 Ultimate x86, I see only 3 versions: Some help here: http://technet.microsoft.com/en-us/library/cc749447(WS.10).aspx http://technet.microsoft.com/en-us/library/cc507842.aspx But I see when I delete "install.wim 1" the order and the number of the version have changed! That means, if I delete after "install.wim 2" => that dont'match the Windows version I want to delete!! Weird! And after if I delete "install.wim 3" Windows 7 Ultimate is deleted! Maybe because the order has changed? I think it's needed to use: imagex /delete c:\Win7DVD\sources\install.wim 1 /check Inside the attached image you can see Windows 7 Ultimate postion 3. At first time it was position 5. If I delete "install.wim 3" Windows 7 Ultimate is deleted! The order have changed! Weird!
  2. Maybe you can try this: Delete the file "ie.cfg" inside "sources" and during the installation all Windows version are displayed. The customer can choose the version he wants to install. And when the task for the key appears he can skip the dialog box. The default key will be installed for the version he had choosen to continue the unattended installation. He can at this time set the valid key, also! http://www.mydigitallife.info/2009/07/23/how-to-select-any-edition-or-version-sku-of-windows-7-to-install-from-single-edition-dvd-disc-media-or-iso/ I hope that will help you!
  3. You can find the default keys inside your DVD Windows 7 "sources\product.ini". You can find all the keys you need for an unattended install!
  4. Thanks for your reply! My idea it's to use the "Autounattend.xml" needed for the Windows 7 version you want to install! That means the others "Autounattend.xml" have an other name for not create an conflict. Example: Just rename the file "Autounattend_Pro.xml" as "Autounattend.xml" for the installation! And in this way you have only one used for the unattended install! You can also use an name with text format, maybe it's better: "Autounattend_Ultimate.txt" And rename this one "Autounattend.xml" when you want install Windows 7 Ultimate. It's just an idea! But I think about your question!
  5. I've found some help here: http://technet.microsoft.com/en-us/library/dd744512(WS.10).aspx#UsingAnswerFilesWithSysprep Extract: Inside the answer file sysprep.xml (example: Windows 7 x86 Professional): <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="generalize"> <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipRearm>1</SkipRearm> </component> <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> <DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices> </component> </settings> I hope that will help you!
  6. @beatmaster I see you have given my answer inside your Web site "win-lite.de" for your member pru79! Thanks. I've just made a correction inside the last post: The path must be: "C:\Program Files\Windows AIK\Tools\amd64\Servicing\Dism.exe" I hope his problem will be solved!
  7. I think the problem is the space inside "Program Files"! You can use quotes.Like this: <SynchronousCommand wcm:action="add"> <CommandLine>cscript //b "C:\Program Files\Microsoft Office\Office14\ospp.vbs" /inpkey:PRODUCT KEY</CommandLine> <Order>4</Order> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>cscript //b "C:\Program Files\Microsoft Office\Office14\ospp.vbs" /act</CommandLine> <Order>5</Order> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> Or like this: <CommandLine>cscript //b C:\"Program Files"\Microsoft Office\Office14\ospp.vbs /inpkey:PRODUCT KEY</CommandLine> Or you can use %PROGRAMFILES%
  8. Hello You can use a batch file to install Office. Set inside SetupComplete.cmd My example for Office Standard 2007: REG ADD %KEY%\005 /VE /D "Office Standard 2007" /f REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Office\SETUP.EXE /config %systemdrive%\Install\Office\STANDARDR.WW\CONFIG.XML" /f Silent install. Set your values inside "CONFIG.XML" for an unattended install.
  9. Hello At this time DriverPacks don't works for Windows 7. It's in project. Maybe you can find some help here: http://forum.driverpacks.net/viewforum.php?id=45 http://driverpacks.net/docs/miscellaneous-guides/how-use-windows-7-dism-muiz. http://driverpacks.net/docs/miscellaneous-guides/dism-walkthrough-observations-my-first-ever-attempt
  10. @beatmaster I think the error is the path for Dism.exe for Windows 7 x64! Inside the attached file "dism.log", we can see that: Host machine information: OS Version=6.1.7600, Running architecture=amd64, Number of processors=1 2010-06-13 15:25:30, Info DISM DISM.EXE: Executing command line: "C:\Program Files\Windows AIK\Tools\Servicing\Dism.exe" /mount-wim /wimfile:"C:\7customizer\win7x64\sources\install.wim" /index:2 /mountdir:"work\mount" Inside mine, I can see for Windows 7 x86 Ultimate: Host machine information: OS Version=5.1.2600, Running architecture=x86, Number of processors=2 2010-06-14 22:39:51, Info DISM DISM.EXE: Executing command line: "C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe" /mount-wim /wimfile:"C:\Win7\sources\install.wim" /index:5 /mountdir:"work\mount" The path must be: "C:\Program Files\Windows AIK\Tools\amd64\Servicing\Dism.exe" Create a folder inside the root of the HDD, like C:\; D:\,etc and not inside 7Customizer! C:\win7x64 and not C:\7customizer\win7x64 With 7Customizer, at the first main menu it's nedeed to choose carefully the path for imagex.exe; Dism.exe and oscdimg.exe. In this case choose for amd64. I hope that will help you!
  11. Excellent! I don't use a server. I've used MDT 2010 on a support Media successfully! Merci beaucoup!
  12. I think it depends what version Office 2010 you have! Professional Edition or Student Edition, Standard Edition! If you have Professionnal Edition it's OK, but for Standard Edition it's possible in an other way with RunOnceex method.
  13. Hello <AutoLogon> <Enabled>true</Enabled> <LogonCount>5</LogonCount> <Username>Administrator</Username> <Password> <Value>xxxxxx</Value> <PlainText>false</PlainText> </Password> </AutoLogon> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <PlainText>false</PlainText> <Value>xxxxxx</Value> </Password> <Group>Administrators</Group> <DisplayName>myselfidem</DisplayName> <Name>myselfidem</Name> </LocalAccount> </LocalAccounts> </UserAccounts>
  14. Hello Your question is solved: http://www.msfn.org/board/index.php?showtopic=144408&st=20 Thanks to cluberti for his precious help!
  15. Nice You can make the same process explained here with a Windows 7 x64 Professional! See also, example here: http://blog.brianleejackson.com/sysprep-a-windows-7-machine-start-to-finish http://www.brianleejackson.com/download/7_sysprep/7_enterprise_x64_sysprep.xml Check your file "sysprep64.xml" with WSIM and validate it! Enjoy!
  16. Hello For your file "ClaraLaptop.vbs" you need to use cscript.exe! I've tested with no error and works fine. <RunSynchronousCommand wcm:action="add"> <Path>cscript.exe c:\windows\ClaraLaptop.vbs</Path> <Order>4</Order> </RunSynchronousCommand> Like cluberti gives you: ' Get the SMBIOS asset tag from the Win32_SystemEnclosure class Option Explicit Dim strComputer, strChassis Dim objWMIService, objInstance, objResults, objItem Dim bIsLaptop, bIsDesktop, bIsServer, bIsVirtual, sAssetTag, objShellApp, isRunning bIsLaptop = False bIsDesktop = False bIsServer = False bIsVirtual = False RunMeWithCScript() strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") Set objResults = objWMIService.ExecQuery( _ "SELECT * FROM Win32_SystemEnclosure",,48) For Each objInstance in objResults If objInstance.ChassisTypes(0) = 12 or objInstance.ChassisTypes(0) = 21 Then ' Ignore docking stations Else If Not IsNull(objInstance.SMBIOSAssetTag) Then sAssetTag = Trim(objInstance.SMBIOSAssetTag) End If Select Case objInstance.ChassisTypes(0) Case "2" bIsVirtual = True Case "8", "9", "10", "11", "12", "14", "18", "21" bIsLaptop = True Case "3", "4", "5", "6", "7", "15", "16" bIsDesktop = True Case "23" bIsServer = True Case Else ' Do nothing End Select End If Next If bIsVirtual = False Then Set objShellApp = CreateObject("WScript.Shell") Set isRunning = objShellApp.Exec("msiexec /i C:\WINDOWS\Clara.msi /passive /norestart") End If Sub RunMeWithCScript() Dim ScriptEngine, engineFolder, Args, arg, scriptName, argString, scriptCommand ScriptEngine = UCase(Mid(WScript.FullName, InstrRev(WScript.FullName, "\") + 1)) engineFolder = Left(WScript.FullName, InstrRev(WScript.FullName, "\")) argString = "" 'WScript.Echo ScriptEngine If ScriptEngine = "WSCRIPT.EXE" Then Dim Shell Set Shell = CreateObject("WScript.Shell") Set Args = WScript.Arguments For Each arg in Args 'loop though argument array as a collection to rebuild argument string If InStr(arg, " ") > 0 Then arg = """" & arg & """" 'If the argument contains a space wrap it in double quotes argString = argString & " " & Arg Next 'Create a persistent command prompt for the cscript output window and call the script with its original arguments scriptCommand = "cmd.exe /k " & engineFolder & "cscript.exe """ & WScript.ScriptFullName & """" & argString Shell.Run scriptCommand, , False WScript.Quit Else Exit Sub 'Already Running with Cscript Exit this Subroutine End If End Sub Thanks to cluberti for his nice work!
  17. You can add this lines : <AutoLogon> <Enabled>true</Enabled> <LogonCount>5</LogonCount> <Username>Administrator</Username> <Password> <Value>xxxxxx</Value> <PlainText>false</PlainText> </Password> </AutoLogon> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <PlainText>false</PlainText> <Value>xxxxxx</Value> </Password> <Group>Administrators</Group> <DisplayName>myselfidem</DisplayName> <Name>myselfidem</Name> </LocalAccount> </LocalAccounts> </UserAccounts> I hope that will help you!
  18. Hello For the Drivers you can try this: <settings pass="auditSystem"> <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DriverPaths> <PathAndCredentials wcm:action="add" wcm:keyValue="1"> <Credentials> <Domain></Domain> <Password>password</Password> <Username>Administrator</Username> </Credentials> <Path>\Drivers</Path> </PathAndCredentials> The folder Drivers is at the root of your partition C:\ That means the folder with all your drivers (with subfolders) is inside: "sources\$OEM$\$1\Drivers". I hope that will help you!
  19. Nice Local account inside group Administrators like this: <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>aABjAG0AaABwACEAUABhAHMAcwB3AG8AcgBkAA==</Value> <PlainText>false</PlainText> </Password> <Group>Administrators</Group> <DisplayName>Admin</DisplayName> <Name>Admin</Name> </LocalAccount> </LocalAccounts> Preserving activation, some help here: http://www.mydigitallife.info/2009/09/24/how-to-backup-and-restore-windows-7-and-server-2008-r2-activation-status-activate-offline-on-reinstall/
  20. With WSIM you can load source install.wim, and you have this line: </settings> <cpi:offlineImage cpi:source="wim:c:/winpro7/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> Don't forget to save your new sysprep.xml I've made with your informations: source folder: "C:\winpro7" I hope that will help you!
×
×
  • Create New...