PDA

Click to See Complete Forum and Search --> : Installer seems to be cached


cryptinitedemon
Apr 6th, 2010, 10:36 AM
Hi, I have a program that downloads a setup file and then executes the setup file. I've updated the installer several times to do new things, but windows seems to use the previous version of the installer that was used. I don't know why either.

Say I have the installer have a message box that says "Number 1." I install that application. Then I download a new version of the installer that's supposed to say "Number 2." It will still say "Number 1" unless i uninstall the application completely and then run the new installer.

I'm updating my installer version number for each of these. any ideas?

dilettante
Apr 6th, 2010, 05:49 PM
What are you using to build this "setup" file?

Many installer technologies incorporate version management, and will skip installing files if the same version is already present. "Version" can mean entirely different things from the file/product version numbers that look like 1.0.0.0 or sometimes these values are used. Windows Installer for example uses GUID values to identify both products and upgrades to the products.

cryptinitedemon
Apr 8th, 2010, 10:37 AM
Oh thanks. That makes sense. I wasn't updating the assembly information on my custom installer class, so that explains why it wasn't using the new version.

I updated it on the other parts of the project, just not that one.