FIX: Setup Error 827 Installing Multiple OCX Files (193470)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q193470 SYMPTOMS
You create an application distribution with the Visual FoxPro Setup Wizard
and the distribution contains multiple ActiveX controls (.ocxs) that you
have added to the application distribution directory. When you attempt to
install the application, you may see the following error occur:
Setup Error 827
Object <nn>
Your Setup files may be damaged. Try restarting the setup program
from
where you originally ran it.
CAUSE
The setup script file, Setup.stf, generated by the Setup Wizard contains an
error in the line that specifies the ActiveX control installation. Notice
below that objects 33 and 36 get merged and become 3336. There needs to be
a space between them. Here is the example:
10 Ole Custom Controls Group 32 3336 37 vital %M
RESOLUTION
As a workaround, you may use one of the two following techniques.
Method One
Add the controls to your distribution using the Add ActiveX Controls dialog
box, rather than placing them in your distribution directory:
- Select the ActiveX controls... check box in step 2 of the Setup Wizard,
which then displays the Add ActiveX Controls dialog box.
- Find the controls you want to distribute in the list box within the
dialog box, and select the check boxes next to each one.
This method is new in Visual FoxPro 6.0, and is preferred because it does not
require that you place the .ocx files in your distribution directory, but
automatically pulls them in for you.
Method Two
Edit the Setup.stf file created by the Setup Wizard and add a space between
the merged numbers. Note that you have to repeat this for the Setup.stf
file created for each disk image type you have selected in the Disk Images
check boxes in the Setup Wizard step 3. You also have to repeat this if you
subsequently re-run the Setup Wizard because this creates a new Setup.stf
file or files:
- Double-click the file and select Notepad as the program to open the file
with.
- Look for a line similar to the following. The numbers may vary, but you
should see the text "Ole Custom Controls". Note that the number at the
beginning of the line, in this case 10, corresponds with the Object
number in the error dialog box:
10 Ole Custom Controls Group 32 3336 37 vital %M
- Add a space between the numbers to make the line read as follows:
10 Ole Custom Controls Group 32 33 36 37 vital %M
- Save the file and close Notepad.
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbAppSetup kbBug kberrmsg kbfix kbVS600sp3fix kbwizard KB193470 |
---|
|