MSFN Forum: WIM XML description editing - MSFN Forum

Jump to content



  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

WIM XML description editing Rate Topic: -----

#1 User is offline   FarCry3r 

  • Junior
  • Pip
  • Group: Members
  • Posts: 69
  • Joined: 11-January 06

Posted 08 May 2008 - 06:12 AM

Hi and sorry if I posted in wrong section. I was wondering if there's any way I can programmatically edit description file for .WIM files?

Thanks :blushing:


#2 User is offline   FarCry3r 

  • Junior
  • Pip
  • Group: Members
  • Posts: 69
  • Joined: 11-January 06

Posted 27 May 2008 - 03:45 AM

come on guys? no one know?

#3 User is offline   amit_talkin 

  • Experienced
  • PipPipPip
  • Group: Members
  • Posts: 397
  • Joined: 05-October 05

Posted 27 May 2008 - 10:39 AM

Quote

imagex /info yourimage.wim 1 "image name" "description"


#4 User is offline   FarCry3r 

  • Junior
  • Pip
  • Group: Members
  • Posts: 69
  • Joined: 11-January 06

Posted 27 May 2008 - 07:08 PM

No it didn't work:

Quote

Available Image Choices:
------------------------
<WIM>
<TOTALBYTES>560483567</TOTALBYTES>
<IMAGE INDEX="1">
<NAME>Windows Vista Ultimate (RED) Edition</NAME>
<DESCRIPTION>Windows Vista Ultimate (RED) Edition</DESCRIPTION>
<FLAGS>ULTIMATE</FLAGS>
<WINDOWS>
<ARCH>0</ARCH>
<PRODUCTNAME>Microsoft« Windows« Operating System</PRODUCTNAME>
<HAL>acpiapic</HAL>
<PRODUCTTYPE>WinNT</PRODUCTTYPE>
<PRODUCTSUITE>Terminal Server</PRODUCTSUITE>
<LANGUAGES>
<LANGUAGE>en-US</LANGUAGE>
<DEFAULT>en-US</DEFAULT>
</LANGUAGES>
<VERSION>
<MAJOR>6</MAJOR>
<MINOR>0</MINOR>
<BUILD>6001</BUILD>
<SPBUILD>18000</SPBUILD>
</VERSION>
<SYSTEMROOT>WINDOWS</SYSTEMROOT>
</WINDOWS>
<DIRCOUNT>5126</DIRCOUNT>
<FILECOUNT>25594</FILECOUNT>
<TOTALBYTES>2646698143</TOTALBYTES>
<CREATIONTIME>
<HIGHPART>0x01C85BE0</HIGHPART>
<LOWPART>0x7466D77A</LOWPART>
</CREATIONTIME>
<LASTMODIFICATIONTIME>
<HIGHPART>0x01C8BFFA</HIGHPART>
<LOWPART>0x15F0C910</LOWPART>
</LASTMODIFICATIONTIME>
<DISPLAYNAME>Windows Vista Ultimate</DISPLAYNAME>
<DISPLAYDESCRIPTION>Windows Vista Ultimate</DISPLAYDESCRIPTION>
</IMAGE>
</WIM>


the entries marked green can change, but not the entries marked in red, and since I can't edit the red entries, the changes won't display in Edition selection in setup...

#5 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 7,353
  • Joined: 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 27 May 2008 - 07:48 PM

Try mounting the WIM with the PE Tools Command Prompt, then look for the XML file. It must be in there someplace. I haven't tried it myself, but then again I don't seem to be using the deployment method you are.

#6 User is offline   amit_talkin 

  • Experienced
  • PipPipPip
  • Group: Members
  • Posts: 397
  • Joined: 05-October 05

Posted 28 May 2008 - 02:51 AM

sorry, I had also tried to change displayname and displaydescription few months ago. but couldnt find how to change it. :|

#7 User is offline   FarCry3r 

  • Junior
  • Pip
  • Group: Members
  • Posts: 69
  • Joined: 11-January 06

Posted 28 May 2008 - 07:30 PM

View PostTripredacus, on May 28 2008, 09:48 AM, said:

Try mounting the WIM with the PE Tools Command Prompt, then look for the XML file. It must be in there someplace. I haven't tried it myself, but then again I don't seem to be using the deployment method you are.

no the XML file isn't anywhere inside the WIM, it appears that the XML file is appended to the end of the WIM files.

#8 User is offline   Xinso 

  • Group: Members
  • Posts: 5
  • Joined: 02-May 06

Posted 07 June 2008 - 09:14 PM

too difficult to understand.

This post has been edited by Xinso: 05 July 2008 - 06:45 PM


#9 User is offline   FarCry3r 

  • Junior
  • Pip
  • Group: Members
  • Posts: 69
  • Joined: 11-January 06

  Posted 08 June 2008 - 12:43 AM

View PostXinso, on Jun 8 2008, 11:14 AM, said:

Method 1 - Limited:

is there any other method? :whistle:

#10 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 08 June 2008 - 06:47 PM

Yep export all images or just the one you want.

Example :

imagex /export I:\VistaAIO\x86\install.wim 4 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista ULTIMATE (32bit)"


Rename the last part whatever you want.

imagex /export I:\VistaAIO\x86\install.wim 4 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista Ultimate (RED) Edition)"


I use it like this :

imagex /export I:\VistaAIO\x86\install.wim 1 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista BUSINESS (32bit)"
imagex /export I:\VistaAIO\x86\install.wim 2 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista HOMEBASIC (32bit)"
imagex /export I:\VistaAIO\x86\install.wim 3 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista HOMEPREMIUM (32bit)"
imagex /export I:\VistaAIO\x86\install.wim 4 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista ULTIMATE (32bit)"

imagex /export I:\VistaAIO\x64\install.wim 1 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista BUSINESS (64bit)"
imagex /export I:\VistaAIO\x64\install.wim 2 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista HOMEBASIC (64bit)"
imagex /export I:\VistaAIO\x64\install.wim 3 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista HOMEPREMIUM (64bit)"
imagex /export I:\VistaAIO\x64\install.wim 4 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista ULTIMATE (64bit)"

This post has been edited by sp00f: 08 June 2008 - 06:50 PM


#11 User is offline   FarCry3r 

  • Junior
  • Pip
  • Group: Members
  • Posts: 69
  • Joined: 11-January 06

Posted 08 June 2008 - 06:59 PM

View Postsp00f, on Jun 9 2008, 08:47 AM, said:

Yep export all images or just the one you want.

Example :

imagex /export I:\VistaAIO\x86\install.wim 4 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista ULTIMATE (32bit)"


Rename the last part whatever you want.

imagex /export I:\VistaAIO\x86\install.wim 4 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista Ultimate (RED) Edition)"


I use it like this :

imagex /export I:\VistaAIO\x86\install.wim 1 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista BUSINESS (32bit)"
imagex /export I:\VistaAIO\x86\install.wim 2 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista HOMEBASIC (32bit)"
imagex /export I:\VistaAIO\x86\install.wim 3 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista HOMEPREMIUM (32bit)"
imagex /export I:\VistaAIO\x86\install.wim 4 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista ULTIMATE (32bit)"

imagex /export I:\VistaAIO\x64\install.wim 1 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista BUSINESS (64bit)"
imagex /export I:\VistaAIO\x64\install.wim 2 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista HOMEBASIC (64bit)"
imagex /export I:\VistaAIO\x64\install.wim 3 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista HOMEPREMIUM (64bit)"
imagex /export I:\VistaAIO\x64\install.wim 4 I:\VistaAIO\Distribution\SOURCES\install.wim "Windows Vista ULTIMATE (64bit)"

that method, AFAIK, only set NAME and DESCRIPTION value, but not DISPLAYNAME and DISPLAYDESCRIPTION value... correct me if I'm wrong...

#12 User is offline   gotenks98 

  • Member
  • PipPip
  • Group: Members
  • Posts: 115
  • Joined: 02-June 05

Posted 09 June 2008 - 09:00 PM

Just download gimagex, that will allow you to change your description of the wim file. I have tried it and it works like a change.

#13 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 11 June 2008 - 02:54 AM

@,FarCry3r ,DISPLAYNAME??? errrrrrr


You should read all the post again. :wacko:

This post has been edited by sp00f: 11 June 2008 - 02:56 AM


#14 User is offline   amit_talkin 

  • Experienced
  • PipPipPip
  • Group: Members
  • Posts: 397
  • Joined: 05-October 05

Posted 11 June 2008 - 06:11 AM

He is talking about "Display name" and "Display Description". "Name" and "Description" is not showing when there are many OEM images are there.
even after changing "Name" and "Description" it shown like this

Posted Image

thts the problem! am i right FarCry3r?

Amit

This post has been edited by amit_talkin: 11 June 2008 - 06:11 AM


#15 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 11 June 2008 - 03:35 PM

Here it looks like this

Posted Image

#16 User is offline   FarCry3r 

  • Junior
  • Pip
  • Group: Members
  • Posts: 69
  • Joined: 11-January 06

Posted 11 June 2008 - 07:00 PM

yep, Amit is right. I can't customize the description when I have more that 1 exported image in a WIM. It still display Windows Vista Ultimate for all the image description... I wonder if there's a way to extract the XML file from the WIM, edit and repack it again...

#17 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 12 June 2008 - 07:46 AM

well...here it doesnt :sneaky:

#18 User is offline   amit_talkin 

  • Experienced
  • PipPipPip
  • Group: Members
  • Posts: 397
  • Joined: 05-October 05

Posted 12 June 2008 - 12:12 PM

@sp00f,

yes, it should show description as shown in ur screenshot, but in this matter it is using "Display Discription" and "Display Image" tag instead of "Name" and "Description"!
all these images are custom built of diff. versions.

these "Display Discription" and "Display Image" are in 1.xml of install.wim file , is there any way to extract and rebuild 1.xml?

Amit

This post has been edited by amit_talkin: 12 June 2008 - 12:14 PM


#19 User is offline   FarCry3r 

  • Junior
  • Pip
  • Group: Members
  • Posts: 69
  • Joined: 11-January 06

Posted 12 June 2008 - 06:25 PM

View Postamit_talkin, on Jun 13 2008, 02:12 AM, said:

@sp00f,

yes, it should show description as shown in ur screenshot, but in this matter it is using "Display Discription" and "Display Image" tag instead of "Name" and "Description"!
all these images are custom built of diff. versions.

these "Display Discription" and "Display Image" are in 1.xml of install.wim file , is there any way to extract and rebuild 1.xml?

Amit

wow, where you figure out it uses 1.xml? good then, we just need someone who can extract and rebuild the file now...

#20 User is offline   amit_talkin 

  • Experienced
  • PipPipPip
  • Group: Members
  • Posts: 397
  • Joined: 05-October 05

Posted 13 June 2008 - 02:34 AM

as I said before, I have already tried to change it few months ago, It uses 1.xml to store image info. but I couldnt find how to repack 1.xml. :(

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

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



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