LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
crelf

Allow us to change the "Upgrade Code" in an installer

I remember this in previous (pre-8.2) versions of LabVIEW - not sure why it was removed.  I have a use case to use projects as templates (like when someone wants to write a plugin for a utility I've written, I want to be able to send them a zip containing a project, methods, etc).  The project includes installer settings (so their files go into the right place under my util's plugins folder, but when they build and try to install their plugin, they get an error if another plugin bult using the same template has already been installed.  This is because the "Upgrade Code" (stored in the lvproj file) is the same (it tells Windows that the two products are the same, so subsequent installs are seen as upgrades or replacements, not new installs.

 

Upgrade Code.gif

 

My memory tells me that I used to be able to hit a "Generate" button somewhere which would give me build a new code - all I'm asking for is that back (I can add a step in my work instruction to hit that button before you build).

 

I don't currently have a workaround for this (other than having engineers manually edit the lvproj file) - if anyone has a better idea, I'd love to hear it for the interim!





Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
6 Comments
TCPlomp
Trusted Enthusiast
Your memory is right, but it was in LabVIEW 7 and earlier.
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Mads
Active Participant

If you duplicate the build (right-click on it in the project and select duplicate) and use the new one it will have a new code.

crelf
Trusted Enthusiast

Thanks Mads - but that's still pretty awful.  I'd prefer my engineers not to have to duplicate a build, then delete the original build, especially as this is a project template.  That said, if it's the only way I can do it at the moment, then it's an acceptable work around I guess.





Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
altenbach
Knight of NI

If you look in the "version information" section of the build specification in LabVIEW 2011, there is a field for the "upgrade code" and a [generate] button right next to it.

 

This idea has been implement already, and should no longer be marked as new.

crelf
Trusted Enthusiast

Indeed.





Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
MaryH
Member
Status changed to: Already Implemented