LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

distribution naming/versioning

Solved!
Go to solution

Is there a way to embed the version number into the name of the top-level folder containing the distro? Or do I have to manually rename it?

 

Also, can I change the "cvidistkit" that is prepended to the folder name?

 

Thanks.

0 Kudos
Message 1 of 6
(3,226 Views)

Is there a way to embed the version number into the name of the top-level folder containing the distro? Or do I have to manually rename it?


To my knowledge you have to rename the folder manually.


Also, can I change the "cvidistkit" that is prepended to the folder name?


Yes, you can rename it, but the next distribution kit you generate again will be called cvidistkit

 

If you want this behavior changed you can suggest it here

0 Kudos
Message 2 of 6
(3,222 Views)
Solution
Accepted by topic author mzimmers

I have to correct my previous statements: while it is not possible to include the file or product version in the folder name, it is possible to include the installer version. Checking auto-increment for the installer version will avoid overwriting the old folder.

This setting is found in the Edit Installer dialogue on the General page: for the output directory certain placeholders can be used such as %version for the installer version.

 

Sorry for the confusion...

Message 3 of 6
(3,209 Views)

Hey, Wolfgang. That is EXACTLY what I was looking for.

 

I knew there was something like placeholders, but I didn't know the term for them. Is there a list of those available somewhere? Help didn't reveal much.

 

Thanks!

0 Kudos
Message 4 of 6
(3,202 Views)

Puh, I am relieved, my mistake is eliminated Smiley Happy

 

Yes, there is a list in the help, you won't believe it Smiley Wink

 

To get there: Build / Edit Distributions, on the General Tab press the Help button...

 

You can use the following variables in the path:

  • %name—The application name
  • %version—The version of the installer, specified in n.n.nformat
  • %major—The major version of the installer
  • %minor—The minor version of the installer
  • %maint—The maintenance version of the installer
  • %lang—The installer dialog box language, such as English
Message 5 of 6
(3,199 Views)

Slick. This is great. Thanks again, Wolfgang.

0 Kudos
Message 6 of 6
(3,193 Views)