MSFN Forum: Ask your Seven xml ? here - MSFN Forum

Jump to content


  • 25 Pages +
  • « First
  • 6
  • 7
  • 8
  • 9
  • 10
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Ask your Seven xml ? here Sample .xml's including Audit Mode for DVD and other Install's

#141 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 16 May 2011 - 02:36 AM

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.09K)
Number of downloads: 10


#142 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 May 2011 - 08:44 AM

could have used timeout and timer ticks down allowing you to go on if wanted
CMD /C Start /Wait Timeout 300

#143 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 16 May 2011 - 10:03 AM

TNX MAX ;)
Is the following correct?
CMD /C Start /Wait Timeout 300 /NOBREAK

This post has been edited by coucou: 16 May 2011 - 10:05 AM


#144 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 May 2011 - 10:27 AM

View Postcoucou, on 16 May 2011 - 10:03 AM, said:

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 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 20 May 2011 - 07:52 AM

View PostmaxXPsoft, on 16 May 2011 - 08:44 AM, said:

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 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 21 May 2011 - 09:51 AM

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

This post has been edited by maxXPsoft: 21 May 2011 - 09:52 AM


#147 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 22 May 2011 - 03:44 AM

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

#148 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 26 May 2011 - 12:31 PM

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

This post has been edited by coucou: 26 May 2011 - 01:46 PM


#149 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 May 2011 - 10:07 AM

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 User is offline   coucou 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 825
  • Joined: 01-January 04

Posted 29 May 2011 - 02:38 AM

View PostmaxXPsoft, on 28 May 2011 - 10:07 AM, said:

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

YES and got success with it ;)

#151 User is offline   nice_guy75 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 406
  • Joined: 07-December 09

Posted 30 May 2011 - 01:50 AM

Hey MaxXPSoft,
Please go through this autounattend.xml of mine, I have tested it in vmware, everything is fine but I had to put the PC name manually and had to select the network location as well. I want my xml to be fully unattended.

Please help me, mate.

Attached File(s)


This post has been edited by nice_guy75: 30 May 2011 - 01:50 AM


#152 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,388
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 30 May 2011 - 03:55 AM

Maybe the problem is with the space inside : <Organization>Team ARC</Organization>

Try whithout space: <Organization>Team-ARC</Organization>

#153 User is offline   nice_guy75 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 406
  • Joined: 07-December 09

Posted 30 May 2011 - 04:03 AM

View Postmyselfidem, on 30 May 2011 - 03:55 AM, said:

Maybe the problem is with the space inside : <Organization>Team ARC</Organization>

Try whithout space: <Organization>Team-ARC</Organization>

Thanks I would try and reply with the result soon.

Edit: Hey mate but the Computer name has no spaces so it should take computer name properly, but I had to put the computer name manually.

This post has been edited by nice_guy75: 30 May 2011 - 07:35 AM


#154 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,388
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 30 May 2011 - 09:09 AM

The first time I gave you your Autounattend.xml file working, the computer name was : <ComputerName>Win7_Vaio</ComputerName>! (post #126 updated with Team-ARC):

http://www.msfn.org/...e/page__st__120

Try to keep the same name!

*Edit: remember you need to add for x86 and amd64.

This post has been edited by myselfidem: 30 May 2011 - 09:11 AM


#155 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 May 2011 - 09:42 AM

I use <RegisteredOrganization>Se7en_UA</RegisteredOrganization> which supports empty elements but haven't tried with blank spaces

#156 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,388
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 30 May 2011 - 10:10 AM

Tested with blank space and doesn't works. All dialog boxes are displayed!

Tested successfully adding: <RegisteredOwner>nice_guy75</RegisteredOwner> at <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">
            <TimeZone>Indian Standard Time</TimeZone> 
            <RegisteredOwner>nice_guy75</RegisteredOwner>



<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">
        <TimeZone>Indian Standard Time</TimeZone>             
        <RegisteredOwner>nice_guy75</RegisteredOwner>



Image

*Edit: Autounattend.xml file attached updated with the new values (post #126)

I think you can try with: <ComputerName>Windows_7_Vaio</ComputerName>

*Edit 2: Tested and works also with Computer Name: Windows_7_Vaio

Image

This post has been edited by myselfidem: 21 January 2012 - 04:19 AM


#157 User is offline   nice_guy75 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 406
  • Joined: 07-December 09

Posted 30 May 2011 - 11:22 AM

Thanks to both of you guys.
@ myselfidem, did it ask for selecting network location when you tried?

#158 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,388
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 30 May 2011 - 11:25 AM

View Postnice_guy75, on 30 May 2011 - 11:22 AM, said:

Thanks to both of you guys.
@ myselfidem, did it ask for selecting network location when you tried?


No! Fully unattended!
Only the dialog boxes for selecting the Edition x86 or amd64 and the HDD!

#159 User is offline   nice_guy75 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 406
  • Joined: 07-December 09

Posted 30 May 2011 - 11:52 AM

View Postmyselfidem, on 30 May 2011 - 11:25 AM, said:

View Postnice_guy75, on 30 May 2011 - 11:22 AM, said:

Thanks to both of you guys.
@ myselfidem, did it ask for selecting network location when you tried?


No! Fully unattended!
Only the dialog boxes for selecting the Edition x86 or amd64 and the HDD!

Great news mate, I forgot to ask did it login as administrator as well? And did you use vmware or virtual box?

#160 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,388
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 30 May 2011 - 12:02 PM

Yes, you are Administrator and your account name is Administrator!
I use Oracle Sun VirtualBox.

However I think it's better to create a user account inside Group: Administrators! Like this:

<UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <PlainText>false</PlainText>
                            <Value>xxxxx</Value>
                        </Password>
                        <Group>Administrators</Group>
                        <DisplayName>myselfidem</DisplayName>
                        <Name>myselfidem</Name>
                    </LocalAccount>
                </LocalAccounts>
 </UserAccounts>



It's just an advice!

This post has been edited by myselfidem: 30 May 2011 - 12:03 PM


Share this topic:


  • 25 Pages +
  • « First
  • 6
  • 7
  • 8
  • 9
  • 10
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy