| View previous topic :: View next topic |
| Author |
Message |
ladiko
Joined: 14 Jul 2006 Posts: 190 Location: Berlin
|
Posted: Tue Mar 11, 2008 8:05 pm Post subject: |
|
|
it is %ProgramData%\Autohotkey\Compiler
so on vista it is:
C:\ProgramData\Autohotkey\Compiler or %
and on win xp it is:
C:\Documents and Settings\All Users\Application Data\Autohotkey\Compiler
cause if you are a non privileged user, you dont have write access to %programfiles% - this is why another (crappy) path is used at the moment =/ |
|
| Back to top |
|
 |
mandiom
Joined: 03 Mar 2008 Posts: 34
|
Posted: Wed Mar 12, 2008 6:28 pm Post subject: |
|
|
Thanks, I found it...
So everything in the Compiler folder, right? |
|
| Back to top |
|
 |
ladiko_too_lazy_to_login Guest
|
Posted: Wed Mar 12, 2008 7:50 pm Post subject: |
|
|
| the folder AutoHotkey under %programdata% was created by compile_ahk |
|
| Back to top |
|
 |
ladiko
Joined: 14 Jul 2006 Posts: 190 Location: Berlin
|
Posted: Fri Apr 04, 2008 1:39 am Post subject: |
|
|
Update from 2008-04-03:+ New: icons can be picked from resource files like dlls and executables
+ Changed: AllwaysOnTop now uses icons instead of text
+ Fixed: "Set AHK-Version" wasn't disabled on startup, if versioninfo was disabled |
|
| Back to top |
|
 |
Trubbleguy
Joined: 20 Jan 2007 Posts: 73 Location: Melbourne
|
Posted: Fri Apr 04, 2008 7:38 am Post subject: delete old versions first |
|
|
Deleting the previous install folder is a must in Vista, not sure about xp sp2 but until i manually deleted the install location for the latest version amd then installing fresh it would not work _________________
 |
|
| Back to top |
|
 |
ladiko
Joined: 14 Jul 2006 Posts: 190 Location: Berlin
|
Posted: Fri Apr 04, 2008 9:19 am Post subject: |
|
|
normally this is not needed. if the setup is started with administrative rights, all content will be overwritten. maybe some of the files were open or opened by another program? but then it should be impossible to delete them manually.
what's the error if you try to install again?
another thing:
i want to add two message boxes and i'm unsure if the following texts are good english:
1.) which one is better:
+--------
| Shall the selected icon file "%IconName%" be copied to the script's folder?
| [Yes] / [No]
+--------
or
+--------
| Shall the selected icon file "%IconName%" be copied to the script's folder and use the copy?
| [Yes] / [No]
+--------
or
+--------
| What do you want to do with the icon?
| Yes: use the icon from its original folder
| No: copy the icon to the script's folder and use the copy
| [Yes] / [No]
+--------
or a custom msgbox gui with buttons like: [use original] / [create copy]
2.) if the user in 1.) select to copy the icon and it already exist:
+--------
| Do you want to overwrite the icon file "%IconName%" ?
| [Yes] / [No]
+-------- |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2474 Location: Australia, Qld
|
Posted: Fri Apr 04, 2008 12:49 pm Post subject: |
|
|
| ladiko wrote: | | 1.) which one is better: | The first and third sound okay, but I think a custom GUI would be best. The second doesn't sound right.
What is the benefit of copying the icon?
| Quote: | | Do you want to overwrite the icon file "%IconName%" ? | That sounds fine, but I'd suggest using a layout similar to the Windows Vista Save As dialog:
| Code: | | MsgBox, 52, Confirm XYZ, Filename.ext already exists.`nDo you want to replace it? | XP is more like:
| Code: | | MsgBox, 52, XYZ, The long path of that file you just selected\filename.ext already exists.`nDo you want to replace it? |
|
|
| Back to top |
|
 |
ladiko
Joined: 14 Jul 2006 Posts: 190 Location: Berlin
|
Posted: Fri Apr 04, 2008 1:28 pm Post subject: |
|
|
thank you for your reply (-:
the benefit ...
i added the function to extract an icon from a resource file (maybe you've heard about that ) . if this is the case, the icon is copied to the script's folder. so the only files that are outside of the script's folder, are directly selected ico-files.
my next step would be replacing hard pathes in the saved ini-file with a variable like %CompileAhkDir% that also works if you move the script's folder to another folder/drive/computer.
result:
you have a portable source folder with everything inside (was a requested feature).
a custom gui like this is ok?
+--------
| Do you want to use the icon from its original folder or create a copy in your script's folder and (use it from there|use the copy)?
| [use original] / [create copy]
+-------- |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2474 Location: Australia, Qld
|
Posted: Sat Apr 05, 2008 12:38 am Post subject: |
|
|
| ladiko wrote: | | a custom gui like this is ok? | Yes.  |
|
| Back to top |
|
 |
instantrunoff
Joined: 13 Jan 2008 Posts: 76
|
Posted: Sat Apr 05, 2008 2:47 am Post subject: |
|
|
this latest version gives me corrupted .exe's, and i overwrote the previous version. would you post the previous version for me please ?  |
|
| Back to top |
|
 |
ladiko
Joined: 14 Jul 2006 Posts: 190 Location: Berlin
|
|
| Back to top |
|
 |
instantrunoff
Joined: 13 Jan 2008 Posts: 76
|
Posted: Sat Apr 05, 2008 9:51 pm Post subject: |
|
|
| When the previous versions of Compile_AHK didn't work either, I found out that Threatfire was causing the problem even though the compiler processes were "allowed." I've written PC Tools about the problem. Disabling Threatfire allows the AHK EXE to compile properly. |
|
| Back to top |
|
 |
ladiko
Joined: 14 Jul 2006 Posts: 190 Location: Berlin
|
Posted: Sun Apr 06, 2008 2:11 pm Post subject: |
|
|
do you know what's the problem?
compiling with changing the icon files, compiling with changing version info or compiling at all?
does somebody know if double quotation marks are allowed as password for compiling with ahk2exe? if it is allowed, how to escape the double quotation mark? for the command line?
Update from 2008-04-06+ New: Compression level: None
+ Changed: now the ini file is only written if you compile
+ Fixed: New projects had `%IN_DIR`% in outgoing executables path
+ Korrektur: compression level of Ahk2Exe.exe saved and reset after compilation Update from 2008-04-06 v2+ New: Credits GUI by AGU & Laszlo Update from 2008-04-08+ Fixed: Icon settings were not saved in defaults.ini
+ Fixed: handling of double quotation marks in password corrected |
|
| Back to top |
|
 |
Trubbleguy
Joined: 20 Jan 2007 Posts: 73 Location: Melbourne
|
Posted: Thu Apr 10, 2008 1:28 am Post subject: OUT_FILE problem |
|
|
OUT_FILE= in the ini file is being a pain for me, i write a main exe for one company, and then copy it to another folder with the ini file, where the same exe compiles with different plugins, which is for a different company...
I need NO path set for OUT_FILE as they are always in %A_WorkingDir%, can you remove the path and just leave the filename please, if i dont manually change the ini file for that ahk it fails on compile or overwrites the main exe i created in the original folder (where original ini pointed).because sometimes i do this for 5 or 6 different compiles of the original ahk, i dont want to have to setup the ini file for each company every time i copy the ahk and its compile ini file. _________________
 |
|
| Back to top |
|
 |
Razlin
Joined: 05 Nov 2007 Posts: 288 Location: canada
|
Posted: Thu Apr 10, 2008 1:37 pm Post subject: |
|
|
Hi ladiko.
I just noticed an error in your
Compile_AHK_Setup.ahk
I dont know if this can cause errors in the compile_ahk.ahk but when it asks you where to save the compiler in
c:\ decs settings \all user\ ... ... there is a [...] button to select folder.
just a note that this button doesnt actually change the path
I dont have "rights" at work to save stuff in all users and the [...] doesnt work.. Ill see if I can change it hopefully it wont affect other parts of the script. _________________ -=Raz=- |
|
| Back to top |
|
 |
|