1. Windows Installer Program

I am seriously considering writing a program in Euphoria that can install a program on Windows, add it to the Start Menu, Desktop, and Taskbar, and add whatever registry entries are necessary. I would use FluidAE for the GUI. It would be nice if programs written in Euphoria didn't have to depend on non-Euphoria installation tools. What do you all think? What would it take to get this working? If anyone has any useful bits of code, I would happy to incorporate them into the project.

I can think of a few things that would be needed:

  • Elevating privileges
  • Reading/writing the registry entries
  • Creating shortcut files
  • Accessing system folders, system variables, and other operating system information
  • Perhaps, use 7-Zip to make a self-extracting file, which would contain:
    • setup.exe (a bound euphoria program)
    • files that will be copied to the installation location
new topic     » topic index » view message » categorize

2. Re: Windows Installer Program

ryanj said...

I am seriously considering writing a program in Euphoria that can install a program on Windows, add it to the Start Menu, Desktop, and Taskbar, and add whatever registry entries are necessary. I would use FluidAE for the GUI. It would be nice if programs written in Euphoria didn't have to depend on non-Euphoria installation tools. What do you all think? What would it take to get this working? If anyone has any useful bits of code, I would happy to incorporate them into the project.

I can think of a few things that would be needed:

  • Elevating privileges
  • Reading/writing the registry entries
  • Creating shortcut files
  • Accessing system folders, system variables, and other operating system information
  • Perhaps, use 7-Zip to make a self-extracting file, which would contain:
    • setup.exe (a bound euphoria program)
    • files that will be copied to the installation location

Maybe you you should check the archive for some ideas.

Go here:

http://rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=install

The first one on the list has source code.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Windows Installer Program

ryanj said...

I am seriously considering writing a program in Euphoria that can install a program on Windows, add it to the Start Menu, Desktop, and Taskbar, and add whatever registry entries are necessary. I would use FluidAE for the GUI. It would be nice if programs written in Euphoria didn't have to depend on non-Euphoria installation tools. What do you all think? What would it take to get this working? If anyone has any useful bits of code, I would happy to incorporate them into the project.

I've thought about doing this sort of thing, but right now, I'm not in favor of it. On Windows, I think that WiX is the right way to go. I've played around with it a bit, and it's not too difficult to use, at least for relatively simple installations.

Matt

new topic     » goto parent     » topic index » view message » categorize

4. Re: Windows Installer Program

I think a better idea might be a Euphoria Package Manager, à la RubyGems. Jeremy had started something with EuPack but I'm not sure where that stands. His last commit was just over three years ago.

-Greg

new topic     » goto parent     » topic index » view message » categorize

5. Re: Windows Installer Program

Hi,
I have a licenced copy of Astrum install wizard, see
http://www.thraexsoftware.com/aiw/features.html
if this fits the needs? No plug intended... if the requirements can be communicated, I can construct the installer package?

Alan

new topic     » goto parent     » topic index » view message » categorize

6. Re: Windows Installer Program

mattlewis said...

I've thought about doing this sort of thing, but right now, I'm not in favor of it. On Windows, I think that WiX is the right way to go. I've played around with it a bit, and it's not too difficult to use, at least for relatively simple installations.

Now that I think about it, you are probably right. Making an installer program would be a huge project. Perhaps, I should just focus on making graphical tools for Euphoria, such as an IDE with a GUI for binding programs.

new topic     » goto parent     » topic index » view message » categorize

7. Re: Windows Installer Program

ghaberek said...

I think a better idea might be a Euphoria Package Manager, à la RubyGems. Jeremy had started something with EuPack but I'm not sure where that stands. His last commit was just over three years ago.

-Greg

What do you mean by "Euphoria Package Manager" exactly?

new topic     » goto parent     » topic index » view message » categorize

8. Re: Windows Installer Program

ryanj said...
ghaberek said...

I think a better idea might be a Euphoria Package Manager, à la RubyGems. Jeremy had started something with EuPack but I'm not sure where that stands. His last commit was just over three years ago.

-Greg

What do you mean by "Euphoria Package Manager" exactly?

I think the idea was to have an easy way to get euphoria code. A sort of automated front end to the archive, sort of like NuGet (to give another example).

Matt

new topic     » goto parent     » topic index » view message » categorize

9. Re: Windows Installer Program

Sorry for the late reply. Quite some time ago I found a little gem called makesfx, reasonably sure it was this one: http://74.cz/en/make-sfx/index.php

The important thing (for me) was command line support; I have a .bat file with two lines similar to:

"C:\Program Files\7-zip\7z.exe" a -tzip phix.zip @phix7zip.lst 
which creates a zip file (oh, yeah, I installed 7-zip as well!) from a plain text list of files, and

makesfx.exe /zip="phix.zip" /sfx="phix.exe" /title="Install Phix" /website="http://phix.is-great.org" /intro="This program installs Phix" /defaultpath="$programfiles$\Phix" /exec="$targetdir$\ppw.bat" /overwrite  
which converts it into an installation program, with the option of running whatever post-extact processing you need. Dirt simple and fully automatic.

HTH, Pete

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu