CDSETUP-Learn Visual Basic 6.0 Now Fails to Uninstall (241680)
This article was previously published under Q241680
SYMPTOMS
When you attempt to uninstall Learn Visual Basic 6.0 Now (LVB6) using Add/Remove Programs in Control Panel, you may receive the following error messages in this order:
1. Invalid setup data file: The token ';' could not be parsed
2. Review setup documentation and file C:\Program Files\MSPress\LVB6\SETUP.iwf", line 301.
3. Learn Microsoft Visual Basic 6.0 Now has not been properly installed. You should run this setup procedure again in its entirety.
CAUSE
The company name was not entered (or the field was left blank) during the initial installation of Learn Visual Basic 6.0 Now.
RESOLUTION
You can resolve this issue by adding your company name to the Setup.iwf file that is referenced in the second error message.
WARNING: If you change information contained in this setup file
other than the information provided in the steps below, the Remove
function may continue to fail, or the program may not run properly. Follow the specific steps below.
To add the company name information to the Setup.iwf file:
- Click Start, point to Programs and then click Windows Explorer.
- Locate the LVB6N installation folder. By default, this will be:
C:\Program Files\MSPress\LVB6. - Locate the Setup.iwf file and double-click it.
- In the "Open with" dialog box, click Notepad.
If the option "Always use this program to open this file" is selected, clear it. Clearing this selection prevents the .iwf file type from
always being associated with Notepad. - Click OK.
- Once Notepad is open, scroll down to the end of the file and look for the following entry:
License Info
{
User {Name:John Doe; Company: ; Date:09/09/99}
CD Key {RPC:0; }
}
Enter your company name (or any text) between the colon [:] and the semi-colon [;]. The new entry should look like this:
License Info
{
User {Name:John Doe; Company:ACME; Date:09/09/99}
CD Key {RPC:0; }
}
- Click Save, close Notepad, and then close the Explorer window.
- Try again to remove the program Learn Visual Basic 6.0 Now:
- Click Start, point to Settings, and then click Control Panel.
- Double-click Add/Remove Programs.
- Select "Learn Visual Basic 6.0 Now" from the list of available programs.
- Click Add/Remove Programs.
- Select the Remove option and then click Next. Click Yes to the next prompt.
- Learn Visual Basic 6.0 Now should uninstall successfully.
Modification Type: |
Minor |
Last Reviewed: |
9/28/2004 |
Keywords: |
kbprb KB241680 |
|