After testing an install of a program containing a ReSize control, ReSize is unable to locate the RESIZOCX.LIC development license.
Last updated: January 21, 2007
The next time you run from the VB development environment, the system uses the copy of ReSize that is in the \Windows\System directory because that is where the system registry is now pointing. Since there is no corresponding copy of the RESIZOCX.LIC file in this directory, you get a message indicating that you are using a runtime only copy of ReSize.
The most common error an installation program is likely to have is the failure to copy all of the necessary files to a target machine. When you test an installation program on a development machine, most if not all of the files you are installing will already be present on the development machine. Your test will fail to detect that files needed by your application are not being copied by the installation program.
Another common problem with installation programs is the failure to register an OCX or to make other changes to the system registry. Once again, testing on a development machine will fail to identify these problems.
We recommend that you dedicate a machine for the sole purpose of testing installations. You need to keep a very controlled environment on the test machine. Each time you finish a test of an install program, you need to restore the test machine to its previous "virgin" state. You either need to reload all of the software on the test machine or perform some sort of reliable uninstall to completely reverse the process of your installation.
If your budget and resources don't permit you the luxury of using a dedicated installation test machine, then we recommend that you set up a development machine with a dual boot. Set up one partition for development. Set up the other partition with a highly controlled environment as outlined above for installation testing. Its possible to set up a dual boot without incurring any additional software or hardware costs (provided you have enough hard disk space), but you may want to investigate using several widely available utilities that will make the job easier. Partition Magic by PowerQuest helps you create and modify partitions without having to erase your entire hard drive. System Commander by V Communications, Inc. lets you boot into multiple operating systems or multiple copies of the same operating system.
Copyright © 2007 by
Larcom and Young.