few questions/comments first (setup is a linux server with 4.4; use software.csv/hardware.csv; test with xpsp1): * even with software.csv, unattended ask me for os, but get the rest through csv * after formatting, it asks for users to add to local Admin group: i didn't find a corresponding meta to auto answer on the advanced web page of the site. is there any ? * fixtz.pl: it seems to open properties for time but doesn't close it * to join to domain: which solution do you prefer to permit without putting main admin name/pass in unattend.txt ? (and this user must be admin, right ? a way to defined a user only for joining domain ?) * will be cool to add mute.exe from Adam Peart <[EMAIL PROTECTED]> in bin and at the beginning of base.bat (and unmute at the end [eventually]) * is there a way to impose classic theme to xp ??? it seems the following key doesn't work (even after new session or reboot) [HKEY_CURRENT_USER\Software\Microsoft\Plus!\Themes\Current] ; = %SystemRoot%\resources\Themes\Windows Classic.theme @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\

00,5c,00,72,00,65,00,73,00,6f,00,75,00,72,00,63,00,65,00,73,00,5c,00,54,00,\

68,00,65,00,6d,00,65,00,73,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,\

00,20,00,43,00,6c,00,61,00,73,00,73,00,69,00,63,00,2e,00,74,00,68,00,65,00,\
  6d,00,65,00,00,00

* to impose status bar and some list display by type ?
* to impose classical display on control panel ?
* one log i would find useful will be the timing hour when begin
install, end and timing for each script
* for fra lang, office2k has no Olk901 and kb830347 (not exist/no fetch
by prepare)
* else (it asked before but ...) is there any solution to let
software.csv handles serial for other software than windows (office not
corporate or others) or to give it the value of top and middle meta ?


next some script or cmdline to add to default scripts :) * pdfcreator (autoit joined) * tomcat win jakarta-tomcat-5.0.27.exe /S * eclipse3 (just copy) xcopy /e /v /c /q /h /I "%SRC%" "%DST%" echo y| cacls "%DST%" /E /G "BUILTIN\Administrateurs":F "BUILTIN\Utilisateurs":R * autoitv2 (msi by extracting setup) * flash (autoit) * quicktime from http://appdeploy.com/packages/detail.asp?id=123 i joined a pl, ini and preferences file

Regards

Julien

Attachment: flash-install.aut
Description: Basic audio


Attachment: install-pdfcreator.aut
Description: Basic audio

[QTSETUP]
32Bit=FALSE
16Bit=FALSE
NO_DIALOGS=TRUE
SHOW_SAMPLE=FALSE
SHOW_README=FALSE
SHOW_PROGRAMFOLDER=FALSE
REGISTRATION_DIALOG=FALSE
LICENSE_OPTION=2
SUPPRESS_SPEED_DIALOG=TRUE
SUPPRESS_PROXY_DIALOG=TRUE
INSTALL_QTJAVA=TRUE
INSTALL_QD3D=TRUE
INSTALL_QTINFO=TRUE

[QTPrefs]
SHOW_HOTPICKS=FALSE
ConnectionSpeed=Intranet
CSMultipleStreams=0
# Script to terminate Quicktime installation
#       remove qt on desktop, in quicklaunch and qttask in run
#
# from http://appdeploy.com/packages/detail.asp?id=123
# 
FRA|http://a1540.g.akamai.net/7/1540/52/20040428/qtinstall.info.apple.com/saba/fr/win/QuickTimeFullInstaller.exe

use warnings;
use strict;
#use Getopt::Long;
#use Pod::Usage;
use Win32::OLE;
use Win32::Registry;

use File::Basename;
use File::Spec;
use File::Path;
use File::Copy;

# Bomb out completely if COM engine encounters any trouble.
Win32::OLE->Option ('Warn' => 3);

# Get WshShell object.  See
# <http://msdn.microsoft.com/library/en-us/script56/html/wsobjwshshell.asp>
my $wsh_shell = Win32::OLE->CreateObject ('WScript.Shell');

sub canonicalize_filename ($) {
    my ($filename) = @_;

    # FIXME: Add support for "ProgramFiles".  And for "QuickLaunch";
    # see <http://www.winnetmag.com/Files/07/9176/Listing_03.txt>.
    if ($filename =~ /^special:([a-z]+)(.*)/i) {
        my ($special, $rest) = ($1, $2);
        # Get special folder.  See
        # 
<http://msdn.microsoft.com/library/en-us/script56/html/wsprospecialfolders.asp>

        my $folder = $wsh_shell->SpecialFolders ($special);
        $filename = "$folder$rest";
    }

    return $filename;
}

#$target = canonicalize_filename ($target);
#$shortcut = canonicalize_filename ($shortcut);


#$src = "AllUsersPrograms\Quicktime

my $to_delete = "special:AllUsersDesktop\\QuickTime Player.lnk";
$to_delete = canonicalize_filename ($to_delete);
print "deleting $to_delete ...\n";

unlink($to_delete);

$to_delete = "special:AppData\\Microsoft\\Internet Explorer\\Quick Launch\\QuickTime 
Player.lnk";
$to_delete = canonicalize_filename ($to_delete);
print "deleting $to_delete ...\n";

unlink($to_delete);

my $to_copy = "QuickTime.qtp";
my $dest = "c:\\Documents and Settings\\All Users\\Application Data\\QuickTime";
if ( ! -d $dest) {
        mkdir($dest,"0755");
}
copy($to_copy,$dest);


## no qttask
my $key;
my $p = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run";
my $val = "QuickTime Task";
$HKEY_LOCAL_MACHINE->Open($p, $key) || die "Open $!";

print "deleting in [$p] value '$val' ...\n";
$key->DeleteValue($val);

exit 0;

Attachment: QuickTime.qtp
Description: Binary data

Reply via email to