[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: possible fix for the upgrade option of the MSI package

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 28 Jul 2010 09:05:11 +0200

On Wed, Jul 28, 2010 at 03:37, Kolega, Stiven
<Stiven.Kolega_at_mater.org.au> wrote:
>
> Hi,
>
> I found this note about hitting the "repair install" on your web site when i went to downlaod the latest vesion of TortoiseSVN (TortoiseSVN-1.6.10.19898-win32-svn-1.6.12.msi).
>
> Important Note
> If you're updating from an earlier version (pre 1.6.10), you have to run the installation twice. Just use the "Repair Install" the second time.
> http://tortoisesvn.net/majorupgrade
>
>
> 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.

No, it doesn't. Please read my blog post again:
http://tortoisesvn.net/majorupgrade
It's clearly explained why that doesn't work either and will break the
install of the c-runtimes.

Stefan

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2639383
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-07-28 09:05:44 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.