Adding file version info, is it posible?
- 
				RJP Computing
 - Enthusiast

 - Posts: 202
 - Joined: Sun Apr 27, 2003 4:44 am
 - Location: Michigan, USA
 - Contact:
 
Hi some new updates.
OK the 1033 went well. Thanks.
Now for the new bugs. The first is that I don't see the XP manifest is put in the file now.
 
The other is just so that you know. If you have your source file on a network drive your software is not passing the path corectly so the PB Compiler askes what source and for the output file name. If you don't give it it doesn't work.
here is the log file.
Thanks
			
			
									
									OK the 1033 went well. Thanks.
Now for the new bugs. The first is that I don't see the XP manifest is put in the file now.
The other is just so that you know. If you have your source file on a network drive your software is not passing the path corectly so the PB Compiler askes what source and for the output file name. If you don't give it it doesn't work.
here is the log file.
Code: Select all
------ PureBasic Compiler -----------
Compilerpath: C:\Program Files\PureBasic\Compilers\pbcompiler.exe
Compiler okay...
------ PureBasic Compiler -----------
Argumente: "C:\Documents and Settings\Ryan Pusztai\Desktop\RJP Calc\RJP Calc.PB" /EXE "C:\Documents and Settings\Ryan Pusztai\Desktop\RJP Calc\RJP Calc.exe" /ICON "\\Rjp-server\RJP-Shared\Shared Documents\Ryan\Icons\Calc.ico"
------ Datei Pfade -----------
Source path: C:\Documents and Settings\Ryan Pusztai\Desktop\RJP Calc\
Source file: RJP Calc.exe
Output file: C:\Documents and Settings\Ryan Pusztai\Desktop\RJP Calc\RJP Calc.exe
Compiler file: C:\Documents and Settings\Ryan Pusztai\Desktop\RJP Calc\RJPCalc_(Alpha).exe
------ Version.rc -----------
1 VERSIONINFO
FILEVERSION 0,0,0,1
PRODUCTVERSION 0,0,0,1
FILEOS 0x40004
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
	BLOCK "040904E4"
	{
		VALUE "CompanyName", "RJP Computing"
		VALUE "FileDescription", "VERY small and fast calculator"
		VALUE "FileVersion", "0,0,0,1"
		VALUE "InternalName", "VERY small and fast calculator"
		VALUE "LegalCopyright", "Copyright © 07/2003 by RJP Computing"
		VALUE "OriginalFilename", "RJP Calc.exe"
		VALUE "E-Mail", "rjpcomputing@rjpcomputing.com"
		VALUE "Web", "rjpcomputing.com"
                VALUE "Comments", "This software is provided as is without warranty of any kind"
	}
}
BLOCK "VarFileInfo"
{
	VALUE "Translation", 0x0407 0x04E4
}
}
------ Ressources Compiling -----------
Compile XP-Manifest...
Argumente: -addoverwrite "RJP Calc.exe", "RJP Calc.exe",  xp.res, 24,1,1033
Pfad: C:\Documents and Settings\Ryan Pusztai\Desktop\RJP Calc\
Compiliere Version.rc ...
Version.res gefunden und compiliert
Argumente: -addoverwrite "RJP Calc.exe", "RJP Calc.exe", Version.res, VERSIONINFO, 1, 1033
Pfad: C:\Documents and Settings\Ryan Pusztai\Desktop\RJP Calc\
! Scrambling skipped
Datei nach : C:\Documents and Settings\Ryan Pusztai\Desktop\RJP Calc\RJPCalc_(Alpha).exe kopiert.
------ Ergebnis: -----------
Original size: 12320 Bytes. [12KB]
Compressed: 0 Bytes [0KB] (0%)
done!Thanks
-Ryan
RJP Computing
Ubuntu 8.10/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, nVidia GeForce 7600GT 512MB
						RJP Computing
Ubuntu 8.10/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, nVidia GeForce 7600GT 512MB
hello,
is there a way using your GREAT tool, to change what the comments are, and the language would be nice if it was changeable too. if not, no biggie... but you might want to add it to your list of "things to add"
thanks for the great tool, it is quite nice.
			
			
									
									is there a way using your GREAT tool, to change what the comments are, and the language would be nice if it was changeable too. if not, no biggie... but you might want to add it to your list of "things to add"
thanks for the great tool, it is quite nice.
--Aszid--
Making crazy people sane, starting tomorrow.
						Making crazy people sane, starting tomorrow.
- 
				RJP Computing
 - Enthusiast

 - Posts: 202
 - Joined: Sun Apr 27, 2003 4:44 am
 - Location: Michigan, USA
 - Contact:
 
- 
				RJP Computing
 - Enthusiast

 - Posts: 202
 - Joined: Sun Apr 27, 2003 4:44 am
 - Location: Michigan, USA
 - Contact:
 
- 
				Num3
 - PureBasic Expert

 - Posts: 2812
 - Joined: Fri Apr 25, 2003 4:51 pm
 - Location: Portugal, Lisbon
 - Contact:
 
I have the same problem has RPG...
The executable created contains no information on the version thingie
I'm using w2k, here's the log:
			
			
									
									
						The executable created contains no information on the version thingie
I'm using w2k, here's the log:
------ PureBasic Compiler -----------
Compilerpath: D:\PureBasic_beta\Compilers\PBCompiler.exe
Compiler okay...
------ PureBasic Compiler -----------
Argumente: "C:\Documents and Settings\Rui Carvalho\Desktop\STupX\Example.pb" /EXE "C:\Documents and Settings\Rui Carvalho\Desktop\STupX\Example.exe"
------ Datei Pfade -----------
Source path: C:\Documents and Settings\Rui Carvalho\Desktop\STupX\
Source file: Example.exe
Output file: C:\Documents and Settings\Rui Carvalho\Desktop\STupX\Example.exe
Compiler file: C:\Example.exe
------ Version.rc -----------
1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEOS 0x40004
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
BLOCK "040904E4"
{
VALUE "CompanyName", "Sunset-Team Software"
VALUE "FileDescription", "For test only"
VALUE "FileVersion", "1,0,0,0"
VALUE "InternalName", "For test only"
VALUE "LegalCopyright", "Copyright © 07/2003 by DiGe"
VALUE "OriginalFilename", "Example.exe"
VALUE "E-Mail", "DiGe@Gmx.de"
VALUE "Web", "www.Sunset-Team.de"
VALUE "Comments", "This software is provided as is without warranty of any kind"
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0407 0x04E4
}
}
------ Ressources Compiling -----------
Compile XP-Manifest...
Argumente: -addoverwrite "Example.exe", "Example.exe", xp.res, 24,1,1033
Pfad: C:\Documents and Settings\Rui Carvalho\Desktop\STupX\
Compiliere Version.rc ...
Version.res gefunden und compiliert
Argumente: -addoverwrite "Example.exe", "Example.exe", Version.res, VERSIONINFO, 1, 1033
Pfad: C:\Documents and Settings\Rui Carvalho\Desktop\STupX\
! Scrambling skipped
Datei nach : C:\Example.exe kopiert.
------ Ergebnis: -----------
Original size: 4128 Bytes. [4KB]
Compressed: 0 Bytes [0KB] (0%)
done!
Re: Adding file version info, is it posible?
> Is there a way to have the PB compiler to put version information in an executable?
No, but you can use PPBuild (a free PureBasic compiler) to do it:
viewtopic.php?t=7299
			
			
									
									
						No, but you can use PPBuild (a free PureBasic compiler) to do it:
viewtopic.php?t=7299
Re: Adding file version info, is it posible?
>> Is there a way to have the PB compiler to put version information in an executable?
> No, but you can use PPBuild (a free PureBasic compiler) to do it:
> viewtopic.php?t=7299
PureBasic (v3.94 beta1) now supports this -- woohoo!
Although, it's missing the Web/E-mail fields... these are a must, IMO.
			
			
									
									> No, but you can use PPBuild (a free PureBasic compiler) to do it:
> viewtopic.php?t=7299
PureBasic (v3.94 beta1) now supports this -- woohoo!
Although, it's missing the Web/E-mail fields... these are a must, IMO.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
						"PureBasic won't be object oriented, period" - Fred.


