| View previous topic :: View next topic |
| Author |
Message |
Jerry
Joined: 24 Jun 2004 Posts: 39
|
Posted: Fri Oct 08, 2004 6:28 pm Post subject: Install program |
|
|
(This happened about 2 installs ago...so maybe its fixed now for version 1.0.20. )
I install autohotkey to the directory
C:\Program Files\AutoHotkey
while I was adding scripts, I decided to create a new directory
C:\Program Files\AutoHotkey\Extras\udf
and I put a couple of scripts in it.
When I installed the next version of AutoHotKey, it deleted the new directory and the scripts. (I made sure not to use autohotkeys folders again and that's why I don't know if this is still the install program's behavior)
Can the install program avoid deleting directories a previous version did not make or can you make a backup of the directory and its contents before the install program deletes (or put the deleted stuff in the recycle bin) so that a naive user can recover anything that was accidentally deleted during the install.
Jerry |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Fri Oct 08, 2004 6:32 pm Post subject: |
|
|
| Yes that has since been fixed. It was wrong to delete the Extras folder and I apologize for any loss of files it caused. |
|
| Back to top |
|
 |
Wingfat
Joined: 23 Aug 2004 Posts: 193 Location: East Bay, California USA
|
Posted: Fri Oct 08, 2004 7:18 pm Post subject: |
|
|
| I have noticed, but not mentioned before.. but when i install AHK on a machine when a user is logged in (meanng not an Administrator), when it tries to install the Template.ahk i get an error that the file can not be installed. I can hit Ignore and it finishes the install but with out the template.ahk file. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Fri Oct 08, 2004 8:39 pm Post subject: |
|
|
| The theory is that most people would prefer AHK installed for "all users". There should probably be an option in the installer to install for only the current user, in which case the template could be copied into %USERPROFILE%\templates rather than %WinDir%\ShellNew. However, I don't think %USERPROFILE%\templates works the same was as ShellNew. It might not even be related. |
|
| Back to top |
|
 |
lingoist
Joined: 05 Oct 2004 Posts: 120 Location: Brasília, Brazil
|
Posted: Thu Oct 21, 2004 4:59 am Post subject: |
|
|
Chris,
Is there a function to find Windows folder (such as %WinDir%)? My Windows is in Portuguese and I've had some problems with it!
Thanks,
Alfredo |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Thu Oct 21, 2004 12:55 pm Post subject: |
|
|
| Are you saying that %WinDir% doesn't contain the correct value or doesn't exist on your system? In such cases it can probably be fetched using RegRead. But I will make a note to add a built-in variable for this. |
|
| Back to top |
|
 |
lingoist
Joined: 05 Oct 2004 Posts: 120 Location: Brasília, Brazil
|
Posted: Thu Oct 21, 2004 2:04 pm Post subject: |
|
|
Chris,
Program Files is my worst problem. Here in Brazil, some computers have C:\Arquivos de programa (Portuguese version) and others C:\Program Files (English version). It also occurs with Windows folder. However, it is less often.
Thanks again. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Thu Oct 21, 2004 3:17 pm Post subject: |
|
|
| Try using %ProgramFiles%. It should exist on all OSes except Windows 9x (but maybe only Windows 95 lacks it). I've made a note to add more built-in variables for these in a future version. |
|
| Back to top |
|
 |
lingoist
Joined: 05 Oct 2004 Posts: 120 Location: Brasília, Brazil
|
Posted: Thu Oct 21, 2004 4:08 pm Post subject: |
|
|
It didn't work in Windows 98se.
Thanks! |
|
| Back to top |
|
 |
|