possible fix for the upgrade option of the MSI package
From: Kolega, Stiven <Stiven.Kolega_at_mater.org.au>
Date: Wed, 28 Jul 2010 11:37:15 +1000
I found this note about hitting the "repair install" on your web site when i went to downlaod the latest vesion of TortoiseSVN (TortoiseSVN-22.214.171.12498-win32-svn-1.6.12.msi<http://downloads.sourceforge.net/tortoisesvn/TortoiseSVN-126.96.36.19998-win32-svn-1.6.12.msi?download>).
I am a repackager for a large organisation and we commonly check MSI's before deploying them within the enterprise. We use "Wise Package Studio" and I noticed that the "RemoveExistingProducts" was too far down in the installation sequence. Our standard procedure ... if we find MSI's like yours is to move it back up to just after "InstallValidate" and just before "InstallInitialize". This will ensure that the "RemoveExistingProducts" functions will remove DLLs and reg keys and only then will the new application be installed ie "InstallFiles". There must be common DLLs or reg keys that would be removed.
Why "repair install" will fix your problems is the MSI is run again and skips the "RemoveExistingProducts" as the previous version has already been removed and the installer will copy any missing files and reg keys.
Anyhow, I have repackaged the MSI to correct the bug and the uninstall previous and install new version works without running the MSI again.
I hope this helps.
This e-mail, together with any attachments, is confidential and intended for the named recipient(s) only. If you are not the intended recipient or have received this message in error, you are asked to immediately notify the sender and delete this message and any copies of this message from your computer system network and destroy any printed copies of this email. Any form of unauthorised disclosure, modification, distribution, publication or use of this e-mail message is prohibited.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
This is an archived mail posted to the TortoiseSVN Users mailing list.