LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

{871E20E9-938D-4AAE-9CB3-A1C579E94F77} not found by installer after build.

The installation I create fails when you try to install it on a machine. You get the following error from the setup program:
 
.\Distribution.cpp(237): IInstallerError 10002
Fatal Error. Object not found.
class CPart object lookup by ProductCode failed to find object {871E20E9-938D-4AAE-9CB3-A1C579E94F77}
 
 
The Installer work last week. I've got a build that installs the older VI, but I need to dsitrubute the one with the fixes. Anybody know what
causes this and how to fix it.
0 Kudos
Message 1 of 35
(6,141 Views)
If I understand correctly, the builds are successful for your executable and the installer, but when you try to run the installer on the target computer, you got this error?
 
I've never seen the particular CPP error you were seeing (Distribution.cpp on line 237).  Do you have options for reporting this to NI?  If so, you should.  This will send a log file to us for investigation.
 
Maybe there was some corruption in your installer files.  Have you tried rebuilding the executable and installer and trying again?
 
Are you including any additional installers like DAQmx or VISA? 
 
Are you using any or of our toolkits like the Control Design Toolkit?
 
Regards,
 
Craig D
Applications Engineer
National Instruments
0 Kudos
Message 2 of 35
(6,117 Views)

Yes the LabView installer doesn't fail, the installer program it generates fails when you try to install the application. I tried to install the program on 2 different PCs. The are no additional installers. It's one VI in the application, and includes the labView 8.2.1 run time engine. I've got it working again but I'm not sure how. I think the installer destination directory might have had some of the files write protected. Maybe some files where modified and otheres not when the installer ran?

 

0 Kudos
Message 3 of 35
(6,106 Views)
I'm getting a similar error in labVIEW 8.5
The executable builds and executes correctly.
The installer builds but returns the following:
 
 
.\Distribution.cpp(242): IInstallerError 10002
Fatal Error. Object not found.
class CPart object lookup by ProductCode failed to find object {D0EFF783-378A-4712-A22B-C048493E6387}
 
 
I am including the LVRTE with the installer.
No DAQ, no hardware config, etc. No toolkits. This is a software-only app.
0 Kudos
Message 4 of 35
(6,027 Views)
ADAC,

Do you see this error on every installation you try to make?  If you make a new project with a blank VI, create an EXE, and then make an installer with all default settings (just include the built application, and make sure the run-time engine is selected) do you still see this error?  When I do this everything works without any problems.  If this stripped down example works, it is possible that some VI or dependency in your project is causing the problem.

Any further information regarding your project, application, and installer settings might be useful.
0 Kudos
Message 5 of 35
(5,997 Views)
Devin:
 
No, this is the first time I've seen it. I've actually built an installer with this app and successfully installed it about 4 weeks ago. I rebuild the executable weekly as the project progresses, and decided it was time to verify the installer was still good.
I'll poke around for something missing, but since the EXE is good I'm skeptical. Although things are drastically improved from 8.0/8.2, there is still some strangeness in building apps that doesn't give me 100% confidence in my ability to cause every error I encounter. Robot wink
0 Kudos
Message 6 of 35
(5,991 Views)
ADAC,

Thanks for the update.  That does seem strange that things would just stop working like that.  It might be worth trying to recreate the installer and see if that helps things.

Please keep us updated!
0 Kudos
Message 7 of 35
(5,966 Views)
.\Distribution.cpp(242): IInstallerError 10002
Fatal Error. Object not found.
class CPart object lookup by ProductCode failed to find object {B71FCB99-EF23-403C-AA3A-DF60F500CE3E}
 
The object id changed from my last post.  Hmm.
 
I've tried different options between making the installer create directories, or forcing the exe to make them by putting dummy files in the build. All no good.
I've rebuilt the exe several times - it always builds and executes flawlessly. Even the installer will build every time - it just won't execute.
 
 I'm getting really frustrated here - been fighting this thing for 2 days. The error code doesn't give you guys a clue as to what object type might be missing?
 
0 Kudos
Message 8 of 35
(5,952 Views)
ADAC,

I do not know what would be causing this behavior.  When you see this error, do you see an option to report it?  This will send us a stack trace that can be helpful in finding the source of the error.

Does this happen on any machine you try installing it on?  Could you try creating a new project, add your VIs, creating a new new build and a new installer?
0 Kudos
Message 9 of 35
(5,927 Views)
I found out the issue and how to avoid it (to actually fix it - or even report it during build is something you guys have to do.). I'm surprised it hasnt' come up more than once actually.
When the installer build writes the files in the folder you've designated, it doesn't check th
0 Kudos
Message 10 of 35
(5,922 Views)