Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: thasan on December 03, 2007, 03:32:18 PM

Title: Why won't home edition won't install on any folder other than C:\Program Files\
Post by: thasan on December 03, 2007, 03:32:18 PM
I have custom install at home where I changed the location of the Program Files to a non-standard one. But when I try to install Avast, at the point of where it asks for the folder to install, it gives me error "Please choose a different folder". Finally I figured out, it will only install in "C:\Program Files\Alwil...".

Does any one know a fix for it?
Title: Re: Why won't home edition won't install on any folder other than C:\Program Files\
Post by: Lisandro on December 03, 2007, 03:42:29 PM
No, it can be installed in other folders.
Which are the full name of the folder you want to install?
Is there non-ASCII characters in it, for instance, accented characters?
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: DavidR on December 03, 2007, 03:50:12 PM
Well mine isn't in the default location but on my D drive.

When you choose a custom location you have to exercise care that the path to that location doesn't have any characters with accents, that may be the problem later (as we have seen in the forums before). But I wouldn't have thought it would have stopped you from installing in a custom location.

What was the path you were trying to install it in ?
Were you trying to install it on an external drive ?
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: thasan on January 11, 2008, 11:39:19 PM
Mine is C:\WinXPPrograms\Alwil.... And everytime I tried, I got error message Cannot be installed to that folder. Then I ended up installing in C:\Program Files\Alwil... and then moving it to the other folder by changing all the registry entries. I tried this on multiple machines.
Title: Re: Why won't home edition won't install on any folder other than C:\Program Files\
Post by: igor on January 12, 2008, 12:01:08 AM
Can you please post a screenshot of the setup window with the entered path to your custom folder?
And if possible, also the screenshot of the subsequent error message?
Thanks.

Btw, what operating system is that? WinXP I guess?
Title: Re: Why won't home edition won't install on any folder other than C:\Program Files\
Post by: Lisandro on January 12, 2008, 12:55:12 AM
Also, please, post the last 200-250 lines of avast log: C:\Program Files\Alwil Software\Avast4\DATA\log\Setup.log
Title: Re: Why won't home edition won't install on any folder other than C:\Program Files\
Post by: thasan on January 14, 2008, 02:56:30 PM
Here we are with the pictures.

Version is Winxp Pro.

14.01.2008 08:52:10 general: Started: 14.01.2008, 08:52:10
14.01.2008 08:52:10 general: Running setup_av_pro-413 (1043)
14.01.2008 08:52:10 system: Operating system: WindowsXP ver 5.1, build 2600, sp 2.0 [Service Pack 2]
14.01.2008 08:52:10 system: Computer WinName: WXP-USB-001
14.01.2008 08:52:10 system: Windows Net User: WXP-USB-001\Administrator
14.01.2008 08:52:10 general: Cmdline: /sfx /sfxstorage "C:\WINXP-~2\ADMINI~1\LOCALS~1\Temp\_av_sfx.tm~a00892"  /srcpath "G:\Download\Avast"
14.01.2008 08:52:10 general: DldSrc set to sfx
14.01.2008 08:52:10 general: Old version: ffffffff (-1)
14.01.2008 08:52:10 general: Install check: SetupVersion does NOT exist
14.01.2008 08:52:10 general: SGW32P::CheckIfInstalled set m_bAlreadyInstalled to 0
14.01.2008 08:52:10 registry: Get registry: Software\Microsoft\Internet Explorer\Version=6.0.2900.2180
14.01.2008 08:52:10 general: Operation set to INST_OP_INSTALL
14.01.2008 08:52:10 general: GUID: 875dde41-5e6a-43f2-aada-c970a592c2e0
14.01.2008 08:52:10 general: SelectCurrent: selected server 'tmp sfx storage' from 'sfx'
14.01.2008 08:52:10 package: GetPackages - set proxy for inet
14.01.2008 08:52:10 internet: SYNCER: Type: use IE settings
14.01.2008 08:52:10 internet: SYNCER: Auth: another authentication, use WinInet
14.01.2008 08:52:10 general: Entered SetupProcessPro::Do( INST_OP_INSTALL )
14.01.2008 08:52:10 general: Entered SetupProcessWin32Avast::Do( INST_OP_INSTALL )
14.01.2008 08:52:10 general: Entered SetupProcessWin32::Do( INST_OP_INSTALL )
14.01.2008 08:52:10 general: Entered SetupProcess::Do( INST_OP_INSTALL )
14.01.2008 08:53:58 general: progress end - forced
14.01.2008 08:53:58 general: progress thread end
Title: Re: Why won't home edition won't install on any folder other than C:\Program Files\
Post by: Lisandro on January 14, 2008, 03:07:10 PM
Strange error message for me...
Anyway, I need the log file contents like I've posted before.
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: thasan on January 14, 2008, 05:22:17 PM
The problem is there is no C:\Program Files. Where would I find the actual Log file?
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: Forejt on January 14, 2008, 05:49:03 PM
Where is the "C:\WinXP-ProgramFiles" folder located? It's not possible to install on removable (e.g. USB) drives. avast can be installed only on fixed hard drive.
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: thasan on January 14, 2008, 05:55:45 PM
Its on my local drive. The reason I have different folder names is I have two versions of XP as well as one Windows 2003. All installed with different PrograFiles folder, users' folder and ofcourse different %windir% folder.
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: Lisandro on January 14, 2008, 05:57:15 PM
Where is the "C:\WinXP-ProgramFiles" folder located? It's not possible to install on removable (e.g. USB) drives. avast can be installed only on fixed hard drive.
Man... a C:\ drive as USB... living and learning...

The problem is there is no C:\Program Files. Where would I find the actual Log file?
C:\WinXP-ProgramFiles\Alwil Software\Avast4\DATA\log\ or similar... But did you already installed avast once? If not, you won't have a log...

Its on my local drive. The reason I have different folder names is I have two versions of XP as well as one Windows 2003. All installed with different PrograFiles folder, users' folder and ofcourse different %windir% folder.
You're installing different OS in the same partition?
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: Forejt on January 14, 2008, 06:16:42 PM
Please download and run this program:
http://public.avast.com/~forejt/aswDestinationCheck.exe
Let me know the displayed message.
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: thasan on January 14, 2008, 07:07:22 PM
Where is the "C:\WinXP-ProgramFiles" folder located? It's not possible to install on removable (e.g. USB) drives. avast can be installed only on fixed hard drive.
Man... a C:\ drive as USB... living and learning...

The problem is there is no C:\Program Files. Where would I find the actual Log file?
C:\WinXP-ProgramFiles\Alwil Software\Avast4\DATA\log\ or similar... But did you already installed avast once? If not, you won't have a log...

Its on my local drive. The reason I have different folder names is I have two versions of XP as well as one Windows 2003. All installed with different PrograFiles folder, users' folder and ofcourse different %windir% folder.
You're installing different OS in the same partition?

1. Not sure what you are suggesting there.

2. There was no previous version installed. Would it do the same if I created the folders manually?

3. Yes, there are multiple version of Windows installed on the same partition.

Title: Re: Why won't home edition won't install on any folder other than C:\Program Files\
Post by: Lisandro on January 14, 2008, 08:58:57 PM
1. Not sure what you are suggesting there.
I wasn't suggesting... just surprised with Forejt's question about the C:\ drive.

2. There was no previous version installed. Would it do the same if I created the folders manually?
Don't worry. If this is the first installation, the log won't exist (yet). You can't post it because it does not exist.

3. Yes, there are multiple version of Windows installed on the same partition.
You're brave... I will be afraid of conflicts and files being changed by the other operational system. I have dual boot system with Linux, but, of course, in different partitions. I have dual boot system with Windows 98, 2k and XP... but each one in different partition.
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: Forejt on January 14, 2008, 09:42:13 PM
Tariq, did you run aswDestinationCheck.exe? What's the result?
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: thasan on January 16, 2008, 03:26:33 PM
No I didn't. Where do I find it?
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: Forejt on January 16, 2008, 03:30:07 PM
In my previous post ;D

Please download and run this program:
http://public.avast.com/~forejt/aswDestinationCheck.exe
Let me know the displayed message.
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: thasan on January 18, 2008, 03:05:54 PM
I ran it. All it does is tells me "Destination Folder is in Windows Directory C:\WINXP". C:\WinXP is my Windows folder.
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: Forejt on January 18, 2008, 03:27:11 PM
Setup incorrectly thinks that Program Files folder is also Windows folder, as both begins with C:\WINXP.
You should still be able to install into e.g. C:\Avast4XP, we'll fix this in next program update.
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: thasan on January 18, 2008, 04:21:48 PM
Interesting. I did install to C:\Program Files\Alwil..... and then moved everything to C:\WinXPPrograms\Alwil.... and modify all registry settings accordingly. That works. Just a pain.

Glad you found what the problem is.
Title: Re: Why won't home edition won't install on any folder other than C:\Program Files\
Post by: Lisandro on January 18, 2008, 05:18:51 PM
Interesting. I did install to C:\Program Files\Alwil..... and then moved everything to C:\WinXPPrograms\Alwil.... and modify all registry settings accordingly. That works. Just a pain.
I suppose the file avast4.md should be changed too... Not so sure you can only change registry keys. Need a confirmation from Alwil team.
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: thasan on January 18, 2008, 08:26:51 PM
Not sure what avast4.md is but I install Avast in C:\Program Files\Alwil Software\Avast4 folder. Then I move all files from C:\Program Files\Alwil Software\Avast4 to C;\WinXPPrograms\Alwil Software\Avast4. Then in the registry, remove all occurances of C:\Program Files\Alwil with C:\WinXPPrograms\Alwil and C:\PROGRA~1\ALWILS~1 with C:\WINXPP~1\ALWILS~1. Reboot
Title: Re: Why won't home edition won't install on any folder other than C:\Program Files\
Post by: Lisandro on January 18, 2008, 08:51:33 PM
Not sure what avast4.md
A setting database for the providers. As far I know it DOES contain the original path installed into its data. So, moving avast will give you a corrupt installation. Maybe you should move this file to another folder and repair your avast installation through the Control Panel.
Title: Re: Why won't home edition won't install on any folder other than C:\Program Fil
Post by: thasan on January 21, 2008, 01:59:33 PM
Thanks for the suggestion but my Avast is working fine (from what I can tell). However, I am curious to find out how to change settings via Control Panel. I would like to find out more about it.