# Win32 Version Info Updater

**URL:** https://www.finalbuilder.com/forums/t/win32-version-info-updater/1022
**Category:** Discussion
**Created:** [October 30, 2008, 5:49am UTC](https://www.finalbuilder.com/forums/t/win32-version-info-updater/1022 "2008-10-30T05:49:33Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![markp](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@markp](https://www.finalbuilder.com/forums/u/markp)
#### Post date: [October 30, 2008, 5:49am UTC](https://www.finalbuilder.com/forums/t/win32-version-info-updater/1022/1 "2008-10-30T05:49:33Z")

</div>

Hi All,

I am trying to update the version info for a dll. I am trying to use the Win32 Version Info Updater command. I point to my resource file, but the property set and the properties to update don't allow me to select anything. What am I doing wrong? I've looked at the help but it isn't helpful.  
  
Thanks.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [November 5, 2008, 1:17am UTC](https://www.finalbuilder.com/forums/t/win32-version-info-updater/1022/2 "2008-11-05T01:17:07Z")

</div>

Hi Mark   
  
 Are you pointing it to a .rc file which has a version info record?   
  
 One possibility is if your version info record is inside an ifdef, the parser does not handle this and it has no way of knowing about defines. Does the .rc file get updated at all?

---

<div class="post-metadata">

### Author: ![markp](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@markp](https://www.finalbuilder.com/forums/u/markp)
#### Post date: [November 5, 2008, 2:35am UTC](https://www.finalbuilder.com/forums/t/win32-version-info-updater/1022/3 "2008-11-05T02:35:55Z")

</div>

Hi Vincent,  
Thanks for replying. I'll attach my resource file. Maybe you can determine the problem from this?

Thanks,  
Mark

&nbsp;=======================

&nbsp;

#ifdef

&nbsp;

 APSTUDIO\_INVOKED#error this file is not editable by Microsoft Visual C++

#endif

&nbsp;

 //APSTUDIO\_INVOKED

IDR\_ESPRIT REGISTRY DISCARDABLE

"ComLib/Esprit.rgs"

IDR\_COMAPPLICATION REGISTRY DISCARDABLE

"ComLib/ComApplication.rgs"

IDR\_COMTOOLPATHITEM REGISTRY DISCARDABLE

"ComLib/ComOperations/ComToolPathItem.rgs"

IDR\_COMVISUALATTRIBUTE REGISTRY DISCARDABLE

"ComLib/ComVisualAttribute.rgs"

1 TYPELIB

"Esprit.tlb"

/////////////////////////////////////////////////////////////////////////////

//

// Version

//

VS\_VERSION\_INFO VERSIONINFO

FILEVERSION 17,0,0000,0

PRODUCTVERSION 17,0,0000,0

FILEFLAGSMASK 0x3fL

#ifdef

FILEFLAGS 0x1L

 \_DEBUG

#else

FILEFLAGS 0x0L

#endif

FILEOS 0x4L

FILETYPE 0x1L

FILESUBTYPE 0x0L

BEGIN

BLOCK

"StringFileInfo"

BEGIN

BLOCK

"040904b0"

BEGIN

VALUE

"Comments", "\0"

VALUE

"CompanyName", "D.P. Technology Corp.\0"

VALUE

"FileDescription", "ESPRIT MFC Application\0"

VALUE

"FileVersion", "17,0,0000, 0\0"

VALUE

"InternalName", "ESPRIT\0"

VALUE

"LegalCopyright", "Copyright 1997-2009\0"

VALUE

"LegalTrademarks", "\0"

VALUE

"OriginalFilename", "ESPRIT.EXE\0"

VALUE

"PrivateBuild", "\0"

VALUE

"ProductName", "ESPRIT Application\0"

VALUE

"ProductVersion", "17, 0, 0000, 0\0"

VALUE

"SpecialBuild", "\0"

END

END

BLOCK

"VarFileInfo"

BEGIN

VALUE

END

END

==========

"Translation", 0x409, 1200

//

// ESPRIT.RC2 - resources Microsoft Visual C++ does not edit directly

//

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [November 5, 2008, 4:30am UTC](https://www.finalbuilder.com/forums/t/win32-version-info-updater/1022/4 "2008-11-05T04:30:11Z")

</div>

Hi Mark   
  
 Looks like the html editor garbled the file… I reconstructed it and tested the updater and it worked fine. I just re-read your original post and I don’t think it has anything to do with the rc file itself, but rather the property set. On the propertyset define action, make sure the propertyset type is set to Win32 Version Info.

---

<div class="post-metadata">

### Author: ![markp](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@markp](https://www.finalbuilder.com/forums/u/markp)
#### Post date: [November 5, 2008, 5:37am UTC](https://www.finalbuilder.com/forums/t/win32-version-info-updater/1022/5 "2008-11-05T05:37:07Z")

</div>

Thanks Vincent! That was what I was missing.
