LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Created project from existing projects, install new uninstalls old

Solved!
Go to solution

I created a new project, that has a lot of the same features as an existing project, so I copied the old project, renamed it, and used this as the new project. When I finished the initial version of the new project and created a release package, installing it uninstalled the existing project. 

The new projects installed with a different name, to different folder, EXE has a different name. They don't have any registry entries that I created.

What do I need to change in the new project so that they are two completely separate programs?

0 Kudos
Message 1 of 4
(4,346 Views)

Sounds like you are using the same distribution kit GUID on both due to the fact you copied the project. I seem to recall there is a place in the .cds file where you can edit the text file and delete the GUID for the kit. Then when you load it next, it will generate a new one. Look for "<msi GUID=".  (No guarantees, back up your work first, etc.! 🙂 )

 

Now, my knowledge here may be out of date, but I hope that gives you a clue for a starting point. For more old info see here  

 

Good luck!

Message 2 of 4
(4,337 Views)
Solution
Accepted by topic author Ken-This-is-my-stinking-a

Changing the GUID, as Ian suggested, should do the trick.

 

If you're looking for a more "official" and sanctioned approach, what you should do instead is to create a new distribution for your new project. As you do so, instead of creating the new distribtution from the ground up, you can isntead tell CVI to copy the distribution from the distribution of your old project:

 

distro.png

Message 3 of 4
(4,333 Views)

Thanks LuisG, that did it.

And, Ian.W, thanks, that probably would have gotten me through until I got LuisG's answer, but he got his answer before I needed to try what you posted.

0 Kudos
Message 4 of 4
(4,326 Views)