Lennart Borgman | 3 Apr 2005 16:38
Picon
Picon
Favicon

Re: Emacs-21.3, Macaulay2-0.9.2 packaged in Microsoft Installer (.msi) format

Yes, there are indeed other projects for installation kits for Emacs on MS
Windows. Please go to
http://www.emacswiki.org/cgi-bin/wiki/WThirtyTwoInstallationKit for more
information.

Kind regards,
Lennart

----- Original Message ----- 
From: "Rex Dieter" <rdieter <at> math.unl.edu>
To: <graham <at> leuschke.org>; <Macaulay2 <at> math.uiuc.edu>;
<help-emacs-windows <at> gnu.org>
Sent: Friday, March 25, 2005 8:40 PM
Subject: [h-e-w] Emacs-21.3, Macaulay2-0.9.2 packaged in Microsoft Installer
(.msi) format

> After having not found either Emacs or Macaulay2 packaged in Microsoft
> Installer (.msi) format already(*), I took the task of doing it myself.
>   The fruits of my labors are available for public consumption from:
> http://www.math.unl.edu/~rdieter/Software/Windows/Macaulay2/
>
> Feel free to contact me if you have any questions or feedback.
>
> (*) If there are existing plans-for and/or packages available, please
> let me know.  There's no point in duplicating effort.
>
> -- 
> Rex A. Dieter rdieter <at> math.unl.edu
> Computer System Administrator http://www.math.unl.edu/~rdieter/
> Department of Mathematics  University of Nebraska Lincoln
(Continue reading)

Rex Dieter | 4 Apr 2005 13:42
Favicon
Gravatar

Re: Emacs-21.3, Macaulay2-0.9.2 packaged in Microsoft Installer (.msi) format

Lennart Borgman wrote:
> Yes, there are indeed other projects for installation kits for Emacs on MS
> Windows. Please go to
> http://www.emacswiki.org/cgi-bin/wiki/WThirtyTwoInstallationKit for more
> information.

I don't see any other project listed there creating *.msi* installers... 
Please correct me if I'm wrong.

-- Rex

> ----- Original Message ----- 
> From: "Rex Dieter" <rdieter <at> math.unl.edu>

>>After having not found either Emacs or Macaulay2 packaged in Microsoft
>>Installer (.msi) format already(*)
...
>>(*) If there are existing plans-for and/or packages available, please
>>let me know.  There's no point in duplicating effort.

Lennart Borgman | 4 Apr 2005 22:39
Picon
Picon
Favicon

Re: Re: Emacs-21.3, Macaulay2-0.9.2 packaged in Microsoft Installer (.msi) format

----- Original Message ----- 
From: "Rex Dieter" <rdieter <at> math.unl.edu>
To: <help-emacs-windows <at> gnu.org>
Sent: Monday, April 04, 2005 1:42 PM
Subject: [h-e-w] Re: Emacs-21.3, Macaulay2-0.9.2 packaged in Microsoft
Installer (.msi) format

> Lennart Borgman wrote:
> > Yes, there are indeed other projects for installation kits for Emacs on
MS
> > Windows. Please go to
> > http://www.emacswiki.org/cgi-bin/wiki/WThirtyTwoInstallationKit for more
> > information.
>
> I don't see any other project listed there creating *.msi* installers...
> Please correct me if I'm wrong.

Now at least your project is mentioned there ;-)

I think we have taken very different paths, but I am not sure. As far as I
can see you have created a installation package that contains Emacs. Because
this is quite big (14-16 MB) I can not download it now and look into it, so
I do not know for sure.

What I have been trying to do is to create a framework for making an
installation package - but also a utility that you could use to "setup" the
emacs you already have. This download is less than 1MB. If I would create an
actual installation package (including Emacs) it will be about the size of
your package. The main disadvantage of my approach is maybe that it does not
create a MSI package.
(Continue reading)

Rex Dieter | 6 Apr 2005 16:08
Favicon
Gravatar

Re: Emacs-21.3, Macaulay2-0.9.2 packaged in Microsoft Installer (.msi) format

Lennart Borgman wrote:

>>>Windows. Please go to
>>>http://www.emacswiki.org/cgi-bin/wiki/WThirtyTwoInstallationKit for more
>>>information.

>>I don't see any other project listed there creating *.msi* installers...
>>Please correct me if I'm wrong.

> Now at least your project is mentioned there ;-) 
> I think we have taken very different paths,

True.

> I would be glad if we somehow could mix our efforts.

As it stands, my .msi installer is little more than
http://ftp.gnu.org/gnu/windows/emacs/emacs-21.3-bin-i386.tar.gz
Plus
* site-lisp.d/ modification for auto-loading (which I used for 
Macaulay2-emacs integration).
* minimal Windows integration (Registry configuration, Start menu shortcuts)

You certainly have an excellent EmacsSetupHelper with nice windows 
customizations, far beyond what I've done.  I tried Running 
EmacsSetupHelper on top of my .msi-installed Emacs and it worked nicely 
(After re-installing Emacs to the expected /Program 
Files/Emacs/Emacs-21.3 location).  A couple of questions about 
EmacsSetupHelper regarding it's "Windows Integration of Emacs" option: 
Associate selected file types.  As I didn't see any file types listed or 
(Continue reading)

Brian Elmegaard | 6 Apr 2005 17:20
Picon
Picon
Favicon

Re: Emacs-21.3, Macaulay2-0.9.2 packaged in Microsoft Installer (.msi) format

Rex Dieter <rdieter <at> math.unl.edu> writes:

> > I would be glad if we somehow could mix our efforts.
> 
> Once I know these details, I can make a new .msi which includes
> EmacsSetupHelper (and it's customizations).

I absolutely appreciate your efforts. Mine
(http://www.et.dtu.dk/Software/DNA/emacs21.3-setup.exe) are probably a
lot less useful and I have several complaints about the installation
of an external package (http://www.et.dtu.dk/Software/DNA/index.html)
to use together with emacs. This is mainly because I haven't been able
to figure out how I can make two installers; one for emacs, one for
DNA, and make shortcuts and interaction work correctly.

But is it really the best way to make an installer that includes both
programs, like yours? 

If I can contribute anyhow I will try to.

> Lastly, I wonder, has there been any effort to push your
> customizations (w32-feeling, Gnuserv / gnuclient namely) upstream?
> They would be nice additions.

I agree.

--

-- 
Brian (remove the sport for mail)
http://www.et.dtu.dk/staff/be/be.html

(Continue reading)

Rex Dieter | 6 Apr 2005 20:14
Favicon
Gravatar

Re: Re: Emacs-21.3, Macaulay2-0.9.2 packaged in Microsoft Installer (.msi) format

Rex Dieter wrote:
> Lennart Borgman wrote:
> 
>>>> Windows. Please go to
>>>> http://www.emacswiki.org/cgi-bin/wiki/WThirtyTwoInstallationKit for 
>>>> more
>>>> information.

OK, I *think* I've got an Emacs package which includes EmacsSetupHelper 
that functions properly (only minimal testing so far).

The only file-association I could find in EmacsSetupHelper was for .el 
files.  And, in my investigation, when running EmacsSetupHelper-0.79, it 
sets the association even when I told it *not* to do it.  )-:

> As it stands, my .msi installer is little more than
> http://ftp.gnu.org/gnu/windows/emacs/emacs-21.3-bin-i386.tar.gz
> Plus
> * site-start.d/ modification for auto-loading (which I used for 
> Macaulay2-emacs integration).
> * minimal Windows integration (Registry configuration, Start menu 
> shortcuts)

In addition to the above the new installer:
* now supports site-start.d/ in both %emacs_dir%\site-lisp\site-start.d\ 
and %programfiles%\Emacs\site-lisp\site-start.d\
* Includes EmacsSetupHelper goodies (like w32-feeling, gnuclient)

The latest packages (and source) are (now) at
http://www.math.unl.edu/~rdieter/Software/Windows/
(Continue reading)

Rex Dieter | 6 Apr 2005 20:42
Favicon
Gravatar

Re: Emacs-21.3, Macaulay2-0.9.2 packaged in Microsoft Installer (.msi) format

Brian Elmegaard wrote:

> I absolutely appreciate your efforts. Mine
> (http://www.et.dtu.dk/Software/DNA/emacs21.3-setup.exe) are probably a
> lot less useful and I have several complaints about the installation
> of an external package (http://www.et.dtu.dk/Software/DNA/index.html)
> to use together with emacs. This is mainly because I haven't been able
> to figure out how I can make two installers; one for emacs, one for
> DNA, and make shortcuts and interaction work correctly.

With site-start.d support(*), install DNA as usual, and for 
emacs-integration, just drop DNA init in 
%programfiles%\Emacs\site-lisp\site-start.d\
and dna-mode.el in
%programfiles%\Emacs\site-lisp

and you should be good to go.

> But is it really the best way to make an installer that includes both
> programs, like yours? 

(??)
I don't include multiple programs in a single installer.  I've packaged 
Emacs and Macaulay2 separately.

-- Rex

(*) To add site-start.d support as I've done, simply append the attached 
site-start.el (borrowed from my redhat linux emacs install) to your 
%emacs_dir\site-lisp\site-start.el
(Continue reading)

John Owens | 8 Apr 2005 19:51
Picon
Favicon

.mailcap on Windows / launching file attachments with "meadow" or "start" or "cygstart" etc.

Using GNU Emacs 21.3.50.1 (i386-mingw-nt5.1.2600) of
2005-01-30

I run the "Wanderlust" mailer under emacs on both
WinXP and OS X. In that mailer I would like to launch
file attachments in mail messages (so that when I
receive a PDF I can launch Acrobat to view it).

Wanderlust uses the MIME library called "SEMI", which
has a method to "mime-preview-play-current-entity".
This looks in .mailcap to find out how to play 
the entity in question.

Now, on OS X, this all works fine. My mailcap has
entries that look like the following:

image/*: /sw/bin/launch -w %s

which uses the nice "launch" utility that simply
launches the associated application with the file. All
good. This works fine under CVS.

I have never got this to work under emacs on Windows.
I was using the 21.3 release for a while, recently
updated to the CVS build from 30 January (above), and
have tried a number of .mailcap entries to make this
work. Among them are "cygstart" (from cygwin), the
builtin "start", and "fiber" (from meadow) that are
all supposed to launch helper apps given a file name.
When I call mime-preview-play-current-entity, emacs
(Continue reading)

Lennart Borgman | 10 Apr 2005 00:27
Picon
Picon
Favicon

Re: Re: Emacs-21.3, Macaulay2-0.9.2 packaged in Microsoft Installer (.msi) format

----- Original Message ----- 
From: "Rex Dieter" <rdieter <at> math.unl.edu>

Hi Rex,
Sorry for not answering for a couple of days. I have been half
"uncomputerized" and have had other things to think about.

> I tried Running
> EmacsSetupHelper on top of my .msi-installed Emacs and it worked nicely
> (After re-installing Emacs to the expected /Program
> Files/Emacs/Emacs-21.3 location).

Do I understand you correctly that you then make an .MSI package of this?
That seems like the right thing to do. However it should not be necessary to
use the location you mention. What happened if you did not?

> A couple of questions about
> EmacsSetupHelper regarding it's "Windows Integration of Emacs" option:
> Associate selected file types.  As I didn't see any file types listed or
> selected anywhere, what associations are made?

If you choose "Associate selected file types" then .el is always associated
with Emacs, otherwise not. I have forgotten to mention this (and the
wordings are perhaps a bit unlogical).

> Lastly, I wonder, has there been any effort to push your customizations
> (w32-feeling, Gnuserv / gnuclient namely) upstream?  They would be nice
> additions.

Guy Gascoigne - Piggford is the one who have done the port of
(Continue reading)

Lennart Borgman | 10 Apr 2005 00:35
Picon
Picon
Favicon

Re: Re: Emacs-21.3, Macaulay2-0.9.2 packaged in Microsoft Installer (.msi) format

----- Original Message ----- 
From: "Rex Dieter" <rdieter <at> math.unl.edu>

> In addition to the above the new installer:
> * now supports site-start.d/ in both %emacs_dir%\site-lisp\site-start.d\ 
> and %programfiles%\Emacs\site-lisp\site-start.d\
> * Includes EmacsSetupHelper goodies (like w32-feeling, gnuclient)

Sounds nice. My personal favorite is often w32-print ;-)


Gmane