LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 8.2.1 reinstallation error 1301: Cannot create file

Hi,

I was forced to uninstall LV 8.2.1 and reinstall it. When I'm reinstalling LV 8.2.1 I get an error message

Error 1301. Cannot create file ". A directory with the same name already exists. Cancel the install and try installing to a different location.
(Abort, Retry, Ignore).
This error is somehow related to the fact that after uninstalling LV 8.2.1 LabVIEW 8.2 installation directory still remains with some stuff in the user.lib and other folders. I'm always using OpenG packages and I didn't uninstall them so that may be the reason. I also used DataAct class browser with LabVIEW.

The problem is that I cannot uninstall my OpenG packages before I can get my LabVIEW installed again as VI Package Manager reposinsible for installing OpenG packages doesn't work without installed version of LabVIEW. And I cannot get my LabVIEW correctly installed because of this error. I can press ignore and the installation procedes but I don't know whet it didn't do because of the error.

I guess this error is a bug in LV 8.2.1 isntaller so would some of NI application engineers help, please.

For now I press Ignore.

Tomi Maila
--
Tomi Maila
0 Kudos
Message 1 of 3
(6,369 Views)
Updated situation. I pressed the ignore button and the installation finnised. Then I used VIPM to uninstall all OpenG packages which worked ok. Then I uninstalled LV 8.2.1 for the Nth time. Then I removed the LabVIEW 8.2 installation directory manually as there were not any important stuff left there I guess. Then I reinstalled LV 8.2.1 again and it installed without errors.

Now I've to see if I can get my OpenG packages back in place. Jim, would you like to add repair installation button to VIPM that would allow users to repair broken package installations...

Tomi
--
Tomi Maila
0 Kudos
Message 2 of 3
(6,365 Views)
You will get this error if the installer is trying to install a file that has the same name as a folder at that location. For example lets say the installer has a file called "sample" that should go in LabVIEW\examples folder. Now lets say there was a folder called "LabVIEW\examples\sample". Windows wont let you copy that "sample" file in the same location that contains a "sample" folder. The failure is not an error in the installer.

The problem with the 8.2.1 installer is that it is not telling you what file this failure occurred on. It is trying to, but the string is not formatted correctly and it just says "cannot create file ." The actual file name should be where the "." is.

You can usually tell what file it failed on from the text above the progress bar where it says what file is being copied. The best way to see what failed was to get an installation log file.

Naren Salem
LabVIEW R&D

0 Kudos
Message 3 of 3
(6,335 Views)