pay928
Posts: 25
Joined: Thu Dec 02, 2010 11:32 pm

Re: Can't Uninstall Older Product Version

mihai.petcu wrote: This approach is not a correct one because it is against the way Windows handles install packages. The PackageCode property is not stored within the .aip project file for good reason, thus it cannot be modified. It is instead generated each time you rebuild your project. For more information about this please read this article from our user guide.

Best,
Mihai
Is there a way to retrieve the original Package Code? The root of the problem is due to Different Package Codes for a Single Product Code in how the installers were previously made (ie when you upgrade the package code of the MSI does not match the Source Package Code so it errors out). We may be able to do something if can find the original Package code that needs to be used.

We have come to the conclusion that we need to include the latest exe for the last version. Is there a way to limit the basic user interface in the OlderVersion, but have it go through an uninstallation process?

Pat
Last edited by pay928 on Thu Jan 27, 2011 11:49 pm, edited 2 times in total.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Can't Uninstall Older Product Version

Hello Pat,
Is there a way to retrieve the original Package Code?
You can use the Orca application from Windows SDK. Here is a thread that may also help you.
Is there a way to limit the basic user interface in the OlderVersion, but have it go through an uninstallation process?
You can run the MSI from the command line using the switches from the "Display Options" section of this article from our user guide.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”