Jump to content

Post-install action causes (system) package to fail to install


JasonS

Recommended Posts

Hello,

 

I have a custom post-install action in my package which copies some files around and deletes a few files, some of which were installed by the package. (If you're wondering why I delete files I just installed, I have some dependencies which are different depending on whether I'm installing to 64-bit or 32-bit LabVIEW. I install both, then copy the correct files to the final destination location and delete the others.)

 

The action works correctly and generates no errors (at error code output terminal), but after installation the report shows that VIPM attempted to install two packages, one called (System) that has failed and the main package which has succeeded. E.g.:

 

MyPackage (System) installation failed.

MyPackage installation succeeded.

 

The package then shows up in the main VIPM window as broken (the normal install icon has a red, triangular-outlined ! over top of it). However, it works fine.

 

There is a corresponding pre-uninstall action which deletes the copied files. It works, and the remainder of the package is properly uninstalled.

 

I assume that the (System) package is referring to some package that handles the custom actions. Any idea why is the (System) package reporting a failure and how can I get it to stop?

 

Thanks,

Jason

Link to comment
Share on other sites

  • 2 weeks later...

Hmm... no one from JKI has bit on this yet. Here's a little more information. Perhaps it will help.

 

I've attached a screenshot of the situation to the post.

 

post-28157-0-01625200-1421263914_thumb.png

 

Clicking the "Error Details" button shows a dialog with the following text.

 

 

Main Package Name: Live HDF5 (1.1 Beta 2) (System) v1.1.0.73

Package Name with Error: Live HDF5 (1.1 Beta 2) (System) v1.1.0.73

Error Message: VIPM could not install the package lvhdf5_system-1.1.0.73 .

Error Code: 1

Error Source: Open/Create/Replace File in ZLIB Read Compressed File__ogtk.vi->VIPM ZLIB Extract File (Optimized).vi->006D7B8D086AE4CA865D8D7882C70CAA->995784DC153031C2896CBA8992A6EFA3->OGPM Class.lvlib:BF046E12330E3D901A9FA815497F26CC->OGPM Class.lvlib:968239FABAFA58D305528EF3DD4CE1AD->1ECB61166404ABCF592B9976749FE772->VIPM Main Window.vi<APPEND>

h5helper.dll:\

===============

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.