bsmith0183 Posted November 23, 2010 Share Posted November 23, 2010 Hi I was wondering if anyone knew of any way to increase the file size of a newly created EXE I only have one line of code in the script ShellExecute ("ReadPFile.exe", "Let_There_Be_Ys.pdf") After I build the EXE its only like 295kb is there a way to build it and have it like 4 or 5 MB? Only reason being I am trying to run it on a 64bit windows 7 PC and I read somewhere that 64bit systems do not like small executables not sure if this is true or not Any help would be much appreciated Thanks Link to comment Share on other sites More sharing options...
enaiman Posted November 23, 2010 Share Posted November 23, 2010 (edited) Yeah - include some files (images, ... whatever)I read somewhere that 64bit systems do not like small executables not sureif this is true or not where have you got that idea from ??EDIT: also, uncheck UPX at compile time. Edited November 23, 2010 by enaiman SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
HavikTech Posted November 23, 2010 Share Posted November 23, 2010 you can include files like this: FileInstall("C:\source.jpg", @TempDir & "\source.jpg") Link to comment Share on other sites More sharing options...
SadBunny Posted November 23, 2010 Share Posted November 23, 2010 Only reason being I am trying to run it on a 64bit windows 7 PC and I read somewhere that 64bit systems do not like small executables not sureif this is true or notI dug out my old old 64 bits windows 7 laptop from behind a heap of old curtains in my attic (only 6 GB of RAM and 2.3 ghz, remember the good old days... ) and started a 28kb helloworld executable... Ran just fine! Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
Zedna Posted November 24, 2010 Share Posted November 24, 2010 Yeah, and then the files get installed every time you run the script. Add files to resources like this #AutoIt3Wrapper_Res_File_Add=test_1.txt, rt_rcdata, TEST_TXT_1 Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now