Re: [Unattended] Parameters for automating application installati on.

2003-11-25 Thread Eugene Kotlyarov
DE-LOS-SANTOS,ORIOL (HP-Spain,ex1) writes:

I keep getting the error:
"Can't locate object method "new" via package "Unattend::Inifile" (perhaps
you forgot to load "Unattend::Inifile"?) at z:\scripts\VarEntorno.pl line
9."
I understand the "use" command loads "Unattend::Inifile".

Any suggestions.
It's case sensitive. You should write IniFile, not Inifile.
Also it's good style to add
use warnings;
use strict;
to the beginning of file. It will report about some more
errors and warnings in your file.


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


RE: [Unattended] Parameters for automating application installati on.

2003-11-25 Thread DE-LOS-SANTOS,ORIOL (HP-Spain,ex1)
This is my first Perl programming attempt. The script is supposed to read
certain variables from the unattend.txt file and then define system
variables containing the values read.

I keep getting the error:
"Can't locate object method "new" via package "Unattend::Inifile" (perhaps
you forgot to load "Unattend::Inifile"?) at z:\scripts\VarEntorno.pl line
9."

I understand the "use" command loads "Unattend::Inifile".

Any suggestions.

-8<--- HERE IS THE FILE --8<--
# Este script lee los datos de las variables de entorno del unattend.txt de
este equipo
# y crea variables de entorno con dichos valores.

use Unattend::Inifile;


# Leemos todas las variables almacenadas en Unattend.txt

my $u = new Unattend::Inifile ('C:\\netinst\\unattend.txt');

my $NumSerie = $u->{'_hp'}->{'NumSerie'};
my $NumInvent = $u->{'_hp'}->{'NumInvent'};
my $ModeloPC = $u->{'_hp'}->{'ModeloPC'};
my $CodUsuar = $u->{'_hp'}->{'CodUsuar'};

print $NumSerie,$Numinvent,$ModeloPC,$CodUsuar;


# Almacena las variables de entorno en el sistema.
my $set_environment = 'setenv.pl';

if (-e $set_environment) {
my $result = do $set_environment ,' NUM_SERIE ', $NumSerie;
$@
and die "do $set_environment failed: $@";
defined $result
or die "Could not do $set_environment: $^E";
}

if (-e $set_environment) {
my $result = do $set_environment ,' NUM_INVENTARIO ', $NumInvent;
$@
and die "do $set_environment failed: $@";
defined $result
or die "Could not do $set_environment: $^E";
}

if (-e $set_environment) {
my $result = do $set_environment ,' MODELO ', $ModeloPC;
$@
and die "do $set_environment failed: $@";
defined $result
or die "Could not do $set_environment: $^E";
}

if (-e $set_environment) {
my $result = do $set_environment ,' COD_USUARIO ', $CodUsuar;
$@
and die "do $set_environment failed: $@";
defined $result
or die "Could not do $set_environment: $^E";
}


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


[Unattended] sysprep and HALs

2003-11-25 Thread Urs Rau
Friends,

Let me first of all say I firmly believe in doing windows installs the 
"unattended" way, BUT some of the colleagues I am working with in other 
branches in my organization in other countries are, very recent, but 
nevertheless "supporters" of doing the "same" thing the M$ sysprep way.

I hope you will allow for this somewhat "off topic" discussion or 
feedback to happen on this list as I need your feedback in order to save 
us from the pitfalls off going the "sysprep" way and using "unattended" 
instead.

Now to the question, I could do with some arguments/facts/feedback or 
shared experiences about some of you who have in the past undoubtedly 
done it the "sysprep" way. Under win9x I had used "ghost" type imaging 
very successfully and had no real issues, but "ghosting" w2k or higher 
didn't work as flawlessly anymore.

So my question is twofold. First how frequent of an issue is it to have 
to have two or three "perfect" images for the different HAL types? 
(assuming that the MS documentation is right and one really does have to 
have different images to be able to copy it to machines using different 
HALs)

And secondly is there an "easy" way to establish what HAL type a machine 
would be while it is running win9x? I could then ask my colleagues to 
"survey" their current machines and it may or may not help them decide 
whether they should even consider doing "sysprep" images.

What other things would you want to tell anybody considering going donw 
the road of using "sysprep".

Many thanks for any feedback on this.

Urs Rau
Head of IT
OM UK National Office




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


[Unattended] vmware problems

2003-11-25 Thread Michelangelo Bottura
I'm experiencing a lockup while booting up from CD (unattended 3.4), 
using vmware workstation to test the new release - i.e. my 
username/password is refused (but network is on as i can see the logon 
failure in the eventvwr of the install server) then the question "do you 
want to override default setting" is asked. the current user is 
disconnected and after the system seems frozen.

anyone has tried vmware /has any advice?
Thanks
Michelangelo


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


[Unattended] .reboot-on

2003-11-25 Thread Justin Beckley
Has anyone else had problems with the .reboot-on command.  I am trying 
ot setup 3.4 and during this test run it won't work.  Anytime it comes 
to a .reboot-on command it says "Unrecognized dot command .reboot-on 194 
z:\path\to\windows-update.exe /u /n /z  z:\bin\todo.pl failed at line 295"

Thanks for any help.

Justin



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


[Unattended] Unknown line

2003-11-25 Thread Justin Beckley
I have added some domain specific configuration to my unattend.txt file, 
but it says that "DomainAdminPassword" is an unrecognized field and it 
fails after it sees it.  Anyone know why this would be, or how to fix it?

Justin



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info