Jump to content

Recommended Posts

Hello to everybody.

I use LV8.2.

My problem is that once I created an installer and copied it to a CD I need that at the end of the installation the system launch another file (executable that I've added during the creation of the installer).

This executable (created wih LV) must copy a file from the CD to the installation directory.

Someone knows how to determine the CD drive letter?

Or someone knows how and if it's possible to know the path from which I'm installing and the one in which I'm putting the files?

Best wishes

Max

Link to comment

Hello to everybody.

I use LV8.2.

My problem is that once I created an installer and copied it to a CD I need that at the end of the installation the system launch another file (executable that I've added during the creation of the installer).

This executable (created wih LV) must copy a file from the CD to the installation directory.

Someone knows how to determine the CD drive letter?

Or someone knows how and if it's possible to know the path from which I'm installing and the one in which I'm putting the files?

Best wishes

Link to comment

QUOTE

Or someone knows how and if it's possible to know the path from which I'm installing and the one in which I'm putting the files?

Try looking in the file io pallette for a Current VI's path primitive. This will give you an absolute path to the VI that is running, which will hold the drive letter from which you are installing. As for which path you are installing to, you could pass that as a command line argument to your labview program from your installer program.

P.S. Don't double post, its bad form.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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