• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
maxXPsoft

Ask your Seven xml ? here

616 posts in this topic

OK!

I give you your Autounattend.xml file working; with your values but added:

<ImageInstall>

<OSImage>

<WillShowUI>Always</WillShowUI>

Like explained above!

You can check with WSIM!

*Edit: post updated with a new Autounattend.xml and a new computer name whithout space!

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

OK!

I give you your Autounattend.xml file working; with your values but added:

<ImageInstall>

<OSImage>

<WillShowUI>Always</WillShowUI>

Like explained above!

You can check with WSIM!

Wow thanks mate, you are really a life saver, I just tried your xml and its fine atleast in wsim, now I would test it with my multiboot OS and let you know.

0

Share this post


Link to post
Share on other sites

OK!

I give you your Autounattend.xml file working; with your values but added:

<ImageInstall>

<OSImage>

<WillShowUI>Always</WillShowUI>

Like explained above!

You can check with WSIM!

Hey mate I am getting the same error which I have mentioned here:

I have already checked you have already changed this "Microsoft-Windows-Security-Licensing-SLC-UX." to "Microsoft-Windows-Security-SPP-UX" in the xml which you have given to me.

Edited by nice_guy75
0

Share this post


Link to post
Share on other sites

OK! But it's not the same problem.

I've updated my post #126 above with a new Autounattend.xml (x86 and amd64) for you!

The trouble was that no empty space (gap) are supported for the computer_name, I renamed "Win7_Vaio". But you can change if you want, of course!

Thanks to tell if you have errors! I've tested with my settings and all is fine!

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

OK! But it's not the same problem.

I've updated my post #126 above with a new Autounattend.xml (x86 and amd64) for you!

The trouble was that no empty space (gap) are supported for the computer_name, I renamed "Win7_Vaio". But you can change if you want, of course!

Thanks to tell if you have errors! I've tested with my settings and all is fine!

Ok thanks mate, I will try the new xml in installation and let you know who it goes.

0

Share this post


Link to post
Share on other sites

Hi all,

I've 2 quesions

1) It is possible to merge 2 command line in the same SynchronousCommand?

                <SynchronousCommand wcm:action="add"> 
<Order>2</Order>
<Description>Windows Malicious Software Removal Tool 3.18.4804.0</Description>
<CommandLine>cmd /C start /wait c:\Install\windows-kb890830-v3.18.exe /Q</CommandLine>
</SynchronousCommand>

<SynchronousCommand wcm:action="add">
<Order>3</Order>
<Description>Windows Malicious Software Removal Tool 3.18.4804.0 delta</Description>
<CommandLine>cmd /C start /wait c:\Install\windows-kb890830-v3.18-delta.exe /Q</CommandLine>
</SynchronousCommand>

to merge like

                <SynchronousCommand wcm:action="add"> 
<Order>2</Order>
<Description>Windows Malicious Software Removal Tool 3.18.4804.0</Description>
<CommandLine>cmd /C start /wait c:\Install\windows-kb890830-v3.18.exe /Q</CommandLine>
<CommandLine>cmd /C start /wait c:\Install\windows-kb890830-v3.18-delta.exe /Q</CommandLine>
</SynchronousCommand>

2) At Win7 installation start, It ask for the partition (in my case System, Primary Logical) where to install Windows (see here image bellow).

What the System partition (100MB) used for?

Can I ignore it?

How to parameter Autounattend.xml to ignore that System partition (100MB)?

Regards

post-11791-0-99920700-1304604126_thumb.j

0

Share this post


Link to post
Share on other sites

Don't think you can combine that but I haven't tried.

Might do this. max length is 1024 characters. Notice the | <CommandLine>cmd /C start /wait c:\Install\windows-kb890830-v3.18.exe /Q | start /wait c:\Install\windows-kb890830-v3.18-delta.exe /Q</CommandLine>

If you use Bitlocker you need the 100mb.

You can wipe out part2 and extend the 100mb out. I'm guessing part3 is a backup location?

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

TNX maxXPsoft for yr help,

If I well understand the commandLine will looks like bellow. Isn't it?

                <SynchronousCommand wcm:action="add">  
<Order>2</Order>
<Description>Windows Malicious Software Removal Tool 3.18.4804.0</Description>
<CommandLine>cmd /C start /wait c:\Install\windows-kb890830-v3.18.exe /Q | start /wait c:\Install\windows-kb890830-v3.18-delta.exe /Q</CommandLine>
</SynchronousCommand>

Regarding the partitions, the part 3 (logical) is for my silent progs test.

Anyway I never used Bitlocker before and don't think using it once.

Then, to wipe part1 (system) do the following is correct?

<DiskConfiguration>

<Disk wcm:action="add">
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>

<!-- System partition -->
<CreatePartition wcm:action="add">
<Order>1</Order>
<Extend>false</Extend>
<Type>Primary</Type>
<Size></Size>
</CreatePartition>

</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>

Regards

Edited by coucou
0

Share this post


Link to post
Share on other sites

You will have to test that I have never tried. I call a cmd file and run everything from it one at a time in Synchronous

covers 2 partitions. I think you want 2? If not extend 1 to end

0

Share this post


Link to post
Share on other sites

TNX again maxXPsoft,

I call a cmd file and run everything from it one at a time in Synchronous
May you please give an exapmle how looks yr cmd file in Synchronous?

Regards

0

Share this post


Link to post
Share on other sites

depends where you want to do things and if a User is loaded or not. Since I copy Install folder by using OEM this works

I do most in FirstLogonCommands

            <FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<Description>Password Expires False</Description>
<CommandLine>cmd /C wmic useraccount where "name='MYUSERNAME'" set PasswordExpires=FALSE</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<Description>Running FirstLog.cmd</Description>
<CommandLine>cmd /C start /wait %systemdrive%\Install\FirstLog.cmd</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>

0

Share this post


Link to post
Share on other sites

Hi,

Finally I'm quite happy with my Autounattend.xml. Everything works just fine ;)

However, I noticed since always, that Windows Post Install Wizard (cmd order 7) start installing the progs before all addons and cmd files in Synchronous has installation completed.

Is there anyhow to correct that

Regards

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">
<SystemLocale>en-us</SystemLocale>
<UserLocale>en-us</UserLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-us</UILanguageFallback>
<InputLocale>0409:00000409</InputLocale>
</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">
<Diagnostics>
<OptIn>false</OptIn>
</Diagnostics>
<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>720</VerticalResolution>
<RefreshRate>60</RefreshRate>
</Display>
<DynamicUpdate>
<Enable>false</Enable>
<WillShowUI>OnError</WillShowUI>
</DynamicUpdate>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 ULTIMATE</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>Prenom Nom</FullName>
<Organization>Private</Organization>
<ProductKey>
<Key>D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
</UserData>
<EnableFirewall>true</EnableFirewall>
<EnableNetwork>true</EnableNetwork>
</component>
</settings>
<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" 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">
<EnableLUA>false</EnableLUA>
</component>
</settings>
<settings pass="generalize">
<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>
</component>
</settings>
<settings pass="specialize">
<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">
<Home_Page>http://www.free.fr/adsl/</Home_Page>
<BlockPopups>yes</BlockPopups>
<FavoritesOnTop>true</FavoritesOnTop>
<FilterLevel>High</FilterLevel>
<Help_Page>http://people.consolidated.net/veeger/</Help_Page>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<DisableWelcomePage>true</DisableWelcomePage>
<PlaySound>false</PlaySound>
<ShowInformationBar>true</ShowInformationBar>
<SearchScopes>
<Scope wcm:action="add">
<ScopeDefault>true</ScopeDefault>
<ScopeDisplayName>Google</ScopeDisplayName>
<ScopeKey>Search1</ScopeKey>
<ScopeUrl>http://www.google.com/advanced_search?hl=fr</ScopeUrl>
</Scope>
</SearchScopes>
<LockToolbars>true</LockToolbars>
<ShowLeftAddressToolbar>true</ShowLeftAddressToolbar>
<ShowMenuBar>true</ShowMenuBar>
<SuggestedSitesEnabled>true</SuggestedSitesEnabled>
</component>
<component name="Microsoft-Windows-RemoteAssistance-Exe" 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">
<fAllowFullControl>false</fAllowFullControl>
<fAllowToGetHelp>false</fAllowToGetHelp>
</component>
<component name="Microsoft-Windows-Security-SPP-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="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>Se7en</ComputerName>
<ProductKey>D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV</ProductKey>
<RegisteredOwner>Prenom Nom</RegisteredOwner>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>720</VerticalResolution>
<RefreshRate>60</RefreshRate>
</Display>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" 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">
<UILanguage>fr-FR</UILanguage>
<UserLocale>fr-FR</UserLocale>
<InputLocale>040c:0000040c</InputLocale>
</component>
<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">
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>720</VerticalResolution>
<RefreshRate>60</RefreshRate>
</Display>
<RegisteredOwner>Prenom Nom</RegisteredOwner>
<TimeZone>Romance Standard Time</TimeZone>
<AutoLogon>
<Enabled>true</Enabled>
<LogonCount>9999999</LogonCount>
<Username>HEN</Username>
<Password>
<Value></Value>
</Password>
</AutoLogon>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<Description>UberPack v4 several utilities</Description>
<CommandLine>cmd /C start /wait c:\Install\Win7_UberPacK_HEN_v4.exe</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<Description>Windows Malicious Software Removal Tool 3.18.4804.0</Description>
<CommandLine>cmd /C start /wait c:\Install\windows-kb890830-v3.18.exe /Q</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>3</Order>
<Description>Windows Malicious Software Removal Tool 3.18.4804.0 delta</Description>
<CommandLine>cmd /C start /wait c:\Install\windows-kb890830-v3.18-delta.exe /Q</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>4</Order>
<Description>Internet Explorer 9 French and Hebrew Languages adding</Description>
<CommandLine>cmd /C start /wait c:\Install\IE9_langs_Install.exe</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>5</Order>
<Description>About 275 Portable Utilities</Description>
<CommandLine>cmd /C start /wait c:\Install\UtilsPortable.exe</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>6</Order>
<Description>My Registry Tweaks</Description>
<CommandLine>cmd /C start /wait c:\Windows\Setup\scripts\MyTweaks.bat</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>7</Order>
<Description>Windows Post Install Wizard</Description>
<CommandLine>cmd /C start /wait c:\Windows\Setup\scripts\CDVD-Switcher.exe</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
<Themes>
<ThemeName>%WINDIR%\resources\Themes\aero.theme</ThemeName>
<DefaultThemesOff>false</DefaultThemesOff>
<DesktopBackground>%WINDIR%\web\wallpaper\Windows\img0.jpg</DesktopBackground>
</Themes>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value></Value>
</Password>
<Group>Administrators</Group>
<DisplayName>HEN</DisplayName>
<Name>HEN</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
<BluetoothTaskbarIconEnabled>true</BluetoothTaskbarIconEnabled>
<WindowsFeatures>
<ShowInternetExplorer>true</ShowInternetExplorer>
<ShowMediaCenter>true</ShowMediaCenter>
<ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
</WindowsFeatures>
</component>
<component name="Microsoft-Windows-Sidebar" 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">
<Gadget1>%PROGRAMFILES%\Windows Sidebar\Gadgets\Clock.Gadget</Gadget1>
<Gadget2>%PROGRAMFILES%\Windows Sidebar\Gadgets\Calendar.Gadget</Gadget2>
<Gadget3>%PROGRAMFILES%\Windows Sidebar\Gadgets\Weather.Gadget</Gadget3>
</component>
</settings>
</unattend>

0

Share this post


Link to post
Share on other sites

you can make a cmd wait but not the program you are calling CDVD-Switcher.exe. The things you call must be able to do that on their own. apparently Switcher.exe is calling other things that don't wait on initial cmd

I don't use wpi so can't help with it

0

Share this post


Link to post
Share on other sites

TNX maxXPsoft ;)

I wrote the here attaced AutoIt script for CDVD-Switcher.exe to enable me passing from the first DVD (Win7) to the next (progs), then it launch WPI.

Do you thing I've to add sleep (wait) before launching WPI and that's it?

BTW, I'm not much familiar with cmd. May you write a cmd wait for me?

Regards

CDVD-Switcher.au3

Edited by coucou
0

Share this post


Link to post
Share on other sites

Finally I added twice 5 minutes delay.

5 minutes delay in CDVD-Switcher.exe and 5 minutes in MyTweaks.bat (cmd order 6).

For the batch file I added the following a [b]@ping command as here bellow ;)

@ECHO OFF
@ping 1.1.1.1 -n 1 -w 300000

ECHO.
REM Intégrationtion des fichiers de registre (.reg) et fichiers (.vbs)
REGEDIT /S "%systemroot%\Setup\Scripts\MyTweaks.reg"
ECHO.
EXIT

The drawback is that it open a cmd windows and I don't know how to prevent it :}

post-11791-0-89257700-1305534721_thumb.j

0

Share this post


Link to post
Share on other sites

could have used timeout and timer ticks down allowing you to go on if wanted

CMD /C Start /Wait Timeout 300

0

Share this post


Link to post
Share on other sites

TNX MAX ;)

Is the following correct?

CMD /C Start /Wait Timeout 300 /NOBREAK

Edited by coucou
0

Share this post


Link to post
Share on other sites

TNX MAX ;)

Is the following correct?

CMD /C Start /Wait Timeout 300 /NOBREAK

yes if you don't want to be able to stop it.

0

Share this post


Link to post
Share on other sites

could have used timeout and timer ticks down allowing you to go on if wanted

CMD /C Start /Wait Timeout 300

I tested in real install... doesn't works. Worse, the apps aren't even launched

                <SynchronousCommand wcm:action="add">  
<Order>6</Order>
<Description>My Registry Tweaks</Description>
<CommandLine>cmd /C start /wait Timeout 400 c:\Windows\Setup\scripts\MyTweaks.bat</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>7</Order>
<Description>Windows Post Install Wizard</Description>
<CommandLine>cmd /C start /wait Timeout 400 c:\Windows\Setup\scripts\CDVD-Switcher.exe</CommandLine>
</SynchronousCommand>

Regards

0

Share this post


Link to post
Share on other sites

perhaps you can try cmd /C Start /Wait Timeout 4 | cmd /C C:\Windows\Setup\scripts\MyTweaks.bat

that should continue and call bat while timer is running

experiment on the desktop first calling second file. I done on desk and it worked, make sure you put exit at end of .cmd files so they will close

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

TNX Max, but i wrote an AutoIt script instead MyTweaks.bat

Regards

0

Share this post


Link to post
Share on other sites

Hi Max,

Sorry for bothering you again.

I noticed that what ever i do, largely the registries inside MyTweaks.reg file (SynchronousCommand in Order6) are not applied.

Autounattend.xml post #138

Do you think if I launch that MyTweaks.bat file as RunOnce/RunOnceEx all the registries will be applied?

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\MyTweaks]
"MyTweaks"="c:\Windows\Setup\scripts\MyTweaks.bat"

Regards

Edited by coucou
0

Share this post


Link to post
Share on other sites

I see you posting about setacl in another post. Is that what you are tring to do?

YES and got success with it ;)

0

Share this post


Link to post
Share on other sites

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.