Hi,
I've done this one to start the installation process:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Install Livecd
Name[fr]=Installez le Live CD
Exec=gksu video-clean; /usr/sbin/draklive-install
Comment=Installer for your computer
GenericName=Livecd Install
Icon=/usr/share/icons/livecd-install.png
Terminal=false
Type=Application
StartupNotify=false
Categories=System;Utility;Core;GTK;X-MandrivaLinux-System;
Comment[fr_FR.UTF-8]=Installeur pour votre ordinateur
This allows the person to write the password only once, instead of twice : at the video-tool window, and then not more.
What you find usually:
[Desktop Entry]
Comment=
Comment[en_US]=
Encoding=UTF-8
Exec[$e]=/usr/bin/install-pclos
GenericName=
GenericName[en_US]=
Icon=/usr/share/icons/draklive-install.png
MimeType=
Name=Install PCLinuxOS
Name[en_US]=Install PCLinuxOS
Path[$e]=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=
X-KDE-SubstituteUID=false
X-KDE-Username=
Once executed, it does it calls what you can see facing "Exec[$e]=" : the /usr/bin/install-pclos script. This script is a tiny shell that contains:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#! /bin/sh
kdesu video-clean && /usr/sbin/draklive-install
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
and this script is such that you will repeatedly, install after install, give the root passwd twice in a row, once at video-clean, once at draklive-install launch.
I'm sure theses scripts could be more elaborated, with conditions (I don't know bash writing alas) according to which DE is there : if kde, if gnome... kdesu for kde, gksu for gnome, ktsuss (does the same, much lighter, no DE dependant : could be interesting for Lxde remasters, Openbox remasters and all that want to be lighter).