PDA

View Full Version : VFP 8.0 application Install problem on WinXP


George Sexton
May 24th 04, 04:50 PM
This is a summary of a problem I am having with a VFP application I am
trying to resolve. The complete description and supporting documents
are available at:

http://www.mhsoftware.com/~gsexton/installdata/

If anyone has any ideas, I would really appreciate an information you
could give.

Title

Installed application only runs for person who performed installation

Overview

A Visual FoxPro 8.0 application when installed on Windows XP will only run
for the account the software was installed under. This applies even if the
second account is a member of the local Administrators group.

It is expected that all users of the applications with correct permissions
can execute the application.

Detailed Information
OS:Windows XP w/ SP1 and all Patches Applied
VFP Version: VFP 8.0 w/ SP1 applied
Installer: Wise for Windows Installer Version 5.1 Build # 5.10.0.47
Hardware: Defect is present under MS Virtual PC 2004 w/ 256 MB
of RAM, and under a Tyan PIII 500 MB w/ 512 MB RAM

Case Narrative

A Visual FoxPro 8.0 application was created and installed on Windows XP
workstations using the Wise Installer.

After installation, the application runs normally for the account that
installed the software but refuses to run for other accounts. This is true
even if the other accounts are members of the Administrators group. When
the application fails, no diagnostic or error message is displayed.

A profile was made using the Dependency Walker Program depends.exe
http://www.dependencywalker.com/ The relevant portion of the process from
the profile log appears to be:

DllMain(0x71950000, DLL_PROCESS_ATTACH, 0x00000000) in
"COMCTL32.DLL" called. DllMain(0x71950000, DLL_PROCESS_ATTACH,
0x00000000) in "COMCTL32.DLL" returned 1 (0x1).
LoadLibraryW("comctl32.dll") returned 0x71950000.

GetProcAddress(0x71950000 [COMCTL32.DLL],
"RegisterClassNameW") called from "USER32.DLL" at address
0x77D83671 and returned NULL. Error: The specified procedure
could not be found (127).

DllMain(0x71950000,
DLL_PROCESS_DETACH, 0x00000000) in "COMCTL32.DLL" called.
DllMain(0x71950000, DLL_PROCESS_DETACH, 0x00000000) in
"COMCTL32.DLL" returned 1 (0x1).

George Sexton
May 24th 04, 07:53 PM
I figured this out. When I tried testing on Win2K, I got an error that
said the Runtime Library for VFP could not be found. Once I had this
message, I searched the Internet and found that I needed to add ALLUSERS=1
as a property to my installation.

If Windows XP had issued the diagnostic error message, I would have
figured this out pretty quickly.

On Mon, 24 May 2004 08:58:02 -0600, George Sexton wrote:

> This is a summary of a problem I am having with a VFP application I am
> trying to resolve. The complete description and supporting documents
> are available at:
>
> http://www.mhsoftware.com/~gsexton/installdata/
>
> If anyone has any ideas, I would really appreciate an information you
> could give.
>
> Title
>
> Installed application only runs for person who performed installation
>
> Overview
>
> A Visual FoxPro 8.0 application when installed on Windows XP will only run
> for the account the software was installed under. This applies even if the
> second account is a member of the local Administrators group.
>
> It is expected that all users of the applications with correct permissions
> can execute the application.
>
> Detailed Information
> OS:Windows XP w/ SP1 and all Patches Applied
> VFP Version: VFP 8.0 w/ SP1 applied
> Installer: Wise for Windows Installer Version 5.1 Build # 5.10.0.47
> Hardware: Defect is present under MS Virtual PC 2004 w/ 256 MB
> of RAM, and under a Tyan PIII 500 MB w/ 512 MB RAM
>
> Case Narrative
>
> A Visual FoxPro 8.0 application was created and installed on Windows XP
> workstations using the Wise Installer.
>
> After installation, the application runs normally for the account that
> installed the software but refuses to run for other accounts. This is true
> even if the other accounts are members of the Administrators group. When
> the application fails, no diagnostic or error message is displayed.
>
> A profile was made using the Dependency Walker Program depends.exe
> http://www.dependencywalker.com/ The relevant portion of the process from
> the profile log appears to be:
>
> DllMain(0x71950000, DLL_PROCESS_ATTACH, 0x00000000) in
> "COMCTL32.DLL" called. DllMain(0x71950000, DLL_PROCESS_ATTACH,
> 0x00000000) in "COMCTL32.DLL" returned 1 (0x1).
> LoadLibraryW("comctl32.dll") returned 0x71950000.
>
> GetProcAddress(0x71950000 [COMCTL32.DLL],
> "RegisterClassNameW") called from "USER32.DLL" at address
> 0x77D83671 and returned NULL. Error: The specified procedure
> could not be found (127).
>
> DllMain(0x71950000,
> DLL_PROCESS_DETACH, 0x00000000) in "COMCTL32.DLL" called.
> DllMain(0x71950000, DLL_PROCESS_DETACH, 0x00000000) in
> "COMCTL32.DLL" returned 1 (0x1).

Google