[wpkg-users] [Bug 32] Server(s)/drive letter enhancement

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Sun Dec 23 23:50:13 CET 2007


http://bugzilla.wpkg.org/show_bug.cgi?id=32


Rainer Meier <skybeam at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |skybeam at users.sourceforge.ne
                   |                            |t
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #7 from Rainer Meier <skybeam at users.sourceforge.net>  2007-12-23 23:50:08 ---
I have another proposal to this report.

>From my point of view this patch is quite custom and does not reflect a general
customer need. Moreover the patch is not (yet) very flexible in a way to
specify server name, drive letter, path, user and password.
In addition WPKG and most installers are able to work from UNC paths which is
the proposed way of accessing the files from the network.

I thought about it and came to the conclusion that your "problem" to map a
drive does actually not require a change in wpkg.js. Instead a wrapper script
could connect the drive(s) before it invokes WPKG.

Proposal (wpkg-drivemap.cmd):
@echo off

set DRIVENAME=O:
set DRIVEPATH=\\myserver\share
set DRIVEUSER=DOMAIN\username
set DRIVEPASS=password

net use %DRIVENAME% /DELETE /Y
net use %DRIVENAME% "%DRIVEPATH%" %DRIVEPASS /USER:%DRIVEUSER% /PERSISTENT:NO

start /wait "WPKG" cscript "%DRIVENAME%\wpkg\wpkg.js" /synchronize

net use %DRIVENAME% /DELETE /Y

---
If you use WPKG Client then just enter the (UNC)-Path to that script into the
WPKG file path field.

This will work with future versions of WPKG as well (unless the attached path).

The cmd script can also be called easily from the logon script (or even
directly be included). Any other logon scripter like KiXtart can do the same
(mapping drive, running wpkg, unmapping drive).

As the discussion of this change seems to be phased out I am setting the status
to WONTFIX for now awaiting some feedback. If there is no feedback I will close
it.


-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list