Jump to content

Octopuss

Member
  • Posts

    1,212
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Czech Republic

Everything posted by Octopuss

  1. Can't crack it up!! I switched the graphic drivers installation to setupcomplete.cmd because that executes before firstlogoncommands and before any account is logged on in fact, but it still didn't help because apparently I need to restart the machine in order for registry change to take effect. Getting out of ideas here Maybe install the **** driver in WindowsPE phase and set theme during setupcomplete.cmd phase.
  2. I got another question regarding firstlogoncommands. 1) They are executed in the order they are put in the answer file, or in the order of their numbers? 2) what happens if something causes the PC to restart before they are all executed? will they continue after next boot? If not, what do I do in case of say installing graphics drivers which need restart, but other commands need to be executed after that?
  3. I don't think I will manage because I'd have to do it AFTER the graphics driver is installed, and I do that with firstlogoncommands, which is processed virtually right before the desktop appears. I guess the only way is to inject the driver right into the image, but I don't want to do that (yet). I will try Legolash's approach now.
  4. I got as far as installing graphic drivers and have <Themes> <DefaultThemesOff>true</DefaultThemesOff> <ThemeName>AeroNoBackground</ThemeName> </Themes> in my unattended file, BUT the trouble is the theme only shows up in installed ones and is not active. Balls. There must be a way to do this. MAYBE the problem is the theme is set before firstlogoncommands when Aero is not running because of drivers yet.
  5. Hm. I always used it in batch files and .reg files without problems. Never used it in unattended answer file either. Everything always worked...
  6. Might as well try asking here. I am trying to install ATI Catalyst driver with firstlogoncommands. The code is as follows <CommandLine>cmd /c %systemdrive%\TEMP\graphics\bin64\setup.exe /unattended_install:c:\temp\graphics\Packages\Apps\CIM\Win64;c:\temp\graphics\Packages\Drivers\Display\W76A_INF;c:\temp\graphics\Packages\Drivers\WDM\HDMI\W764a;c:\temp\graphics\Packages\Apps\PXProfile;c:\temp\graphics\Packages\Apps\IntelMedia\WinW764a /force_hide_first_run /autoaccept_all /force_close_when_done /ON_REBOOT_MESSAGE:YES</CommandLine> This works perfectly when executed manually. However, in unattended setup it doesn't do anything. I don't even see a new cmd window pop up like with other stuff I install. Is there anything wrong about the code? I tried the following: -double backslashes (not sure how this works yet, see my other thread here) - no "cmd /c" - "cmd /c start /wait" There must be a catch somewhere. Grr.
  7. Slight change: \bin64\setup.exe /unattended_install:c:\temp\graphics\Packages\Drivers\Display\W76A_INF;c:\temp\graphics\Packages\Drivers\WDM\HDMI\W764a;c:\temp\graphics\Packages\Apps\PXProfile;c:\temp\graphics\Packages\Apps\CIM\Win64;c:\temp\graphics\Packages\Apps\IntelMedia\WinW764a /force_hide_first_run /autoaccept_all /force_close_when_done /ON_REBOOT_MESSAGE:YES This does work when simply executed, but doesn't work in unattended Windows 7 installation for some unknown reason
  8. Guys, can you tell me where exactly do I NEED to use double backslashes please? I tried to google it up and didn't get any definite answer. I never used it once and never had a problem. Various sources say I MUST use double backslashes in scripts, but that's quite general statement. Never had problems using single backslash in .reg files, batch files, or unattended one.
  9. Control Center should NOT be installed, period. There are enough viruses out already
  10. Apparently this is supposed to work: setup.exe /unattended_install:"c:\temp\graphics\Packages\Drivers\Display\W76A_INF\C7126477.msi";"c:\temp\graphics\Packages\Drivers\WDM\HDMI\W764a\AtihdW76.msi";"c:\temp\graphics\Packages\Apps\PXProfile\PXProfile.msi";"c:\temp\graphics\Packages\Apps\CIM\Win64\ATICatalystInstallmanager.msi";"c:\temp\graphics\Packages\Apps\IntelMedia\WinW764a\WinW764a.msi"; /force_hide_first_run /autoaccept_all /force_close_when_done /ON_REBOOT_MESSAGE:NO but nothing gets installed - I see the progress window, setup correctly finishes, but none of the packages is installed. AMD/ATI is really good at using really weird technology. The installer is really weird.
  11. I didn't even think it was possible, but I was very surprised I actually got a result from /? parameter! Unfortunately it doesn't seem to work anyway, the setup seems to go through all the steps correctly but nothing gets installed
  12. Is there any documentation for this? I managed to google up some results but apparently the company changes this stuff every year/major version.
  13. Ah that sounds like viable alternative! Thanks! Is there a way to do it in unattended file though?
  14. So I found out Microsoft was too active and smart yet again and using .theme files is deprecated in W7. How on earth am I supposed to set a slightly customized Aero theme in an unattended way then? Could someone give me an idea? Help for WSIM didn't help me at all because it covers entirely different stuff. I do not need to create a theme from my own pictures or whatever.
  15. Well I tried this as you can see from the code I pasted before and it just doesn't work, which is why I asked what I was doing wrong... [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IMAGEX compress export\command] @="cmd /k \"%ProgramFiles%\\Windows AIK\\Tools\\amd64\\ImageX.exe\" /export \"%1\" * \"%1\".new" It just doesn't work. The output is The system cannot find the path specified. P.S. I always have used single backslash and it never caused any problems, so what's the reason to use two?
  16. I am killing myself trying to make the imagex compress+export thing to work with no luck. If I edit your original file with different path to imagex (I have WAIK installed) it just doesn't work and says can't find path blabla... Must be a quote problem but I got lost lol edit: ok I figured I should use \" but it still doesn't do jack @="cmd /k \"C:\Program Files\Windows AIK\Tools\amd64\ImageX.exe\" /export \"%1\" * \"%1\".new" now it says 'C:\Program' is not recognized as an internal or external command, operable program or batch file. P.S. Why do you use double blackslashes?
  17. Yup the drivers thing works flawlessly. <Path>$WinPEDriver$</Path> that is. I am having some really weird problems with setup process anyway. Fistly, 95% of the time I get this weird popup saying there is no driver to be found for CD/DVD drive, which makes no sense. If I copy standard Intel SATA driver files onto something and feed it in, it processes further. Sometimes I don't get it. Huh. What REALLY sucks is that after the product key change I can basically install normally but on physical machine, starting with firstlogoncommands I get weird errors about not being able register some flash files (flash player being one of the things I install that way), and when the **** OS is supposed to start for the first time, upon showing the desktop it yells out that I am logged on with default profile of some sort and some path (which ironically mentions default profile) is not accessible anymore. Really totally odd stuff happening here.
  18. That's a good point. I slapped it in there because I am installing a new laptop for my father in law. After bout ten hours of desperate attempts and googling like mad I finally tried to use Specialize\Microsoft-Windows-Shell-Setup\ProductKey instead of doing it in WindowsPE phase and it magically works. What you say kinda makes sense but I always put the keys in here and it worked. Both HP and Lenovo ones. It's really weird. Sigh.
  19. How on earth can this <ProductKey> <Key>237XB-GDJ7B-MV8MH-98QJM-24367</Key> </ProductKey> cause the image not to be recognized and this <ProductKey>74T2M-DKDBC-788W3-H689G-6P6GT</ProductKey> makes the setup process normally???!! The first one is according to WSIM documentation even! edit: damnit, it doesn't work. Setup lets me continue but after restart I am asked for product key. ****!
  20. I don't understand. I am saying I am getting the "there are no images available" error during setup even when trying to install in a VM. I know I did have this problem months ago and solved it somehow with the unattended file, but this one was being successfully used for half a yeart. I really have no idea what's the cause. If I don't use autounattend.xml AT ALL, I can install the **** system. lol. There is SOMETHING wrong in my file but I have absolutely no idea what.
  21. Ok now It simply says there are no images even in VM. Someone please run through the file briefly, I can't see anything wrong there.
  22. I have a kind of WTF situation here. I get all those system locale and EULA and whatever things pop up on me despite having autounattend.xml in the right place. When I click through that, setup says it needs drivers for CD/DVD drive or some crap like that. Furthermore, it DOES work in a VM. It also says there are no images available when I somehow manage to make it work. This is unattended file I used for months and it simply worked without problems. I have no idea what's going on :-O I am completely out of ideas what's wrong. Could anyone tell? <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" 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"> <SetupUILanguage> <UILanguage>cs-CZ</UILanguage> </SetupUILanguage> <InputLocale>cs-CZ</InputLocale> <SystemLocale>cs-CZ</SystemLocale> <UILanguage>cs-CZ</UILanguage> <UserLocale>cs-CZ</UserLocale> <UILanguageFallback>en-US</UILanguageFallback> </component> <component name="Microsoft-Windows-Setup" 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"> <UserData> <AcceptEula>true</AcceptEula> <ProductKey> <Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key> </ProductKey> </UserData> <!--<DiskConfiguration> <Disk wcm:action="add"> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Type>Primary</Type> <Size>100</Size> </CreatePartition> <CreatePartition wcm:action="add"> <Order>2</Order> <Type>Primary</Type> <Size>10000</Size> </CreatePartition> <CreatePartition wcm:action="add"> <Order>3</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Order>1</Order> <PartitionID>1</PartitionID> <Active>true</Active> <Format>NTFS</Format> <Label>Boot</Label> </ModifyPartition> <ModifyPartition wcm:action="add"> <Order>2</Order> <PartitionID>2</PartitionID> <Format>NTFS</Format> <Letter>C</Letter> </ModifyPartition> <ModifyPartition wcm:action="add"> <Order>3</Order> <PartitionID>3</PartitionID> <Format>NTFS</Format> <Letter>D</Letter> </ModifyPartition> </ModifyPartitions> </Disk> </DiskConfiguration>--> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/INDEX</Key> <Value>1</Value> </MetaData> </InstallFrom> <!-- <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo>--> </OSImage> </ImageInstall> </component> <component name="Microsoft-Windows-PnpCustomizationsWinPE" 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"> <Path>$WinPEDriver{:content:}lt;/Path> </PathAndCredentials> </DriverPaths> </component> </settings> <settings pass="offlineServicing"> <component name="Microsoft-Windows-LUA-Settings" 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"> <EnableLUA>false</EnableLUA> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-ErrorReportingCore" 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"> <DisableWER>1</DisableWER> </component> <component name="Microsoft-Windows-IE-ClientNetworkProtocolImplementation" 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"> <CacheLimit>51200</CacheLimit> </component> <component name="Microsoft-Windows-IE-InternetExplorer" 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"> <DisableAccelerators>true</DisableAccelerators> <DisableFirstRunWizard>true</DisableFirstRunWizard> <DisableWelcomePage>true</DisableWelcomePage> <DisableOOBAccelerators>true</DisableOOBAccelerators> <EnableLinksBar>false</EnableLinksBar> <FavoritesDelete>true</FavoritesDelete> <Home_Page>http://www.google.com</Home_Page> <SuggestedSitesEnabled>false</SuggestedSitesEnabled> <ShowInformationBar>true</ShowInformationBar> <SearchScopes> <Scope wcm:action="add"> <DisplayQuickPick>true</DisplayQuickPick> <ScopeKey>Search1</ScopeKey> <ScopeDisplayName>Google</ScopeDisplayName> <ScopeUrl>http://www.google.com/search?q={searchTerms}</ScopeUrl> <ScopeDefault>true</ScopeDefault> <FaviconURL>http://www.google.com/favicon.ico</FaviconURL> <ShowSearchSuggestions>false</ShowSearchSuggestions> </Scope> </SearchScopes> <DisableDevTools>true</DisableDevTools> </component> <component name="Microsoft-Windows-RemoteAssistance-Exe" 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"> <fAllowToGetHelp>false</fAllowToGetHelp> </component> <component name="Microsoft-Windows-Shell-Setup" 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"> <CopyProfile>true</CopyProfile> <ComputerName>hroch</ComputerName> <ShowWindowsLive>false</ShowWindowsLive> </component> <component name="Microsoft-Windows-SQMApi" 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"> <CEIPEnabled>0</CEIPEnabled> </component> <!-- <component name="Microsoft-Windows-UnattendedJoin" 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"> <Identification> <Credentials> <Domain></Domain> <Username>admin</Username> <Password></Password> </Credentials> <JoinDomain></JoinDomain> <MachineObjectOU>OU=, OU=, OU=, OU=, DC=, DC=</MachineObjectOU> </Identification> </component>--> <component name="Security-Malware-Windows-Defender" 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"> <DisableAntiSpyware>true</DisableAntiSpyware> </component> <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DisableAccelerators>true</DisableAccelerators> <DisableFirstRunWizard>true</DisableFirstRunWizard> <DisableWelcomePage>true</DisableWelcomePage> <DisableOOBAccelerators>true</DisableOOBAccelerators> <EnableLinksBar>false</EnableLinksBar> <FavoritesDelete>true</FavoritesDelete> <Home_Page>http://www.google.com</Home_Page> <ShowInformationBar>true</ShowInformationBar> <SuggestedSitesEnabled>false</SuggestedSitesEnabled> <SearchScopes> <Scope wcm:action="add"> <DisplayQuickPick>true</DisplayQuickPick> <ScopeKey>Search1</ScopeKey> <ScopeDisplayName>Google</ScopeDisplayName> <ScopeUrl>http://www.google.com/search?q={searchTerms}</ScopeUrl> <ScopeDefault>true</ScopeDefault> <FaviconURL>http://www.google.com/favicon.ico</FaviconURL> <ShowSearchSuggestions>false</ShowSearchSuggestions> </Scope> </SearchScopes> <DisableDevTools>true</DisableDevTools> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" 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"> <UserAccounts> <AdministratorPassword> <Value></Value> <PlainText>true</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value></Value> <PlainText>true</PlainText> </Password> <DisplayName>Administrator</DisplayName> <Group>Administrators</Group> <Name>Administrator</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <AutoLogon> <Username>Administrator</Username> <LogonCount>3</LogonCount> <Enabled>true</Enabled> <Password> <Value></Value> <PlainText>true</PlainText> </Password> </AutoLogon> <OOBE> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <ProtectYourPC>1</ProtectYourPC> <NetworkLocation>Other</NetworkLocation> <HideEULAPage>true</HideEULAPage> </OOBE> <FirstLogonCommands> <!-- <SynchronousCommand wcm:action="add"> <Order>1</Order> <CommandLine>cmd /c start /wait msiexec.exe /quiet /i %systemdrive%\install\ANTIVIR\eavbe_nt64_csy.msi REBOOT="ReallySuppress" ADMINCFG="%systemdrive%\install\ANTIVIR\NOD_Kiboon.xml"</CommandLine> <Description>install NOD</Description> </SynchronousCommand>--> <SynchronousCommand wcm:action="add"> <Order>1</Order> <CommandLine>cmd /c start /wait %systemdrive%\install\dotNetFx40_Full_x86_x64.exe /q /norestart</CommandLine> <Description>install .NET 4</Description> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>2</Order> <CommandLine>cmd /c start /wait %systemdrive%\install\jre-6u31-windows-i586-s.exe /s</CommandLine> <Description>install Java</Description> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>3</Order> <CommandLine>cmd /c start /wait msiexec.exe /quiet /i %systemdrive%\install\install_flash_player_11_active_x_64bit.msi</CommandLine> <Description>install Flash Player</Description> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>4</Order> <CommandLine>cmd /c start /wait msiexec.exe /quiet /i %systemdrive%\install\install_flash_player_11_plugin_64bit.msi</CommandLine> <Description>install Flash Player</Description> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>5</Order> <CommandLine>cmd /c start /wait msiexec.exe /quiet /i %systemdrive%\install\adobe\AdbeRdr950_cs_CZ.msi ALLUSERS=TRUE EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES TRANSFORMS=%systemdrive%\install\adobe\AdbeRdr950_cs_CZ.mst</CommandLine> <Description>install Adobe Reader</Description> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>6</Order> <CommandLine>cmd /c start /wait msiexec.exe /quiet /i %systemdrive%\install\7z920-x64.msi INSTALLDIR="%programfiles%\7-Zip"</CommandLine> <Description>install 7-Zip</Description> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>7</Order> <CommandLine>cmd /c start /wait %systemdrive%\install\TotalCommander\install.exe</CommandLine> <Description>install Total Commander</Description> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>8</Order> <CommandLine>cmd /c copy /y "%systemdrive%\install\TotalCommander\wincmd.ini" "%programfiles%\totalcmd\"</CommandLine> <Description>copy Total Commander settings</Description> </SynchronousCommand> <!-- <SynchronousCommand wcm:action="add"> <Order>10</Order> <CommandLine>cmd /c start /wait %systemdrive%\TEMP\Win7Vista_64_152254.exe -s -A -s -b</CommandLine> <Description>install display driver</Description> </SynchronousCommand>--> </FirstLogonCommands> <TimeZone>Central Europe Standard Time</TimeZone> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <VisualEffects> <FontSmoothing>ClearType</FontSmoothing> </VisualEffects> </component> <component name="Microsoft-Windows-International-Core" 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"> <InputLocale>cs-CZ</InputLocale> <SystemLocale>cs-CZ</SystemLocale> <UILanguageFallback>en-US</UILanguageFallback> <UILanguage>cs-CZ</UILanguage> <UserLocale>cs-CZ</UserLocale> </component> </settings> </unattend>
  23. Just out of curiosity, what is it that behaves SO differently that you can't switch from 2k to XP, which is almost obsolete already? I just kind of remembered how 2k was the first real OS I saw. Man I was so happy when I got used to it and realized how solid and great it was compared to the junk from before. Anyway, I never noticed any differences in mouse behaviour in any Windows version, so I am kinda curious here.
  24. I stopped using 7C when I realized it was never going to rise from ashes again. Just like RT7Lite, only the latter was much much crappier In the end I learned to do it all by myself. Win win!
  25. Of course sometimes there are undocumented or hidden parameters, but I like to stick with what's working and not trying to invent any voodoo. For example, there's not even any EULA whatsoever to agree to, so that option simply doesn't even make sense.
×
×
  • Create New...