Sign in to follow this  
Followers 0
Thomas Segeth

Set File version?

22 posts in this topic

Hi guys,

is there a way to set the version of a file?

i need the opposite of "FileGetVersion" :)

Cya

Thomas

Share this post


Link to post
Share on other sites



In the SciTe tools there is a compiler. (Aut2Exe.exe) You will need to install the "Resource Hack", and then you can change the file version information. The information you need to tell you how to do this is on the "Resource Hack" tab.

Many, many thanks mate. That is exactly what i was searching for.

Share this post


Link to post
Share on other sites

this option isn't in the latest beta convertor ? how can i do it with the beta ?


*If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip...

Share this post


Link to post
Share on other sites

this option isn't in the latest beta convertor ? how can i do it with the beta ?

The tools referred to is called AutoIt3Wrapper which comes with the full SciTE4AutoIt3 installer.

IOt has the capability to read #compiler directives and do these tasks for you ...

:P


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

i just found it :P but the value that getversion return doesn't change.

also it seems it uses lang 1032 instead of 2057


*If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip...

Share this post


Link to post
Share on other sites

Isn't there another option .. because using the resource hacker is not a real solution

Emiel


Best regards,Emiel Wieldraaijer

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Hi,

the question is, whether you want to change the version before compile or afterwards?

So long,

Mega

Edited by th.meger

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

Isn't there another option .. because using the resource hacker is not a real solution

Emiel

Can you please define what "not a real solution" is?

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

I want to change the fileversion, description and copyright before compiling ..

Resource hacker .. is a util to change things in the exe after compiling

Emiel

Edited by Emiel Wieldraaijer

Best regards,Emiel Wieldraaijer

Share this post


Link to post
Share on other sites

maybe we talk about a different util ?!

Emiel


Best regards,Emiel Wieldraaijer

Share this post


Link to post
Share on other sites

maybe we talk about a different util ?!

Emiel

dunno ... you tell us ? ( in English or Dutch :) )

The answer to the question is to use reshacker.exe either manually of via AutoIt3Wrapper using the compiler directives....


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

i'm not a programmer .. so maybe i;m wrong

ok the resource hacker must be the same .. maybe .. i don't understand it very well...

i have to compile a script .. open i with resource hacker and change the version information ?

Emiel

ik ben maar een systeembeheerder .. en geen programmeur .. dus dit is heel nieuw voor mij


Best regards,Emiel Wieldraaijer

Share this post


Link to post
Share on other sites

i'm not a programmer .. so maybe i;m wrong

ok the resource hacker must be the same .. maybe .. i don't understand it very well...

i have to compile a script .. open i with resource hacker and change the version information ?

Emiel

ik ben maar een systeembeheerder .. en geen programmeur .. dus dit is heel nieuw voor mij

Or ... go the easy route.

Download resource hacker.

Install it in your Program Files\AutoIt\SciTE\AutoIt3Wrapper directory

Open SciTe (if you don't have it... get it http://www.autoitscript.com/autoit3/scite/downloads.php )

Tools

Compile

Resource Hack

Fill Out Information you want

Compile Script


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

ik ben maar een systeembeheerder .. en geen programmeur .. dus dit is heel nieuw voor mij

Emiel,

Als je SciTE4AutoIt3 heb geinstalleerd en je download Resourcehacker van de link die in het helpfile staat, dan kan je de resource informatie aanpassen door de Compiler directives te gebruiken.

dit is een voorbeeld als gebruikt in AutoIt3Wrapper :

#Compiler_Res_Comment=Compile or Run your Autoit3 script with options like update the resource information.
#Compiler_Res_Description=Compile or Run your Autoit3 script with options.(Used To be Called CompileAU3)
#Compiler_Res_Fileversion=1.7.6.1                 ;File Version
#Compiler_Res_FileVersion_AutoIncrement=n         ;AutoIncrement FileVersion After Aut2EXE is finished.
#Compiler_Res_LegalCopyright=JoSoft :-)
; free form resource fields ... max 15
#Compiler_Res_Field=Made By|Jos van der Zande
#Compiler_Res_Field=Email|jdeb at autoitscript dot com
#Compiler_Res_Field=AutoIt Version|%AutoItVer%
#Compiler_Res_Field=Compile Date|%date% %time%

Wanneer je iets dergelijks in je script hebt staan en je compile je script me F7, zal de resource info aangepast worden met de ingegeven info.

MVG

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Or ... go the easy route.

Download resource hacker.

Install it in your Program Files\AutoIt\SciTE\AutoIt3Wrapper directory

Open SciTe (if you don't have it... get it http://www.autoitscript.com/autoit3/scite/downloads.php )

Tools

Compile

Resource Hack

Fill Out Information you want

Compile Script

Is the AutoIt3Wrapper folder automatically created when you install autoit, or do you need to install SciTE for that folder to be created?


[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com

Share this post


Link to post
Share on other sites

Is the AutoIt3Wrapper folder automatically created when you install autoit, or do you need to install SciTE for that folder to be created?

It is part of the SciTE4AutoIt3 installation ....

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

It is part of the SciTE4AutoIt3 installation ....

Odd, I only have a folder named api...

(Sorry if this is going off topic, this will be my last post)


[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com

Share this post


Link to post
Share on other sites

Odd, I only have a folder named api...

(Sorry if this is going off topic, this will be my last post)

1. Are you looking in your Beta SciTe directory?

2. Do you have the full installation at the top of this page? http://www.autoitscript.com/autoit3/scite/downloads.php


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0