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

Jump to content


  • 25 Pages +
  • « First
  • 9
  • 10
  • 11
  • 12
  • 13
  • 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

#201 User is offline   myselfidem 

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

Posted 05 July 2011 - 12:05 PM

Yes, you can if you want! Also available on x64-bit :rolleyes:
But when I copy/paste a file with the editor inside a topic the files with http:// are writed twice! :ph34r:
You need to change the lines with: http:// and remove lines unneeded!

Also change the name inside:

"FaviconPath"="C:\\Users\\User _Name\\AppData\\LocalLow\\Microsoft\\Internet Explorer\\Services\\search_{AEB25C89-CF33-42B0-9642-C5D54C66937E}.ico"

But you may want personal settings for IE9. You can do as I made. Install Windows 7 SP1 with IE9 integrated - on a Virtual Machine - and keep the connection.
Choose your personal settings and save the reg file!

Or save the reg files inside your x86 Windows 7 computer and add the file inside your UA-CD 64-bit.

Regards

This post has been edited by myselfidem: 05 July 2011 - 12:20 PM



#202 User is offline   coucou 

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

Posted 05 July 2011 - 12:32 PM

View Postmyselfidem, on 05 July 2011 - 12:05 PM, said:

But you may want personal settings for IE9. You can do as I made. Install Windows 7 SP1 with IE9 integrated - on a Virtual Machine - and keep the connection.
Choose your personal settings and save the reg file!
Regards

For sure that what I'll do ;)
Regards

#203 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 August 2011 - 02:27 PM

Max (or anyone else), can you give me an example of how the partition creation looks in the answer file please? Say I want to simply overwrite the disk with two partitions, one for system, one for data.




OR

Is the setup capable of something a bit more advanced? Like if the disk is partitioned in a specific way, don't touch one of the partitions and only "redo" the others? I'd say not :P



#204 User is offline   maxXPsoft 

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

Posted 09 August 2011 - 11:27 PM

http://www.msfn.org/...post__p__944807

#205 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 August 2011 - 01:07 PM

Hm, ok. But how do I tell the setup which one to use for the boot stuff?

#206 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 August 2011 - 11:12 PM

I wanted something simple as a start, but can't get it to work.

<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>100</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<PartitionID>1</PartitionID>
<Order>1</Order>
<Format>NTFS</Format>
<Label>Boot</Label>
<Extend>false</Extend>
<Active>false</Active>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Order>2</Order>
<PartitionID>2</PartitionID>
<Format>NTFS</Format>
<Active>true</Active>
<Letter>C</Letter>
</ModifyPartition>
</ModifyPartitions>
<WillWipeDisk>true</WillWipeDisk>
<DiskID>0</DiskID>
</Disk>
<WillShowUI>Never</WillShowUI>
</DiskConfiguration>


I still get that partitions list screen.

I wanted to achieve the following: simply wipe the disk and create the usual 100MB boot partition and fill rest of the drive with system one.

Do I always use both CreatePartition and ModifyPartition?



#207 User is offline   myselfidem 

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

Posted 11 August 2011 - 11:44 PM

View PostTheWalrus, on 11 August 2011 - 11:12 PM, said:

Do I always use both CreatePartition and ModifyPartition?


Yes!

Example: (give the label name you want for C:\)

<settings pass="windowsPE">
<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>OnError</WillShowUI>
                <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>
                            <Extend>true</Extend>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>system</Label>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Format>NTFS</Format>
                            <Label>SEVEN</Label>
                            <Letter>C</Letter>
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                </Disk>
            </DiskConfiguration>



*Edit: post updated

This post has been edited by myselfidem: 21 January 2012 - 02:26 AM


#208 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 12 August 2011 - 12:30 AM

Oh I need to set the small one as active instead?! Good to know.

If there were three partitions: boot, system and data ones, how would I overwrite the first two and not touch the last?




edit:

still nothing. tried setting both partitions as active and nothing works.

I always end up with the partition selection. It goes as far as renaming the small one Boot, but it's unformatted. The other one is just left untouched.

            <DiskConfiguration>
                <Disk wcm:action="add">
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Size>100</Size>
                            <Type>Primary</Type>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Order>2</Order>
                            <Type>Primary</Type>
                            <Extend>true</Extend>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <PartitionID>1</PartitionID>
                            <Order>1</Order>
                            <Format>NTFS</Format>
                            <Label>Boot</Label>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                            <Format>NTFS</Format>
                            <Letter>C</Letter>
                            <Label>System</Label>
                            <Active>true</Active>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <WillWipeDisk>true</WillWipeDisk>
                    <DiskID>0</DiskID>
                </Disk>
                <WillShowUI>Never</WillShowUI>
            </DiskConfiguration>




This post has been edited by TheWalrus: 12 August 2011 - 04:20 AM


#209 User is offline   myselfidem 

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

Posted 12 August 2011 - 10:59 AM

Check the order inside your Autounattend.xml like my example above!

Set at first!
 <DiskConfiguration>
        <WillShowUI>OnError</WillShowUI>
               <Disk wcm:action="add">
                      <DiskID>0</DiskID>
                            <WillWipeDisk>true</WillWipeDisk>


This post has been edited by myselfidem: 12 August 2011 - 11:06 AM


#210 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 12 August 2011 - 11:11 AM

Oh? I am only using SIM. Apparently it's not checking this kind of stuff. Like people were supposed to manually edit things they have GUI for! Thank you, will check once I get to my pc.

#211 User is offline   myselfidem 

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

Posted 12 August 2011 - 12:00 PM

I remember I tested on my PC and works.... and I lost all my data!!! :whistle:

This post has been edited by myselfidem: 14 August 2011 - 01:47 AM


#212 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 12 August 2011 - 01:26 PM

hah, let's experiment with win7 on my wife's prehistoric laptop :D


Two more questions:

1) Does the order in the disk setup have to be exactly like this?

2) What's the use of "modify" and "addlistitem"?



edit: still doesn't work :(

            <DiskConfiguration>
                <WillShowUI>OnError</WillShowUI>
                <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>
                            <Extend>true</Extend>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>Boot</Label>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Format>NTFS</Format>
                            <Letter>C</Letter>
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                </Disk>
            </DiskConfiguration>




This post has been edited by TheWalrus: 12 August 2011 - 01:48 PM


#213 User is offline   myselfidem 

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

Posted 12 August 2011 - 02:34 PM

You can find more help inside "Unattended Windows Setup Reference for Windows 7.chm": http://www.microsoft...ls.aspx?id=2458

Extract:

Quote

CreatePartitions

CreatePartitions specifies one or more partitions to create on a hard disk. Partitions are created in the order specified by the Order setting.
If you are installing Windows® to a blank hard disk, you must use the CreatePartitions and ModifyPartitions settings to create and format partitions on the disk.
You must also specify either the InstallTo or the InstallToAvailablePartition setting.
CreatePartitions settings can have one or more CreatePartition list items, one for each partition to be configured.

This post has been edited by myselfidem: 12 August 2011 - 02:40 PM


#214 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 12 August 2011 - 03:23 PM

That doesn't work either :(

It doesn't even partition the disk. I have no idea what am I doing wrong. I rewrote the **** file manually exactly like you posted it.



#215 User is offline   myselfidem 

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

Posted 13 August 2011 - 12:51 AM

Some more values are needed inside your Autounattend.xml file:

Example for Windows 7 Ultimate x86 and tested and works with the Virtual Machine!

<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>OnError</WillShowUI>
                <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>
                            <Extend>true</Extend>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>system</Label>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Format>NTFS</Format>
                            <Label>SEVEN</Label>
                            <Letter>C</Letter>
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                </Disk>
            </DiskConfiguration>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1280</HorizontalResolution>
                <VerticalResolution>1024</VerticalResolution>
                <RefreshRate>60</RefreshRate>
            </Display>
            <DynamicUpdate>
                <Enable>false</Enable>
                <WillShowUI>Never</WillShowUI>
            </DynamicUpdate>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows 7 ULTIMATE</Value>
                        </MetaData>
                    </InstallFrom>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>2</PartitionID>
                    </InstallTo>
                </OSImage>
            </ImageInstall>



Help:
http://www.msfn.org/...post__p__933298

*Edit: post updated

This post has been edited by myselfidem: 21 January 2012 - 02:23 AM


#216 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 August 2011 - 03:34 AM

There are a few differences, but those lines you have and I don't have same default values as what you set.

Besides, the disk configuration itself is the same! So why the hell it doesn't even wipe the existing partitions?!



#217 User is offline   myselfidem 

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

Posted 13 August 2011 - 04:38 AM

Check !

Quote


WillWipeDisk
WillWipeDisk specifies whether to erase all partitions and data on the hard disk before adding additional configurations to the disk.

WillWipeDisk is blocked in Windows® PE if any of the following conditions are true:

  • Windows Setup binaries are running from the disk in question.
  • The currently running operating system is booted (but not RAM-drive booted) from the disk in question.
  • There is an active page file on the disk in question.



Check if you have set:
<InstallTo>
      <DiskID>0</DiskID>
      <PartitionID>2</PartitionID>
</InstallTo>


This post has been edited by myselfidem: 13 August 2011 - 05:18 AM


#218 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 August 2011 - 06:45 AM

Yes I read that warning. It's all correct.

I will have to try once more on real computer instead of VM, but since you said it works for you it must be something else.




On the bright side everything else works, apps are being installed through firstlogoncommands (those that can be fully configured for silent installation) and settings are applied correctly.



#219 User is offline   myselfidem 

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

Posted 13 August 2011 - 08:03 AM

I tested many times without errors on my Virtual Machine!

*Edit: New tests made successfully creating another partition F:\Data (other example image with D:\):

Image 2 partitions

Example tested on an Virtual Machine 40Go vhd and 15Go for WINDOWS (Fully unattended)

<?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>fr-FR</UILanguage>
            </SetupUILanguage>
            <InputLocale>100c:0000100c</InputLocale>
            <SystemLocale>fr-CH</SystemLocale>
            <UILanguage>fr-FR</UILanguage>
            <UserLocale>fr-CH</UserLocale>
        </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>OnError</WillShowUI>
                <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>
                            <Size>15000</Size>
                            <Type>Primary</Type>
                        </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>
                            <Label>System</Label>
                            <Format>NTFS</Format>
                            <Active>true</Active>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                            <Letter>C</Letter>
                            <Label>SEVEN</Label>
                            <Format>NTFS</Format>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Order>3</Order> 
                            <Format>NTFS</Format> 
                            <PartitionID>3</PartitionID> 
                            <Label>Data</Label> 
                            <Letter>F</Letter> 
                        </ModifyPartition> 
                    </ModifyPartitions>
                </Disk>
            </DiskConfiguration>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1280</HorizontalResolution>
                <VerticalResolution>1024</VerticalResolution>
                <RefreshRate>60</RefreshRate>
            </Display>
            <DynamicUpdate>
                <Enable>false</Enable>
                <WillShowUI>Never</WillShowUI>
            </DynamicUpdate>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows 7 ULTIMATE</Value>
                        </MetaData>
                    </InstallFrom>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>2</PartitionID>
                    </InstallTo>
                </OSImage>
            </ImageInstall>



*Edit: Set ONLY as "Active = true" the System partition (<PartitionID> 1)!

This post has been edited by myselfidem: 21 January 2012 - 02:32 AM


#220 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 August 2011 - 04:11 PM

I got it!

It shows the partitions screen, but the settings are actually applied AFTER you click next. I always just shut the VM off after I saw the screen thinking it was wrong. I let it pass this time and even though I saw some partitions that weren't supposed to be there, it was correct after the system installed. It's just about somehow making the screen not showing up now.



Share this topic:


  • 25 Pages +
  • « First
  • 9
  • 10
  • 11
  • 12
  • 13
  • 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