Patch Uninstall Problem - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

wyzerd
Posts: 75
Joined: Tue Mar 27, 2007 3:54 am
Location: St. Louis, MO
Contact: Website

Patch Uninstall Problem

I have created an Install that has 6 prereqs, and 2 Merge modules. The installation of the main product and patch completes without issue. However, The uninstall of the patch asks for the original MSI for the product. Even after pointing it at it, the uninstall of the patch fails with "Please insert the Disk" message. I managed to use the command line to extract a log and here is where it is getting hung up:

MSI (s) (CC:40) [16:56:54:484]: File: C:\Documents and Settings\All Users\Application Data\CMS\Infrastructure.Persistence.Xml.dll.xsd; Overwrite; Won't patch; Existing file is unversioned and unmodified - no source file hash provided to compare
MSI (s) (CC:40) [16:56:54:484]: Source for file 'Infrastructure.Persistence.Xml.d.BA7A800D_23F8_498F_9157_A2B0E0A845C0' is compressed
MSI (s) (CC:40) [16:56:54:484]: Re-applying security from existing file.
MSI (s) (CC:40) [16:56:54:484]: Verifying accessibility of file: Infrastructure.Persistence.Xml.dll.xsd
MSI (s) (CC:40) [16:56:54:484]: Source is incorrect. Volume label should be but is MONACO 2.03.00.
MSI (s) (CC:40) [16:56:54:484]: Source is incorrect. Volume label should be but is MONACO 2.03.00.

This behavior only exists when the product is installed from DVD. If it is installed from network location or even pointing to a network location during uninstall, everything works as expected. I am a bit disappointed that it needs the MSI at all. I was expecting the patch to stand alone as stated here:

http://msdn.microsoft.com/en-us/library ... S.85).aspx
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Patch Uninstall Problem

Hello,

Perhaps the DVD may be damaged. You could try the following:
- install the same dvd on another machine
- rewrite the dvd and try again
- if you are using a virtual dvd, the software that does the virtualization might be faulty.

If these are not the causes, you can send us a sample that reproduces this behavior, if company policy does not allow you to send the actual dvd. Perhaps you can only reproduce this behavior with the merge modules you are using, so that might be a good place to start from when creating the working sample.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
wyzerd
Posts: 75
Joined: Tue Mar 27, 2007 3:54 am
Location: St. Louis, MO
Contact: Website

Re: Patch Uninstall Problem

Ok, it is not the disk. I have made several of these disks and all exhibit the same problem. Today I created another disk with the label left blank. From this disk I was able to uninstall the patch without a problem. Advanced Installer 7.3.1 is using the Volume Label incorrectly as an identifier and flagging an error where an error does not exist thus ceasing the uninstall procedure.

I have found a similar instance of this issue documented here.
http://www.advancedinstaller.com/forums ... isk#p22146

Unfortunately, the Base release where the problem exists is already delivered to the client base. There is no good solution to this problem as it cannot be repaired in an msp.

The only workaround that is viable at this point is to deal with the issues as our customers call them in and tell them to copy the contents to the local drive and when the uninstall asks for the disk, point it to the folder they just created.

I still would like to have the ResolveSource action that is hard-coded into the back end of this process removed as it should not be required in most circumstances and would have made the reading of the original MSI unnecessary to begin with as stated in the Microsoft link I referenced in my first post.
wyzerd
Posts: 75
Joined: Tue Mar 27, 2007 3:54 am
Location: St. Louis, MO
Contact: Website

Re: Patch Uninstall Problem

If anyone else experienced this behavior, I have solved this by changing the way the installation is packaged. I was using Advanced CAB layout. I have switched it to use LZMA compression with bootstrapper option of Do not delete extracted MSI and cab files. While this is not the most efficient installation method, it does keep a copy of the source on the client machine and does not ask for source media.

Return to “Common Problems”