Re: Windows Installer Program
- Posted by BRyan Nov 20, 2013
- 1955 views
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.