Troubleshooting Setup.exe errors

Question:

I am trying to create a setup.exe for VFP 5.0, using the setup wizard. After I installed the application using the setup.exe and ran the program, I got error 1984 in one of my tables. All the other tables in the database work well.

To create the setup.exe I had to place all the necessary files into a distribution directory. When I run app.exe from this directory I don’t get any errors, and the tables and DB are fine. This leads me to conclude that something is corrupting my table during the setup wizard or during the installation of my application from the setup.exe program. The first couple times I created the setup.exe I didn’t have these problems, since then I haven’t changed the DB or the tables, just the foxpro code.

Answer:

1. You may want to use the DOS file compare program FC to compare the files in the distribution directory to the files in the installed. This will give you an idea whether the DBC and/or the table and/or the index is corrupt.

2. In case the compression utility has screwed up, you may want to change the timestamp on the affected file(s) in the distribution directory that get screwed up after install. Then run the setup wizard again: the wizard will realize that the file(s) have changed and will re-compress them.

3. If 1 and 2 do not work, you may want to run the setup wizard from scratch.

4. One more idea: if you are running a post-setup EXE, this might be affecting the files.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

homes in the real estate industry

Exploring the Latest Tech Trends Impacting the Real Estate Industry

The real estate industry is changing thanks to the newest technological advancements. These new developments — from blockchain and AI to virtual reality and 3D printing — are poised to change how we buy and sell homes. Real estate brokers, buyers, sellers, wholesale real estate professionals, fix and flippers, and beyond may

man on floor with data

DevX Quick Guide to Data Ingestion

One of the biggest trends of the 21st century is the massive surge in internet usage. With major innovations such as smart technology, social media, and online shopping sites, the internet has become an essential part of everyday life for a large portion of the population. Due to this internet

payment via phone

7 Ways Technology Has Changed Traditional Payments

In today’s digital world, technology has changed how we make payments. From contactless cards to mobile wallets, it’s now easier to pay for goods and services without carrying cash or using a checkbook. This article will look at seven of the most significant ways technology has transformed traditional payment methods.