"Christian Anthon" <[EMAIL PROTECTED]> wrote on 16/04/2008 
22:23:29:

> On Tue, Apr 15, 2008 at 10:12 AM, Massimiliano Maini
> <[EMAIL PROTECTED]> wrote:
> >
> >
> > I agree. I have to check how/if this can be done with InnoSetup 
(windows).
> > ot sure is gonna be easy to identify exactly where the .gnubg 
directory is
> > created ...
> >
> 
> I don't know much about innosetup, but I'm 99% sure that it will have
> a way to remove files installed in the current users home directory.
> 
> Christian.

Apparently it lacks support for "interactive uninstalls":

        http://www.jrsoftware.org/iskb.php?confirmuninstall

I had to create a .bat script executed by the uninstaller. It checks
if the .gnubg dir is there, it prompts to delete it.

Seems to work fine, but to get the home dir I had to use a constant in 
Innosetup
that gives the User Application Data dir, like:

        {userappdata}\..\.gnubg

This lrelies on the assumption that the user applciation data dir is in 
the user
home dir. I think its true on XP and Vista, dont know about the others 
Wins ...

MaX.
_______________________________________________
Bug-gnubg mailing list
Bug-gnubg@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to