[wpkg-users] Locale selector

2009-05-15 Thread Malte Starostik
Hi,

some installations like hotfixes need a locale-specific selection of what 
exactly to install.  Instead of writing a .cmd each time (or somehow using a 
global one), it would be quite nice to have any or all of these possibilities

A very flexible approach not only for locale branching:
setenv cmd=setenv.cmd / where setenv.cmd outputs name=value pairs and 
wpkg.js provides those as env vars to subsequent scripts

A less flexible approach:
wpkg.js could provide the return value of its getLocale() function as %LOCALE% 
- still requires translating the value to e.g. ENU, DEU or whatever the 
specific package needs

Locale based branching right inside the package definitions:
package ...
  locale lcid=0409
install cmd=setup-english.exe /
  /locale
  locale lcid=0407
install cmd=setup-german.exe /
  /locale
  locale lcid=default
install cmd=setup-multilang.exe /
  /locale
/package

Am I missing any such possibility that's still there?

Cheers,
Malte
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[wpkg-users] RPC server unavailable

2009-05-15 Thread Daniel Dehennin
Hello,

Trying wpkg.js 1.1.0-M30 on windows XP I have the following errors:
--8---cut here---start-8---
2009-05-15 14:46:05, ERROR   : Error when searching registry sub-keys at 
'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall'|Code: 800706ba; 
Descriptions: Le serveur RPC n'est pas disponible. 
2009-05-15 14:46:05, ERROR   : Error evaluating package check for package 
'Mozilla Firefox': 'length' a la valeur Null ou n'est pas un objet.
2009-05-15 14:46:05, ERROR   : Could not process (install) Mozilla 
Firefox.|Failed checking after installation.
--8---cut here---end---8---

Le serveur RPC n'est pas disponible means The RPC server is unavailable.

Any idea ?

Regards.
-- 
Daniel Dehennin
RAIP de l'Orne


pgpdjuiDxCvrw.pgp
Description: PGP signature
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] RPC server unavailable

2009-05-15 Thread Falko Trojahn
Hello,
 Trying wpkg.js 1.1.0-M30 on windows XP I have the following errors:
 --8---cut here---start-8---
 2009-05-15 14:46:05, ERROR   : Error when searching registry sub-keys at 
 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall'|Code: 800706ba; 
 Descriptions: Le serveur RPC n'est pas disponible. 
 2009-05-15 14:46:05, ERROR   : Error evaluating package check for package 
 'Mozilla Firefox': 'length' a la valeur Null ou n'est pas un objet.
 2009-05-15 14:46:05, ERROR   : Could not process (install) Mozilla 
 Firefox.|Failed checking after installation.
 --8---cut here---end---8---

 Le serveur RPC n'est pas disponible means The RPC server is unavailable.

 Any idea ?
   
Please make sure that you try to install as user with correct admin rights.

May have something to do with WMI. Do you have other errors in Eventlog
(system or application)?

Otherwise:
If possible, could you please test the same installation on another PC
and/or with another Version of wpkg.js (stable or earlier 1.1.0-Mxx)?

Thanx,
Falko
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users