Problem installing Windows SDK for Windows 7 and .NET Framework 3.5 - resgen utility

All I really want is the resgen.exe utility. I've tried downloading it from numerous places on the net but it does not seem to be the "right" resgen as it does not behave the way it should (it gives errors when I try to convert a resource file to text).

I have Visual Studio Express 2008 so I know that resgen is not distributed with it.

So from searching the web I figured out (I think?) that I needed to install the Windows SDK referencend in the title of this post.

So I downloaded the DVD (ISO) version and burned it to a DVD. Then I ran setup.exe as an administrator. It hums along merrily and then gives a message that the installation failed.

I opened the log file and found the error (see code snippet below).

I am at a complete loss and am in way over my head. All I really want is the resgen.exe utility.
Is installing the SDK the right way to get it? If not, what is? If yes, how do I get past this error.

The end result here for me needs to be a resgen.exe utility that will convert a "resources" file to .txt, and then convert the .txt file back to a "resources" file.




6:48:48 PM Tuesday, December 22, 2009: An error occurred installing the Microsoft Windows SDK Intellisense and Reference Assemblies package. Error: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2203. 
6:48:49 PM Tuesday, December 22, 2009: [SDKSetup:Error] Config_Products_Install: Installation of Product Microsoft Windows SDK Intellisense and Reference Assemblies (failed): Fatal error during installation. Stack:    at Microsoft.WindowsInstaller.Installer.InstallProduct(String packagePath, String commandLine)	   at SDKSetup.Product.ConfigureNewProduct(ManualResetEvent CancelEvent)
6:48:49 PM Tuesday, December 22, 2009: [SDKSetup:Info] Config_Products_InstallNew: End installation of new product: Microsoft Windows SDK Intellisense and Reference Assemblies
6:48:49 PM Tuesday, December 22, 2009: [SDKSetup:Error] Config_Products_Install: Windows SDK Setup (failed): Installation of the "Microsoft Windows SDK Intellisense and Reference Assemblies" product has reported the following error: Fatal error during installation. Stack:    at SDKSetup.Product.ConfigureNewProduct(ManualResetEvent CancelEvent)	   at SDKSetup.Product.SetupProduct(TaskMode taskMode, ManualResetEvent CancelEvent)	   at SDKSetup.ProductCollection.SetupProducts(TaskMode taskMode, DownloadManager downloadManager, ManualResetEvent cancelEvent)	   at SDKSetup.ConfigProducts.DoCurrentTask(TaskMode Task)
6:48:49 PM Tuesday, December 22, 2009: [SDKSetup:Info] Setup expects to find a local readme at C:\Program Files\Microsoft SDKs\Windows\v7.0\ReleaseNotes.Htm

Open in new window

alicia1234Asked:
Who is Participating?
 
fhillyer1Commented:
here is teh windows 7 sdk download


resgen.zip
0
 
fhillyer1Commented:
This problem may occur if incorrect permissions are set for the folder that contains the SDK installation point.
to resolve this behavior, grant the system account full control permissions to the folder that contains the installation
0
 
alicia1234Author Commented:
And what folder would that be?
I'm installing from DVD.
It says it's installing to C:\Program Files\Microsoft SDKs\Windows\v7.0<!--[if gte mso 9]>   Normal  0          false  false  false    EN-US  X-NONE  X-NONE                                                                          <![endif]--><!--[if gte mso 9]>                                                                                                                                                                                                                                                                                    <![endif]--><!--[if gte mso 10]><![endif]-->
SYSTEM does have full control of that folder.
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
alicia1234Author Commented:
I have no idea what happened on that last post!

I'm installing to c:\program files\microsoft sdks\windows\v7.0
SYSTEM does have full control of that folder.

0
 
alicia1234Author Commented:
I did look in the bin directory where regen should be and it's not there, although there are a whole bunch of other tools.
Should resgen be part of the SDK? Or am I wasting my time on this?
0
 
fhillyer1Commented:
let me know if this resgen works for you then
if not, i am dl the sdk to my comp and preparing to send you the file
resgen.zip
0
 
alicia1234Author Commented:
I love you! THANK YOU! I was able to convert my resource file to text!


0
 
alicia1234Author Commented:
By the way: after doing a repair on my SDK install, and then running again with "change" option, it revealed that the NET tools were not installed. I checked those and this time it completed successfully, and then the resgen.exe utility did appear in my bin directory. I have no idea why the install failed the first time around. In between installs I did delete files in my temp dir, so I don't know if that made a difference or not.

So - bottom line: yes you do need to install the SDK to get the resgen utility.
But if anyone finds this post and all you need is resgen, then either of the files above will work - download one, rename it to have an .exe extension instead of the .zip (it's not really a zip file) and you're good to go.


0
 
alicia1234Author Commented:
Do you think I could now uninstall the SDK?  Will resgen.exe run on it's own or is it depending on other files that came in with the SDK?

0
 
fhillyer1Commented:
Idk if it depends on other files, because i do have the sdk installed for w7 and the one with visual studio 2008
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.