[Unattended] Unattended todo.pl working with Windows 7

2011-10-06 Thread scsmsutton
Hi Gerhard,

Many thanks for your reply.

I have uncommented the lines as suggested but to no success, errors are 
returned further down the function (Can't call method OSLanguage on an 
undefined value at Z:\bin\todo.pl line 286)

With version 4.9 of Unattended, the get_windows_version function was updated to 
include Windows 7 as an OS option, could this not be utilised to get around the 
problem?  Unfortunately I've never written in Perl but if the $os = 'win7' is 
true then is there not an If condition that can be put in for the language 
function to either hard code the $ENV('Winlang') variable or use another table 
to lookup the language code?

Apologies again for not being able to offer any code to support this idea but 
any suggestions would be welcomed.

Regards
Matt


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


[Unattended] Unattended todo.pl working with Windows 7

2011-10-05 Thread scsmsutton

Hi,

I have a strange problem that I am wondering if anyone can help me with.

Have been building an Unattended setup for the past few months and successfully 
got both XP and Windows 7 working (Win7 using previous threads on utilising 
WinPE from the mailing list)

Not so long ago I had a corruptio on the hard drive where the Unattended files 
were stored so have had to start from scratch and rebuild everything.  Now I am 
having an issue with WIndows 7 when it calls the get_windows_language function 
in the todo.pl.  The error reports too many language options and halts the 
installation.

Having looked into it a little further I know the lang_id table in todo.pl is 
aimed at Windows 2000/XP/2003 as there are new language codes in Windoes 7 but 
I didn't have this issue before I had to rebuild my setup and and don't recall 
making any modifications either.

If anyone can shed some light on the issue it would be greatly appreciated.

Many thanks

Matt
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] Unattended todo.pl working with Windows 7

2011-10-05 Thread Gerhard Hofmann
Matt wrote:

 ...
 Not so long ago I had a corruptio on the hard drive where the Unattended 
 files were stored so have had to start from scratch and rebuild everything.  
 Now I am having an issue with WIndows 7 when it calls the 
 get_windows_language function in the todo.pl.  The error reports too many 
 language options and halts the installation.
 ...

Hello Matt,

I had the same error on one (and only one) Win-7 machine.
Unfortunately, I have no access to that machine any more to prove my
ideas about the problem, but maybe you could...

Maybe you could try to uncomment these lines...

  scalar @oses == 1
  or die Internal error (too many OS objects in get_windows_language);

... in todo.pl and see if that makes a difference on your machine.
(Don't know if that will break other things...)

I must point out that my only Unattended usage on Win-7 machines is
appsonly.bat (application only installs on machines with pre-installed
OS).

Regards
Gerhard

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info