Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Ask your Seven xml ? here


  • Please log in to reply
597 replies to this topic

#126
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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, 30 May 2011 - 10:15 AM.



How to remove advertisement from MSFN

#127
nice_guy75

nice_guy75

    Advanced Member

  • Members
  • PipPipPip
  • 406 posts

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.

#128
nice_guy75

nice_guy75

    Advanced Member

  • Members
  • PipPipPip
  • 406 posts

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: http://www.msfn.org/...post__p__961039
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, 30 April 2011 - 09:57 AM.


#129
myselfidem

myselfidem

    Member

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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, 30 April 2011 - 03:34 PM.


#130
nice_guy75

nice_guy75

    Advanced Member

  • Members
  • PipPipPip
  • 406 posts

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.

#131
coucou

coucou

    Friend of MSFN

  • Members
  • PipPipPipPipPip
  • 837 posts
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

Attached File  Win7_Install_Partitions.jpg   34.7KB   11 downloads

#132
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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, 05 May 2011 - 08:23 AM.


#133
coucou

coucou

    Friend of MSFN

  • Members
  • PipPipPipPipPip
  • 837 posts
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, 06 May 2011 - 03:19 AM.


#134
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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

http://www.msfn.org/...post__p__944849
covers 2 partitions. I think you want 2? If not extend 1 to end

#135
coucou

coucou

    Friend of MSFN

  • Members
  • PipPipPipPipPip
  • 837 posts
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

#136
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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>


#137
coucou

coucou

    Friend of MSFN

  • Members
  • PipPipPipPipPip
  • 837 posts
TNX maxXPsoft :)

#138
coucou

coucou

    Friend of MSFN

  • Members
  • PipPipPipPipPip
  • 837 posts
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>


#139
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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

#140
coucou

coucou

    Friend of MSFN

  • Members
  • PipPipPipPipPip
  • 837 posts
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

Attached File  CDVD-Switcher.au3   3.1KB   6 downloads

Edited by coucou, 13 May 2011 - 10:20 AM.


#141
coucou

coucou

    Friend of MSFN

  • Members
  • PipPipPipPipPip
  • 837 posts
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 [/b]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 :}
Attached File  ping.jpg   21.09KB   13 downloads

#142
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
could have used timeout and timer ticks down allowing you to go on if wanted
CMD /C Start /Wait Timeout 300

#143
coucou

coucou

    Friend of MSFN

  • Members
  • PipPipPipPipPip
  • 837 posts
TNX MAX ;)
Is the following correct?
CMD /C Start /Wait Timeout 300 /NOBREAK

Edited by coucou, 16 May 2011 - 10:05 AM.


#144
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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.

#145
coucou

coucou

    Friend of MSFN

  • Members
  • PipPipPipPipPip
  • 837 posts

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

#146
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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, 21 May 2011 - 09:52 AM.


#147
coucou

coucou

    Friend of MSFN

  • Members
  • PipPipPipPipPip
  • 837 posts
TNX Max, but i wrote an AutoIt script instead MyTweaks.bat
Regards

#148
coucou

coucou

    Friend of MSFN

  • Members
  • PipPipPipPipPip
  • 837 posts
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, 26 May 2011 - 01:46 PM.


#149
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
There may be permission problems with what you are trying to add and remember you can't add user tweaks with this. You need to do those maybe at Firstlogoncommands
I see you posting about setacl in another post. Is that what you are tring to do?
http://www.howtogeek...y-key?replies=8

#150
coucou

coucou

    Friend of MSFN

  • Members
  • PipPipPipPipPip
  • 837 posts

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

YES and got success with it ;)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users



How to remove advertisement from MSFN