2009/1/17 TK Soh <[email protected]>

> On Fri, Jan 16, 2009 at 8:50 PM, Peer Sommerlund
> <[email protected]> wrote:
> >
> >
> > 2009/1/15 TK Soh <[email protected]>
> >>
> >> On Thu, Jan 15, 2009 at 11:55 AM, Peer Sommerlund
> >> <[email protected]> wrote:
> >> > The solution is simple: The installer should call the uninstaller as
> the
> >> > first step if it detects an installed THG.
> >>
> >> I am open for patches.
> >
> > I have some trouble with my patchbomb, so attached is a patch file.
> > I'm not quite satisfied with the workflow, so maybe somebody can come up
> > with a better way to do it.
>
> I haven't really tested it, but here's some quick thought.
>
> I also feel that there are too many steps involved. First, I think we
> should just remove the previous installation without asking for
> permission, since there's not reason to keep the old one around.
>
> The other problem I can see is that the uninstaller [of the previous
> installation] will prompt for a reboot, and this can be potentially
> confusing. Though I don't have a solution to this. Any quick idea?
>

How about this pseudocode

if no old version continue with installation
else
msgbox("Old version must be uninstalled first, do you want to do that now?",
YES_NO)
if no then exit installer
uninstall old version
msgbox("you must reboot and run installer again", OK)
exit installer
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to