Jump to content

Recommended Posts

Posted

No mate else it won't work .... I tried .. Am using SetupComplete.cmd .. What I want to do basically is just import my registry tweaks and I want it to apply those tweaks to all future users ...

And in the $OEM$ folder I have a bunch of silent installs ... So if there is any other way to do my Registry tweaks please do tell.


Posted

As I told u b4 I cannot move the $OEM$ folder from sources as it contains Silent appz that install upon 1st logon ... as for AutoUnattend.xml it is in dvd root .. I have a practically finished Custom Vista I just need to find a way to apply my registry tweaks to all users including all future users ...

Posted (edited)

Make executables from your reg.files and include them just like applications on the batch.cmd..

By the way, why on earth do you have $oem$ in sources ?

Edited by The Felon
Posted
By the way, why on earth do you have $oem$ in sources ?

Well it's not me who put it there, It's because I used Vista Update Toolkit to inert Add-ons ;)

Posted

Am trying to add some registry tweaks to my Autounattend.xml but setup keeps shutting down for some reason @ the end.

Here's my Autounattend.xml :

<?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="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">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>0409:00000409</InputLocale>
<UserLocale>en-US</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-US</SystemLocale>
</component>
<component name="Microsoft-Windows-Setup" 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">
<UserData>
<ProductKey>
<Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<Organization>NewAge-OS.Net</Organization>
<FullName>PsyChoses</FullName>
<AcceptEula>true</AcceptEula>
</UserData>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Vista (vLite) ULTIMATE</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<EnableFirewall>false</EnableFirewall>
<EnableNetwork>true</EnableNetwork>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" 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">
<AutoLogon>
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipMachineOOBE></SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
<UserAccounts>
<AdministratorPassword>
<Value>QQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<DisplayName>Administrator</DisplayName>
<Group>Administrators</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" 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">
<ComputerName>NewAge-OS</ComputerName>
<Themes>
<DefaultThemesOff>false</DefaultThemesOff>
<CustomDefaultThemeFile>C:\Windows\Resources\Themes\SteelFlash Final.theme</CustomDefaultThemeFile>
</Themes>
<RegisteredOrganization>NewAge-OS.Net</RegisteredOrganization>
<RegisteredOwner>PsyChoses</RegisteredOwner>
</component>
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Security-Malware-Windows-Defender" 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">
<DisableAntiSpyware>true</DisableAntiSpyware>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" 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">
<StartPages>
<StartPage wcm:action="add">
<StartPageKey>NewAge-OS Team</StartPageKey>
<StartPageUrl>http://www.newage-os.net/</StartPageUrl>
</StartPage>
</StartPages>
<SearchScopes>
<Scope wcm:action="add">
<ScopeDefault>true</ScopeDefault>
<ScopeDisplayName>Google Search</ScopeDisplayName>
<ScopeKey>Google.com</ScopeKey>
<ScopeUrl>http://www.google.com/</ScopeUrl>
</Scope>
</SearchScopes>
</component>
<component name="Microsoft-Windows-Deployment" 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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>cmd /c "FOR %i IN (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:\RooT.txt SET CDROM=%i: -m"</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="auditSystem">
<component name="Microsoft-Windows-Shell-Setup" 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">
<AutoLogon>
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
</component>
</settings>
<settings pass="auditUser">
<component name="Microsoft-Windows-Deployment" 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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>cmd /c REGEDIT /S %CDROM%\Regtweaks.reg</Path>
<Description>Registry Tweaks</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:f:/vistafinal/sources/install.wim#Windows Vista (vLite) ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Posted (edited)

Coz if you read the Unattended guide you'd know it's for integrating the registry tweaks, or haven't you read the guide yet ?

Check it :

http://firegeier.unattended-sponsor.de/en/regtweaks.html

Edited by nokia999i
Posted (edited)

If you use a used a configuration set ($oem$) than all your aplications and

registry files would be copied to the hard drive before

they install so you could add synchonous commands with

the path pointing to your hard drive wich is more efficiant

than the appsroot.txt.

Example:

- <FirstLogonCommands>
- <SynchronousCommand wcm:action="add">
<CommandLine>%SYSTEMDRIVE%\INSTALL\INSTALL.CMD</CommandLine>
<Order>1</Order>
</SynchronousCommand>
</FirstLogonCommands>

Edited by The Felon
Posted

Can you post what the Install.cmd has inside ? I do not know as I am new to all this as you might have noticed ... A detailed guide would do just nicely mate ;)

10x ...

Posted (edited)

@echo off

ECHO.

ECHO.

ECHO. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

ECHO. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

ECHO. XX .........................................................XX

ECHO. XX..........................................................XX

ECHO. XX..........................................................XX

ECHO. XX...........INSTALLING ADDITIONAL.........XX

ECHO. XX....................PROGRAMS.....................XX

ECHO. XX..........................................................XX

ECHO. XX..........................................................XX

ECHO. XX......................................................,...XX

ECHO. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

ECHO. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

ECHO.

ECHO.

ECHO.

ECHO.

ECHO.

echo INSTALLING JAVA

start /wait %systemdrive%\install\java.exe

echo INSTALLING M.S.WORDVIEWER

start /wait %systemdrive%\install\M.S.WORDVIEWER.exe

echo INSTALLING UNI EXTRACTOR

start /wait %systemdrive%\install\UNIEXT.exe

echo INSTALLING V-LITE

start /wait %systemdrive%\install\v-lite.exe

rem reg tweak

%systemdrive%\install\regedit /s tweaks.reg

Edited by The Felon
Posted

What you mean is, the $OEM$ folder actually is the system drive, meaning everything inside it is automatically copied to hard drive before running ?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...