With older version installations, the following error can occur:
A newer version of this application is already installed. Installation stopped.
This error appears because of a change in the Visual Basic for Applications (VBA) version 7.1, introduced in the SOLIDWORKS 2021 SP2 software. Earlier versions of the SOLIDWORKS Installation Manager installer do not recognize the new installation of the VBA 7.1 components. Therefore, the installer starts a new installation of the older version of the program. The new VBA 7.1 installation then blocks the software installation.
To replicate the issue:
- Run the SOLIDWORKS Installer for versions older than 2021 SP2
- SOLIDWORKS will run into the following error (2020 SP install example below)
When this error occurs, the SOLIDWORKS Installation Manager log file typically shows the following entries:
‘{Time} Info Step 90 0 "{0: Installing} MSI: {1: {Location of installation files}\SOLIDWORKS 2020 SP05\PreReqs\VBA\vba71.msi}; command-line: {2: }
(ID {3: Microsoft_VBA}, lang {4: }, pcode {5: {90120064-0070-0000-0000-4000000FF1CE}}, mode {6: 7}, upg = {7: }, f{8: 0}, costKB {9: 0})"’‘{Time} Error Status 149 0 "Product:CAM ErrorCode:0 Message:A newer version of this application is already installed. Installation stopped."’
Solution: Remove the new VBA7.1
You cannot correct this issue by using earlier versions of the installation manager. If you encounter this issue, perform the following solutions to reinstall the older version of VBA.
Solution 1: Use the attached bat file to uninstall
- Download the attached file ‘QA00000125323_uninstall_vba-SOLIDWORKS_2022_codes.txt’.
- In Windows File Explorer, go to the view tab & turn on “File name extensions”.
- Rename the file to ‘QA00000125323_uninstall_vba-SOLIDWORKS_2022_codes.bat’.
- Right-click the ‘QA00000125323_uninstall_vba-SOLIDWORKS_2022_codes.bat’ file and then click ‘Run as administrator’.
- Now install your older version of SOLIDWORKS.
- Perform a repair of the recent SOLIDWORKS installation (SOLIDWORKS 2021 SP2 or later) to reinstall the updated VBA 7.1 components.
Solution 2: Manual uninstall
To uninstall and then re-install those files, follow the steps below:
- Download the attached vba 20xx.zip depending on the version year you are coming from & extract the files.
- Right-click the file named vba71.msi, select install, then right-click and select uninstall.
- Right-click on the file named vba71_1033.msi, select install, then right-click and select uninstall.
- Install your older version of SOLIDWORKS(2020 for example).
- Once the older SOLIDWORKS is successfully installed, reinstall the newer VBA by double-clicking on vba71.msi first, then vba71_1033.msi from the zip file.
- Install the newer version of SolidWorks.
For further technical support please contact Hawk Ridge Systems at 877.266.4469 for the U.S. or 866.587.6803 for Canada.
Comments
Article is closed for comments.