Why is an Uninstall and Reinstall needed to update my windows application - windows

I added some DLLs to my C# windows application and released it again.
When installing it now on clients' computers, the new DLLs are not added to the application's folder when the new version is installed. Only when I first uninstall it and then reinstall it, the DLLs are properly added.
Anyone knows why the DLLs are not added when a regular installation is done?

Related

Service Pack Setup Error VB6

I am installing an old version of VB6. I had installed a previous version of the software, but uninstalled it. Now I get an error saying 'setup has detected that the service pack version of this system installed is newer that the update you are applying to it'. I searched in the registry for the appropriate keys to modify, however I have not found same. Any help would be appreciated.
Which versions do you have installed of VB6 and of the servicepack?
I suggest you uninstall all VB6 related items, reboot, and then install VB6 again.
After that download servicepack 6 from SP6 from the microsoft site and install that.
If you are still having problems you might try to uninstall all versions of visual studio and install in order of release, so first install VB6 and then install VB.net
I did a reinstall on my machines several times (xp, w7-32b, x7-64b) and never had any problems, but I always installed VB6 first, then its SP6, and then Visual Studio (2005) with its servicepacks, and then checked the windows update to make sure I didn't miss anything.

Application verifier install issue

I installed application verifier for detecting heap corruption in my application in Visual Studio 2010. The OS it runs on is Windows 7. The problem that I have is very stupid: I can't start the application verifier. I read that it is installed in the programs menu (but I don't find the application verifier there), or that I just run the AppVerif.exe (which I can't find either). In my application verifier folder I just have the REDIST.txt, vrfauto.dll, vrfauto.h, and vrfauto.idl files and nothing else.
I tried uninstalling and reinstalling it again, but the contents of the folder remained the same, and no trace of AppVerif.exe on my computer. At this point, I don't know what to do. My application is stuck, and I can't move on. Help me, please!
You should find the Application Verifier executable here:
<YourWindowsFolder>\SysWOW64\appverif.exe (x86 version)
<YourWindowsFolder>\System32\appverif.exe (x64 version)
I have two Win7 x64 machines, both have the same version of AppVerifier installed (6.2.9200), but one of them has correct application links, another - doesn't (just like you've described). It probably depends on which .NET Framework version is installed in the system. AppVerifier is old, and its installer may be incompatible with newer framework versions.

Prevent Windows registry key from removing when upgrading application to newer version

I have a registry key (in HKEY_LOCAL_MACHINE hive) which must be keeped from older version of the application to the newer, but removed when user completely uninstalls my application. I'm using Visual Studio 2010 setup and deployment project.
I know about increasing build version of the installation package, build version of assemblies and upgrading 'ProductCode'(but keeping 'UpgradeCode' the same). 'RemovePreviousVersion' is set to true. The problem is that when user installs the new version, registry key from previous version is removed (with important data in it) and recreated again. It seems that MSI uninstalls my application before installing the new version. I was tried to set 'RemovePreviousVersion' to false but in this case new version installed independently and both versions of the application appear on the same machine.
It seems to be very common scenario but I couldn't find how to keep registry keys between different versions. If you know how to make this modifying MSI package using Orca it is not a problem (as Visual Studio is very restricted in creating installation packages).
Thanks in advance.
A late scheduling of RemoveExistingProducts action will fix your problem.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa371197(v=vs.85).aspx

how to uninstall Flashbuilder manually.

I've flashbuilder 4.6 and I need to uninstall it. It appears to be missing the installation package, and as such it doesn't appear in the control panel->uninstall list for windows 7.
I have filed a case with adobe for help (as its a paid product), but after month & 1/2 no answer.
So any suggestions on how to get rid of it including any links it will have to the registry or similar. It must be a clean uninstall as to install the newer version the current one must be removed and the newer version installation knows that I have it (previous version) installed already.
I have tried the uninstall tool called Revo as well without success.
Cheers.
What I needed to do was to find the exact version of the software I used to install it originally. Then once I ran the installer, (for the already installed software) windows picked up the installation packager and I could uninstall it.
Once removed I could then install the newer version of the same software.

Handling Uninstall for Current User Installation

I have an addin for outlook which is installer per user.The installer copies the dlls and user specific registry entries.I using VS2008 vdproj for generating msi installer.
When two user on a machine install this addin and if one of the user uninstall it, all the dlls will be removed from the ProgramFiles/App directory.
Is there a workaround in installer to Not to remove the dlls if other users also have the app installed.
You would have to install all of the application to completey per-user locations.

Resources