From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

installer thinks app already installed

Solved!
Go to solution

Normally I do not build installers but those who do are on vacation and I need to release this to manufacturing today. My problem is that there is a previous version of the application which I removed from the pc. I then run the new installer and it immediately says finished - obviously without installing anything. I check and the app has not installed. It is like the installer thinks the application is already installed even though like I said the prior version has been deleted. Is there some setting that i need to check to fix this? Is on a Windows XP machine.

0 Kudos
Message 1 of 7
(2,552 Views)

Check to see if the previous version was UNinstalled.

 

If so, just re-run the installer.

0 Kudos
Message 2 of 7
(2,546 Views)
Solution
Accepted by topic author Bret01

Just build a new version and make sure to increment the version number when you built the installer. This will create an installer that updates to the new version even if the old version is is still installed.

0 Kudos
Message 3 of 7
(2,543 Views)
Solution
Accepted by topic author Bret01

Great thank you that worked. I'll remember to uninstall instead of delete for future if I have to do this again.

0 Kudos
Message 4 of 7
(2,534 Views)

Quite frankly you do not need to build an installer for every new version unless it requires a new runtime or VISA upgrade.

 

If all the runtimes are the same all you really have to do is build the executable and copy it to the target machine over writing the old executable.

 

If you use the same name all the Windows shortcuts will even still work properly

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 7
(2,515 Views)

I think it is a really bad idea to suggest a user to manually change files in system folders (e.g. program files), because there are many thing that can go wrong (e.g. note that the location of 32bit programs differ depending on the OS bitness).

 

If you are a seasoned user, that might be relatively safe, but I would definitely not recommend it to users that are not intimately familiar with the inner workings of windows (e.g. users that delete instead of uninstall :D)

 

Building an installer is always the recommended way to go.

0 Kudos
Message 6 of 7
(2,503 Views)

altenbach wrote: I would definitely not recommend it to users that are not intimately familiar with the inner workings of windows (e.g. users that delete instead of uninstall :D)

 

 


Rather "scary" that the OP charged with creating this installer does not understand the difference between uninstalling and deleting. Hate to see what that computer looks like.

0 Kudos
Message 7 of 7
(2,494 Views)