Skip to content

Make Wpkg-GP prepend cscript to path to wpkg.js if run from local disk #91

@GoogleCodeExporter

Description

@GoogleCodeExporter
I'd like to use wpkg-gp without an AD domain or SMB share, but download the 
.xml files and installers from a webserver (HTTP).

As it's not possible (?) to download wpkg.js directly from a HTTP server, I've 
installed both wpkg.js and config.xml in a local directory.
WpkgCommand in my wpkg-gp.ini file points to the wpkg.js in the local directory 
("%ProgramFiles%\Wpkg-gp\wpkg\wpkg.js").

I can run wpkg.js correctly from command line using "cscript 
%ProgramFiles%\Wpkg-gp\wpkg\wpkg.js".

However, if I reboot the machine the following error appears in the logfile of 
wpkg-gp:
2012-05-25 14:46:51,704 - WpkgService - ERROR - Error when processing Named 
Pipe Client:
Traceback (most recent call last):
  File "WpkgServer.pyc", line 195, in DoProcessClient
  File "WpkgExecuter.pyc", line 105, in Execute
  File "subprocess.pyc", line 679, in __init__
  File "subprocess.pyc", line 893, in _execute_child
WindowsError: [Error 193] %1 is not a valid Win32 application


What steps will reproduce the problem?
1. Install Wpkg-GP-0.15_x86.exe on Windows 7 Ultimate (no AD domain)
2. Install wpkg.js and config.xml in a local directory, and modify WpkgCommand 
in wpkg-gp.ini accordingly. 
3. Reboot.
4. Check the logfile.

What is the expected output? What do you see instead?
Wpkg-gp starting wpkg.js; an error in the logfile.

What version of the product are you using? On what operating system?
0.15, Windows 7 Ultimate

If applicable, please do the following to generate verbose debug messages,
and post the output here:
* Set WpkgVerbosity to 3
* Run `WpkgPipeClient.exe Execute`'
* Attach WpkgService.log in the logs directory to this ticket.

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 25 May 2012 at 1:18

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions