[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Modifying Condor's MSI distribution



If you download the Windows zip package instead of the MSI, starting in the 7.6 series there is a script inside etc/wix called do_wix that generates an installer from the zip.  You'll want to use another directory as the working directory, of course.  If you modify the line

LOCAL_CONFIG_FILE = $(LOCAL_DIR)/condor_config.local

in the condor_confic.generic file one level above the wix folder before you generate the MSI, the resulting installer will have the change.  You will need to install wix 3.0 from here http://wix.codeplex.com/releases/view/44406 to generate the installer.

On Thu, Sep 29, 2011 at 6:09 PM, <Kevin.Buckley@xxxxxxxxxxxxx> wrote:
Hi there,

VUW's Condor Grid has its windows execution nodes deployed and
controlled by our central IT facilitator, whilst the Eng and Comp
School operate the Condor master, which runs on a UNIX-like machine.

The Uni has recently moved to win 7 machines, but are seemingly
been having a hard time getting Condor deployed correctly.

Because of a couple of extra requirements that are needed to be added
to the configuration, we use a batch file as the LOCAL_CONFIG_FILE,
as this enables us to get around the fact that you can't know exactly
what's installed on any given windows machine that might appear in
the Condor Grid.

In my own testing (and whilst I would not normally touch windows with
a barge pole, things seem to have worked) I have seen that the only
changes to an "out of the dot-msi file" MSI install, are the provision
of the local .BAT file itself and a one line change in the main config
file, vis:

< LOCAL_CONFIG_FILE     = $(LOCAL_DIR)/condor_config.local
---
> LOCAL_CONFIG_FILE     = $(LOCAL_DIR)/etc/vuwconfig.bat|

I'd like to simply be able to present our central IT facilitator
with something that works, without their needing to have to do
anything but install the payload.

If I have a Condor-provided MSI file, how do I go about unpacking,
modifying and repacking it, so that the paylod includes the extra
.BAT file and the modified "condor_config".

Is it as simple as adding/refreshing files in a TAR ball?

somemsiutil.exe \r \v \f condor-7.4.4-winnt50-x86.msi c:\condor\condor_config

--
Kevin M. Buckley                                  Room:  CO327
School of Engineering and                         Phone: +64 4 463 5971
 Computer Science
Victoria University of Wellington
New Zealand

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/



--
Condor Project Windows Developer