Why won't home edition won't install on any folder other than C:\Program Files\

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?

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?

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 ?

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.

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?

Also, please, post the last 200-250 lines of avast log: C:\Program Files\Alwil Software\Avast4\DATA\log\Setup.log

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

Strange error message for me…
Anyway, I need the log file contents like I’ve posted before.

The problem is there is no C:\Program Files. Where would I find the actual Log file?

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.

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.

Man… a C:\ drive as USB… living and learning…

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…

You’re installing different OS in the same partition?

Please download and run this program:
http://public.avast.com/~forejt/aswDestinationCheck.exe
Let me know the displayed message.

  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.

I wasn’t suggesting… just surprised with Forejt’s question about the C:\ drive.

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.

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.

Tariq, did you run aswDestinationCheck.exe? What’s the result?

No I didn’t. Where do I find it?

In my previous post ;D

Please download and run this program:
http://public.avast.com/~forejt/aswDestinationCheck.exe
Let me know the displayed message.

I ran it. All it does is tells me “Destination Folder is in Windows Directory C:\WINXP”. C:\WinXP is my Windows folder.

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.