Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
9 crawler(s) on-line.
 34 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 matthey:  10 mins ago
 RobertB:  27 mins ago
 Rob:  51 mins ago
 number6:  1 hr 56 mins ago
 Karlos:  2 hrs 32 mins ago
 kolla:  3 hrs 1 min ago
 OneTimer1:  3 hrs 29 mins ago
 OlafS25:  4 hrs 3 mins ago
 pixie:  4 hrs 15 mins ago
 outlawal2:  5 hrs 22 mins ago

/  Forum Index
   /  Classic Amiga Software
      /  InstallerGen Beta Released
Register To Post

PosterThread
Daedalus 
InstallerGen Beta Released
Posted on 5-Aug-2014 0:09:50
#1 ]
Super Member
Joined: 14-Jul-2003
Posts: 1680
From: Glasgow - UK, Irish born

I've just put a beta version of InstallerGen on my website.

InstallerGen is a small GUI application for generating simple install scripts for the standard Installer utility. I started it a few years ago but neglected it until recently, when I decided to finish it off. It's now reached beta status - it's basically finished but not thoroughly tested.

I think it would be a good thing for more packages to include installer scripts, and hopefully this will help that happen. It can't do anything very complicated, but 90% of packages don't need that anyway.

You can download it here: http://www.robthenerd.com/show.php?sect=projects&sub=installergen&page=download

It's 68k, but tested and working on OS4 and MorphOS. It needs NList.mcc which I guess most people will have anyway...

Let me know what you think of it. Please test and examine the scripts it produces before you release them to the public as there could well be bugs still in there!

You can PM me here with problems / suggestions if you like, but my access to this site is limited and I'll be on holidays for a while so I'm not sure when I'll be able to get back to you about it.

Have fun!

_________________
RobTheNerd.com | InstallerGen | SMBMounter | Atoms-X

 Status: Offline
Profile     Report this post  
zzd10h 
Re: InstallerGen Beta Released
Posted on 5-Aug-2014 7:27:32
#2 ]
Amiga Developer Team
Joined: 21-May-2012
Posts: 1077
From: France

@Daedalus

You are right, Installer is a nightmare to use.

Your InstallerGen can be very useful.

I tried it quickly on OS4.

1) InstallerGen itself, is arbitrary installed into Work:InstallerGen

2) in the generated script, no interaction.
In the GUI, I added a "Choose location" and a "Enter string".

When I generate/run the script, it flys to "100% complete"



Installer script generated



Quote:

; test
; $VER: test
;

; Generated by InstallerGen!

(complete 0)
(set @app-name "test")
(set @default-dest "Work:")
; qsd
(message "qsd")

; dfg
(set chemin (askdir (prompt "dfg") (help @askstring-help) (default "XXXX")))

; dfg
(set chemin
(askdir
(prompt "fg\n A drawer will NOT be created.")
(help @askdir-help)
(default @default-dest)
)
)

;
(message "fdg")

(complete 100)




Do I miss something ?
Thank you

_________________
http://apps.amistore.net/zTools

 Status: Offline
Profile     Report this post  
Daedalus 
Re: InstallerGen Beta Released
Posted on 5-Aug-2014 7:47:16
#3 ]
Super Member
Joined: 14-Jul-2003
Posts: 1680
From: Glasgow - UK, Irish born

@zzd10h

Unless something else is going on, I think you might be selecting "Beginner" as the user skill level at the start of installation. When that's selected, the script should run completely with as little user input as possible. Try run the scripts as "Expert" instead. It is possible to override that setting, perhaps I should add options for that, especially for choosing where to install...

Thanks for the feedback!

_________________
RobTheNerd.com | InstallerGen | SMBMounter | Atoms-X

 Status: Offline
Profile     Report this post  
OlafS25 
Re: InstallerGen Beta Released
Posted on 5-Aug-2014 11:02:27
#4 ]
Elite Member
Joined: 12-May-2010
Posts: 6342
From: Unknown

@Daedalus

Great thing

will test it and report... one question if it works I would like to include it in future versions of Arios Vision. Would that be ok?

 Status: Offline
Profile     Report this post  
zzd10h 
Re: InstallerGen Beta Released
Posted on 5-Aug-2014 17:41:24
#5 ]
Amiga Developer Team
Joined: 21-May-2012
Posts: 1077
From: France

@Daedalus

Yes, you are right. It works.
I forgot that I use the following tooltypes in my own installers to display interactions.

DEFUSER=AVERAGE
MINUSER=AVERAGE

_________________
http://apps.amistore.net/zTools

 Status: Offline
Profile     Report this post  
Daedalus 
Re: InstallerGen Beta Released
Posted on 5-Aug-2014 18:27:11
#6 ]
Super Member
Joined: 14-Jul-2003
Posts: 1680
From: Glasgow - UK, Irish born

@OlafS25

Great, if you could let me know if it works I'll stick it in the Readme. And that's absolutely no problem to include it - but just wait until I've finished polishing it and release a full version.


@zzd10h

Good to know, thanks. Those parameters can also be set from within the script itself, so I think I'll add an option to set them on the script properties tab, and also to override the user setting for each step.

_________________
RobTheNerd.com | InstallerGen | SMBMounter | Atoms-X

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: InstallerGen Beta Released
Posted on 5-Aug-2014 19:09:25
#7 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3203
From: Beds, UK

@zzd10h

It's better to use (confirm) for any steps that have to be asked for novices, than disallowing novice mode entirely.

I tend to use novice mode for AmiUpdate AutoInstalls, if the program is already installed it's usually possible to do an upgrade install without asking any questions.

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
amigadave 
Re: InstallerGen Beta Released
Posted on 5-Aug-2014 19:41:49
#8 ]
Super Member
Joined: 18-Jul-2005
Posts: 1732
From: Lake Shastina, Northern Calif.

@Daedalus

Great work! I have been wanting for something like this to show up for a long time and actually thought of trying to create such a project myself in the past, but never started on it.

I will give it a try in the near future. There are far too many Amiga applications that do not include any Installer script.

_________________
Amiga! The computer that inspired so many, to accomplish so much, but has ended up in the hands of . . . . . . . . . .

 Status: Offline
Profile     Report this post  
Daedalus 
Re: InstallerGen Beta Released
Posted on 5-Aug-2014 20:20:58
#9 ]
Super Member
Joined: 14-Jul-2003
Posts: 1680
From: Glasgow - UK, Irish born

@Chris_Y

Yeah, I think it might be best to add an option to include the (confirm) for each step, so it's up to whoever is creating the script to decide which steps are important enough to stop the installation for in Novice mode. I guess I haven't really thought it through because I automatically choose "Expert" every time I install something.


@amigadave

Thanks Sorry it took so long I got sidetracked by a nasty bug early on and dropped it for ages...

_________________
RobTheNerd.com | InstallerGen | SMBMounter | Atoms-X

 Status: Offline
Profile     Report this post  
OlafS25 
Re: InstallerGen Beta Released
Posted on 9-Aug-2014 18:56:21
#10 ]
Elite Member
Joined: 12-May-2010
Posts: 6342
From: Unknown

@Daedalus

Great it works in Aros Vision

I have played around with it a little

One thing regarding "user-startup". Is it possible to add assigns to it? With question if yes or no?

For me copying files and adding assigns would be the most important features because most libs are included in Aros Vision by default

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: InstallerGen Beta Released
Posted on 9-Aug-2014 20:01:39
#11 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3203
From: Beds, UK

@OlafS25

Quote:
One thing regarding "user-startup". Is it possible to add assigns to it? With question if yes or no?


Installer can do it, so it can "easily" be added to InstallerGen if it isn't there already.

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
Daedalus 
Re: InstallerGen Beta Released
Posted on 10-Aug-2014 18:08:22
#12 ]
Super Member
Joined: 14-Jul-2003
Posts: 1680
From: Glasgow - UK, Irish born

@OlafS25

That's good news! As for the user-startup thing, there is a step type in InstallerGen for inserting lines into the user-startup file. I think it's called "startup" - which I might change now that I think about it. Anyway, that step lets you insert a line of whatever you like, just enter it in the Content text box. Unfortunately it's not very friendly for using variables yet, but it's there at least... For example, entering:

(cat "Assign MyProgram: " @default-dest)

as the Content of the Startup step type should work to add an assign MyProg: which points at the installation directory. I'm on my holidays now though so I can't check it.

I have a second beta nearly done which has better handling of variables for situations like this, and the ability to also make an assign directly in the script (so the user can run without rebooting for example). I'll hopefully finish it and let you try it out when I'm back in about 2 weeks.

Now, to find a nice restaurant in Paris

Last edited by Daedalus on 10-Aug-2014 at 06:09 PM.

_________________
RobTheNerd.com | InstallerGen | SMBMounter | Atoms-X

 Status: Offline
Profile     Report this post  
OlafS25 
Re: InstallerGen Beta Released
Posted on 10-Aug-2014 19:12:58
#13 ]
Elite Member
Joined: 12-May-2010
Posts: 6342
From: Unknown

@Daedalus

thanx

have a nice holiday

 Status: Offline
Profile     Report this post  
Daedalus 
Re: InstallerGen Beta Released
Posted on 19-Aug-2014 21:44:36
#14 ]
Super Member
Joined: 14-Jul-2003
Posts: 1680
From: Glasgow - UK, Irish born

Right, I've just uploaded a new beta of InstallerGen, you can get it here!

Many bugfixes and changes here based on some feedback (thanks to those who helped test it) and my own experience using it. Important changes are:

- New step specifically for adding assigns to User-Startup so you don't need to use the messy "cat" command and User-Startup step type combination.
- Many new step types (get version info, check if a file exists, exit script, rename/delete files, make assign directly from script, etc.)
- Some fields now change their label depending on context so it is less confusing
- Quit warning requester
- Support for default / minimum user level
- Option to force confirmation from user on some steps
- Lots of other stuff...

Please note that the project file format has changed so you cannot load projects created with the 0.5beta version. Sorry about that!

I'd be very interested in hearing people's feedback on this version, as I reckon it's close to finished now. Also, if anyone would like to make an icon for the application itself I would be extremely grateful as I don't have the time / talent to do it myself. Any or all platforms (OS 3.x, OS4, MOS) would be wonderful!

Thanks guys!

_________________
RobTheNerd.com | InstallerGen | SMBMounter | Atoms-X

 Status: Offline
Profile     Report this post  
OlafS25 
Re: InstallerGen Beta Released
Posted on 19-Aug-2014 22:36:53
#15 ]
Elite Member
Joined: 12-May-2010
Posts: 6342
From: Unknown

@Daedalus

thank you very much too. Hope you had nice holiday in Paris

Will test it next weekend

 Status: Offline
Profile     Report this post  
OlafS25 
Re: InstallerGen Beta Released
Posted on 26-Aug-2014 17:56:32
#16 ]
Elite Member
Joined: 12-May-2010
Posts: 6342
From: Unknown

@Daedalus

it works like charm, no wishes open

 Status: Offline
Profile     Report this post  
Daedalus 
Re: InstallerGen Beta Released
Posted on 27-Aug-2014 0:12:51
#17 ]
Super Member
Joined: 14-Jul-2003
Posts: 1680
From: Glasgow - UK, Irish born

@OlafS25

That's good news, thanks! I'll polish it up a little and release a proper version shortly.

_________________
RobTheNerd.com | InstallerGen | SMBMounter | Atoms-X

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle