[lokisetup] uninstall problems
Ludwig Nussel
ludwig.nussel at gmx.de
Tue Nov 2 15:21:14 EST 2004
Daniel Aleksandrow wrote:
> But I found that when I install the Base, and then Music, uninstall
> didn't work, saying that it couldn't find the package.
> [...]
> <?xml version="1.0" standalone="yes"?>
> <install product="vegastrike" desc="Vegastrike Space Simulator" version="0.4.3" binarypath="/usr/local/bin"
> promptbinaries="no" express="no" splashpos="top" superuser="yes">
^^^^^^^^^^^^^^^
Don't force users to install as root (IMO don't even suggest to do
so). setup will suggest a writeable directory anyways.
> [...]
> <script message="Configuring Data Path">
> echo 'cd '$SETUP_INSTALLPATH >> $SETUP_INSTALLPATH/vegastrike.sh
> echo 'sh vsinstall.sh $SETUPARG' >> $SETUP_INSTALLPATH/vegastrike.sh
> </script>
Have a look at ut2004 or so, there is script magic that finds it's
install directory.
> [...]
> <?xml version="1.0" standalone="yes"?>
> <install product="vegastrike" desc="Vegastrike Space Simulator" version="0.4.3" binarypath="/usr/local/bin"
> promptbinaries="no" express="no" splashpos="top" superuser="yes">
> <eula>
> COPYING
> </eula>
>
> <component name="Music" version="0.4.3" default="yes">
>
> <option required="yes">
> Music
> <help>The musical score to your adventures.</help>
> <files>
> music/*
> </files>
> </option>
>
> </component>
>
> </install>
Apparently it doesn't work this way. It works if you specify a
component attribute to the install element. Something like that:
<?xml version="1.0" standalone="yes"?>
<install product="vegastrike" desc="Vegastrike Space Simulator" version="0.4.3"
splashpos="top" component="Music">
<eula>
COPYING
</eula>
<option required="yes">
Music
<help>The musical score to your adventures.</help>
<files>
music/*
</files>
</option>
</install>
This will also refuse to install if the Base install is missing.
cu
Ludwig
--
(o_ Ludwig.Nussel at gmx.de
//\
V_/_ PGP Key ID: FF8135CE
More information about the Lokisetup
mailing list