LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When installing an executable, how do I prevent the installer from uninstalling a previously built executable?

I'm trying to install a newly built executable on a machine that has a previous version of the same application. I want to be able to run either version on the same machine. The problem is, when I run the installer (also newly built) it uninstalls the previous version. How do I prevent this from happening? I'm using LV8.5 Professional, Windows XP.
 
pmac
0 Kudos
Message 1 of 7
(3,739 Views)
Can you change the name of the application executable? I don't think it will delete the old one if it has a different name.
PaulG.
Retired
0 Kudos
Message 2 of 7
(3,734 Views)

I've tried everything I can think of - I changed the name and location of the application executable, the name of the installer, the product version number, and I saved the project with a new name. Each time I've changed something, I rebuild the executable and the installer and then run the installer, and each time it uninstalls the previous version.

I modified the existing application to make an engineering version that only one or two people will use temporarily. I still need to maintain the original on the same machine for normal daily operations. It shouldn't be this difficult, should it? 

Thanks for your suggestion.

pmac

0 Kudos
Message 3 of 7
(3,726 Views)

I've tried everything I can think of - I changed the name and location of the application executable, the name of the installer, the product version number, and I saved the project with a new name. Each time I've changed something, I rebuild the executable and the installer and then run the installer, and each time it uninstalls the previous version.

I modified the existing application to make an engineering version that only one or two people will use temporarily. I still need to maintain the original on the same machine for normal daily operations. It shouldn't be this difficult, should it? 

Thanks for your suggestion.

pmac

0 Kudos
Message 4 of 7
(3,726 Views)

In your Project Explorer>>Build Specifications, create a second build configuration for your new executable, and a second installer.  Have different names for these, and your executable files than your original ones.  Let me know how it goes.

Regards,

S G
Certified LabVIEW Architect, Certified TestStand Architect, Certified Professional Instructor
0 Kudos
Message 5 of 7
(3,712 Views)
If you are using version 8 or newer, the easiest thing to do is to create a new project.. Once you create a new project, for whatever reason, it looses connection to the older version.
0 Kudos
Message 6 of 7
(3,705 Views)

That works!

Thanks SG.

0 Kudos
Message 7 of 7
(3,701 Views)