11-20-2015 07:43 AM
I created 2 different installers for 2 different programs. I want them to reside in the same target folder. However, when I install the second program, it overwrites (replaces) the first one. The 2 programs have different names. How do I prevent this?
Solved! Go to Solution.
11-20-2015 08:05 AM
Did you duplicate the installer, there's an 'upgrade code' that identifies the application for things like checking if it's a fresh install or an update. You can generate a new random upgrade code from the installer build specs (it's under version information).
If that doesn't work, then it's possible that they can't reside in the same folder. I don't know how clever the installer that NI uses is, but it might delete the folder when uninstalling. If you put it into a subfolder in the directory though, that should be fine.
11-20-2015 09:24 AM
I did not duplicate the spec in the project but I copy and paste then rename the entire project to a different one because they are so similar. I will try to generate a new upgrade code.
I did try to put it in a different target folder but it still goes back and uninstalls the old one before installing the new one. I have a completely different program in the same folder and it does not have this issue.
Thanks
11-20-2015 09:25 AM
Then yes, it's definitely because of the Upgrade Code - if the upgrade code is the same then it considers it to be the same application so it will uninstall the old files before installing the new files.
11-20-2015 10:07 AM
Generating a new upgrade code fixes the problem
Thank you very much
11-23-2015 04:07 AM
Why not kudos my post or mark my suggestion to generate a new code as the solution, then? 🙂