FarCry3r Posted June 12, 2008 Author Share Posted June 12, 2008 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... Link to comment Share on other sites More sharing options...
sp00f Posted June 12, 2008 Share Posted June 12, 2008 well...here it doesnt Link to comment Share on other sites More sharing options...
amit_talkin Posted June 12, 2008 Share Posted June 12, 2008 (edited) @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 Edited June 12, 2008 by amit_talkin Link to comment Share on other sites More sharing options...
FarCry3r Posted June 13, 2008 Author Share Posted June 13, 2008 @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?Amitwow, where you figure out it uses 1.xml? good then, we just need someone who can extract and rebuild the file now... Link to comment Share on other sites More sharing options...
amit_talkin Posted June 13, 2008 Share Posted June 13, 2008 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. Link to comment Share on other sites More sharing options...
levien Posted June 13, 2008 Share Posted June 13, 2008 (edited) Why do you stupid people talk alot of bulls*** if you can use microsofts wimgapi to do this WIMGetImageInformationReturns information about an image within the .wim (Windows image) file.C++ BOOLWINAPIWIMGetImageInformation( HANDLE hImage, LPVOID *lplpvImageInfo, LPDWORD lpcbImageInfo );ParametershImage [in] A handle returned by the WIMCreateFile, WIMLoadImage, or WIMCaptureImage function.lplpvImageInfo [out] A pointer to a buffer that receives the address of the XML information about the volume image. When the function returns, this value contains the address of an allocated buffer, containing XML information about the volume image.lpcbImageInfo [out] A pointer to a variable that specifies the size, in bytes, of the buffer pointed to by the value of the lplpvImageInfo parameter.Return ValueIf the function succeeds, then the return value is nonzero.If the function fails, then the return value is zero. To obtain extended error information, call the GetLastError function.RemarksWhen the function succeeds, then the data describing the image is in Unicode XML format. Use the LocalFree function to free the memory pointed to by the lplpvImageInfo parameter when no longer needed.See AlsoWIMCreateFileWIMLoadImageWIMCaptureImage WIMSetImageInformationStores information about an image in the Windows image (.wim) file.C++ BOOLWINAPIWIMSetImageInformation( HANDLE hImage, LPVOID lpvImageInfo, DWORD cbImageInfo );ParametershImage [in] A handle returned by the WIMCreateFile, WIMLoadImage, or WIMCaptureImage functions.lpvImageInfo [in] A pointer to a buffer that contains information about the volume image.cbImageInfo [in] Specifies the size, in bytes, of the buffer pointed to by the lpvImageInfo parameter.Return ValueIf the function succeeds, then the return value is nonzero.If the function fails, then the return value is zero. To obtain extended error information, call the GetLastError function.RemarksThe data buffer being passed into the function must be the memory representation of a Unicode XML file. Calling this function replaces any customized image data, so, to preserve existing XML information, call the WIMGetImageInformation function and append or edit the data.If the input handle is from the WIMCreateFile function, then the XML data must be enclosed by <WIM></WIM> tags. If the input handle is from the WIMLoadImage or WIMCaptureImage functions, then the XML data must be enclosed by <IMAGE></IMAGE> tags.See AlsoWIMCreateFileWIMLoadImageWIMCaptureImageWIMGetImageInformation Edited June 13, 2008 by levien Link to comment Share on other sites More sharing options...
FarCry3r Posted June 15, 2008 Author Share Posted June 15, 2008 Why do you stupid people talk alot of bulls*** if you can use microsofts wimgapi to do this because we didn't know C++? Link to comment Share on other sites More sharing options...
amit_talkin Posted June 15, 2008 Share Posted June 15, 2008 Why do you stupid people talk alot of bulls*** if you can use microsofts wimgapi to do this because we didn't know C++?if we were stupid, we couldnt have this kinda ques.! Link to comment Share on other sites More sharing options...
babykaokao Posted July 16, 2008 Share Posted July 16, 2008 hi guys,I have a idea but it may take hours.you apply the image then you capture it,and "display *" is gone.笨办法有时候是最好的办法.好运,goodluck. Link to comment Share on other sites More sharing options...
Antiriad Posted October 3, 2008 Share Posted October 3, 2008 I just updated GImageX so that you can add the DisplayName and DisplayDescription tags during capture or change them on existing images. Let me know how it works out http://www.autoitscript.com/gimagex Link to comment Share on other sites More sharing options...
Tripredacus Posted October 3, 2008 Share Posted October 3, 2008 I just updated GImageX so that you can add the DisplayName and DisplayDescription tags during capture or change them on existing images. Let me know how it works out http://www.autoitscript.com/gimagexI'm confused about the many different programs called GImageX... some of these need to get changed. Link to comment Share on other sites More sharing options...
kyor Posted September 25, 2015 Share Posted September 25, 2015 Thanks for update gimagex for support the Display Name and description tag.It works also for Windows 8.1. This topic is old but also usefull these days even with Windows 10 Now i can make a customized ISO File that support also autounattend.xml Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now