Changing file version


  1. Posts : 6
    Windows 7 ultimate x32
       #1

    Changing file version


    I made an executable file with freebasic compiler (basicly i turned qbasic source file into stand-alone executable) and i wonder if there is ANY way to change version of file so it is displayed at properties in "details" menu?
    i searched youtube and wikipedia and windows help but nothing.
    pls help me, i have some plans with it and i really want to add version info
      My Computer


  2. Posts : 934
    Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
       #2

    You need to add it to the file first, because freebasic compiler does not do that.

    I would use Restorator 2007.
    In the program menu Resources - Add Resource - Windows Standard type- Version

    And then because trial version of Restorator leaves trial marks inside exe file, I would use Resource Hacker to edit these marks (in resource hacker it is not possible to add a new Version resource as easy as in Restorator).
    Last edited by Neutron16; 22 Apr 2011 at 23:53. Reason: Regarding trial version of Restorator 2007
      My Computer


  3. Posts : 8,679
    Windows 10 Pro x64
       #3

    Hello there. You can use Resource Hacker . It's very good tool.
      My Computer


  4. Posts : 934
    Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
       #4

    StalkeR, Resource Hacker was just mentioned above.

    However, have you actually tried yourself to insert a version resource in the file with Resource Hacker without knowing a structure of a version resource? It is impossible.
      My Computer


  5. Posts : 8,679
    Windows 10 Pro x64
       #5

    I didn't saw that. My mistake. And I haven't used Res Hacker for a long time....
      My Computer


  6. Posts : 6
    Windows 7 ultimate x32
    Thread Starter
       #6

    Neutron16 said:
    You need to add it to the file first, because freebasic compiler does not do that.

    I would use Restorator 2007.
    In the program menu Resources - Add Resource - Windows Standard type- Version

    And then because trial version of Restorator leaves trial marks inside exe file, I would use Resource Hacker to edit these marks (in resource hacker it is not possible to add a new Version resource as easy as in Restorator).
    can you pls explain how to do it?
      My Computer


  7. Posts : 934
    Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
       #7

    1. Download Restorator 2007 Here
    2. Start downloaded file and install
    3. Open Restorator 2007 shortcut in Start-Programs menu
    4. In Restorator 2007 open file, which you have compiled in freebasic compiler.
    5.In the Restorator 2007 menu Resources - Add Resource, Choose Windows Standard type- Version
    6. Edit new fields which appeared with corresponding information.7. Save file, exit Restorator 2007.

    7.Download and install Resource Hacker from here
    8. Open modified file in Resource Hacker
    9. In the left menu choose the Corresponding resource in this case Version Info/1/Language number
    10. Change whatever mentions of trial version and click button "Compile Script" and Save file.
      My Computer


  8. Posts : 6
    Windows 7 ultimate x32
    Thread Starter
       #8

    i did it exactly like that and still when i go to propeties->details there is nothing under file version shown
      My Computer


  9. Posts : 934
    Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
       #9

    Might have missed something.
    Here it is in pictures.
    Attached Thumbnails Attached Thumbnails Changing file version-1.png   Changing file version-2.png   Changing file version-3.png   Changing file version-4.png   Changing file version-5.png  

      My Computer


  10. Posts : 6
    Windows 7 ultimate x32
    Thread Starter
       #10

    Thank u VERY much. Now im happy :)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:07.
Find Us