kiv
Posts: 12
Joined: Sat May 20, 2006 4:09 pm

Advanced Installer on Windows XP 64

Hi,

I have been using advanced installer to deploy our applications on Windows 2003/XP for a while and I am very happy with it. :)

Recently we ported our application to Windows XP 64 and ran into some installer problems. Following is a brief summary of the problems I am having.

1. Installing vcredist_x64.exe as a pre-requisite
The same trick that used to work on 32-bit windows (checking for existence of the registry key HKCR\Installer\Products\F942F94A19C0F79468FD2B85E5E8677B\PackageCode) won't work. I replaced the key with the vcredist_x64.exe (as I see it in the registry). Still, the pre-requisites wizard will not find it (I see it with RegEdit) and will want to install it every time and claim that even after installing the conditions are not met.

2. Service installation
My service installation has Service Control Action to Stop/Delete the service. This does not happen on uninstall though. The service is successfully installed and ran on installation, just Stop/Delete won't work on uninstall

3. Some files are not removed on uninstall
Our application consists of services and executables which we put in the system32 folder, and drivers that we put in system32\drivers folder. everything is correctly installed. However, on uninstall the driver files are deleted from the system32\drivers folder, while the executables and services are not deleted from the system32 folder. I created manually a system32 folder in the "Windows Volume" branch, since using the default "System" folder was putting my files in SysWOW64.

Please let me know if you have any idea what I did wrong and at least how can I workaround some of the problems.

Thanks in advance,
kiv
Posts: 12
Joined: Sat May 20, 2006 4:09 pm

Any update on that problem?
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi Konstantin,

The first problem is due to a bug in the bootstrapper which will be addressed in the next version of Advanced Installer. I will also email you the executable as soon as we fix the problem.

We could not reproduce the second issue - the service has been stopped successfully on our test system. You should test the package on a clean WinXP64 machine and see if the problem persists.

The third issue is probably a consequence of the second and we could not reproduce it - since the service has not been stopped on your system, its files cannot be removed.

See this page for details regarding the File System Redirection on 64-bit Windows:
http://msdn2.microsoft.com/en-us/library/aa384187.aspx

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
kiv
Posts: 12
Joined: Sat May 20, 2006 4:09 pm

Ionut wrote: The third issue is probably a consequence of the second and we could not reproduce it - since the service has not been stopped on your system, its files cannot be removed.
Hi Ionut,

I am testing on a clean system here also. Even if I stop the service manually and then execute the uninstall, files are not removed. Also not all the files are used by the service, and generally no file is removed from the system folder, even if it is not executable at all.

I reproduce this really easy here, is there a way I can collect info for you during the uninstall?

Thanks for helping me,
Konstantin
kiv
Posts: 12
Joined: Sat May 20, 2006 4:09 pm

I found the problem to be that I forgot to check the "64-bit component" check-box in the "Organization" page for the service.

Thanks Ionut for pointing that out

Return to “Common Problems”