BlueLED Posted June 13, 2012 Share Posted June 13, 2012 (edited) Hey all, I've been using AutoIt3 for about 2 days now, (Newbie to Autoit, also) have to say it's rather nice. I am however, having problems getting the AutoIt3Wrapper functions working. I'm wanting to add a custom icon, which I've been able to do via Aut2Exe, but also custom version, copyright etc information. The below script fails to include/update, so I then tried resource editors to check it the icon was at least being included. It's not. Plus all editors I've tried have corrupted the exe, (as I haven't been able to find a way to make it not be packed via UPX) I'm getting no readout errors. "test.ico" is in the same dir as the script. Compiling via Ctrl+F7/Tools > Compile option #include-once #include <WinHTTP.au3> #include <Array.au3> #Region #AutoIt3Wrapper_icon=test.ico #AutoIt3Wrapper_Res_Fileversion=18.104.22.168 #AutoIt3Wrapper_Res_LegalCopyright=BlueLED 2012 #EndRegion #include <INet.au3> $source = _INetGetSource("http://someurl.com/time_checker.pl") ;is working (changed from my url for sake of posting) If $source > '1342079249' Then MsgBox(0,"Program is outdated", "Obtain update off BlueLED") ;works as expected Exit EndIf This is what I have so far. Just trying to get the icon and the other resources "in there" first Edit: Am I forgetting to include something that is mandatory for the custom resources to be added, per chance? Any help would be awesome. Much thanks in advance, Blue Edited June 13, 2012 by BlueLED Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now