05-12-2017 10:06 AM
Hi,
I want to build a package for ToolsNetwork.
My problem is, that this vip package depends on installing a setup.exe.
Can I use the dependencies to install the setup.exe automatically from ToolsNetwork when the vip package will be installed? - See screenshot VI Package Builder Dependencies.png.
Such dependencies e.g. are done in the Package NI I2C Host Example for the PXIe-5644/45R/46R which can be installed by using the VI Package Manager. - See screenshot NI I2C Dependencies.png
Is this procedure also available for the setup.exe?
If yes, has the setup.exe to be officially released and opened for the public on ToolsNetwork to choose the setup.exe in the dropdown box of the VI Package Builder Dependencies.png?
Thanks
Solved! Go to Solution.
05-15-2017 02:15 PM
The drop-down dependency selection only works for dependencies on other VI packages (.vip files) published to an available repository--typically, either on the Tools Network, JKI package repo, or an offline repository. Standard Windows installers are not available from this drop-down, as they are not available through the same repositories as VI packages and use a different installation framework for Windows. Typically, we see users list the non-.vip installer dependency in their installation requirements, and they then identify these install requirements in the Package Description field to instruct the user of the dependency on a driver, toolkit, etc. We also often see links to download pages in some cases, to help the customer out with finding an installer on the web.
If this is a device driver installer (like dpinst.exe for installing .INF device drivers) or some sort of IP you own and distribute, you could also look into including the installer with your VI Package and then launching it during install through use of a Custom Action VI (see here for details:VI Package Manager: Custom Installation Options).
05-16-2017 03:51 AM - edited 05-16-2017 12:29 PM
Thanks for the clarification.
Now I pack the setup.exe into a vip.
I call a Post-Install Custom Action VI to start the Setup.exe automatically.
But the Pre-Uninstall Action is strange. Because the Setup.exe is definitively already uninstalled when the Pre-Uninstall Action will be processed. - So I can not call the Setup.exe to uninstall the program.
Is this a bug in VIPM?
Edit:
My Work around is now to copy the setup.exe and use the copy for deinstallation.
Now I have another strange behaviour insde the custom action VI:
1. I call Setup to uninstall.
2. I check if program is really uninstalled by checking if program.exe is still available.
3. If it is still available: I generate a error which is given to "error out" indicator of the VI.
4. Error is not analysed by VIPM.
On installation process the "error out" indicator is analysed.
Is this also a bug in the VIPM?
05-16-2017 01:32 PM
These certainly sound like VIPM bugs. JKI provides VIPM support through their discussion forums on the JKI website, here:
05-17-2017 02:08 AM
Hi,
yes I know the JKI forum.
But unfortunately I tried several times to Create an Account.
When I created it, I can not post a new message until the admin confirmed my account.
But after 3 days with no E-Mails (inbox nor spam) my Account was deleted.
That's the reason why I wrote some messages about VIPM in this forum.
I also wrote a email via contact site of JKI. There was a answer than, that admin of the forum will be informed.
But no reaction after that email.
A few minutes ago I also wrote my problem and the workaround to JKI via contact site of JKI.
Hope to getting any aswer...
02-23-2018 04:18 PM - edited 02-23-2018 04:18 PM
@a.metz wrote:
Hi,
yes I know the JKI forum.
But unfortunately I tried several times to Create an Account.
When I created it, I can not post a new message until the admin confirmed my account.
But after 3 days with no E-Mails (inbox nor spam) my Account was deleted.
That's the reason why I wrote some messages about VIPM in this forum.
I also wrote a email via contact site of JKI. There was a answer than, that admin of the forum will be informed.
But no reaction after that email.
A few minutes ago I also wrote my problem and the workaround to JKI via contact site of JKI.
Hope to getting any aswer...
Hi there. We've resolved the email/sign-up issues on the JKI VIPM Community Forums. Thanks for your patience.