LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problems bundling visa run time with installer

I am trying to build an installer for an application that makes VISA read/writes through a serial port.  I have tried to create an installer for this application but I keep getting a cryptic error that then terminates LV.  I am experiencing the same problem as described in this thread:
 
I am developing with LV8.2 on XP SP2.  I would like to bundle the VISA Run Time so that I can communicate via VISA R/Ws.  After reading the above mentioned thread it didn't seem like there was ever a real resolution to the problem.  I am bundling the VISA Run Time engine just fine with other projects and I have deleted and started over several times with the installer inside this project, but I keep getting the same error, see attached document. 
 
So are there any ideas short of me having to reinstall LV or VISA? 
 
Thanks in advance!
 
Dave
0 Kudos
Message 1 of 5
(2,884 Views)

Quick update.  I've worked around the problem by creating an entirely new project but that doesn't seem to be a solution to me.  Why is it that I can't just create a new installer rather than a new project?  Any guidance would still be great!

 

Thanks!

 

Dave

0 Kudos
Message 2 of 5
(2,882 Views)

Dave,

I don't think the problem is with your install of NI-VISA.  It really seems like something in the project is corrupted.  Was this project started under a different release of Labview? 

You might try deleting all your build specifications, save the project and restart Labview before creating new build specs.  I think I would nuke the spec for the .exe as well.

Message 3 of 5
(2,876 Views)
Thanks for the reply.
 
I would agree that the project is corrupted.  I think I proved to myself that this was the case when I created a new project and magically everything worked just fine.  The project was created under the exact same release of LV by the same PC so I am just trying to understand why the project was corrupted while trying to build the installer. 
 
I guess I have my solution now I'm into the deep dark hole of trying to understand why the error occured.  I know once I go down this path there is no returning.......
 
Thanks!
 
0 Kudos
Message 4 of 5
(2,874 Views)
You might also try creating a simple application in the suspect project and see what happens when you create the installer.
0 Kudos
Message 5 of 5
(2,868 Views)