Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Jan 2020, 22:25
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
YaPI (yet another Puppy Installer) install any Puppy iso
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 31 [461 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 29, 30, 31 Next
Author Message
mavrothal


Joined: 24 Aug 2009
Posts: 3102

PostPosted: Thu 10 Dec 2015, 06:03    Post subject: Re: Puppy Universal Installer (For all Puppy Versions)
Subject description: guess and test
 

L18L wrote:
search in all plugged-in (mounted and unmounted) devices.
This should start in the background and will hopefully be finished when that question comes up.

Hopefully with the user's permission...

L18L wrote:
...and Cutting Edge is not for beginners

...Nor for suicidals Very Happy

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3450
Location: www.eussenheim.de/

PostPosted: Thu 10 Dec 2015, 06:08    Post subject: Re: Puppy Universal Installer (For all Puppy Versions)
Subject description: guess and test
 

mavrothal wrote:
L18L wrote:
...and Cutting Edge is not for beginners

...Nor for suicidals Very Happy

.. for trolls Laughing
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 13193
Location: S.C. USA

PostPosted: Thu 10 Dec 2015, 08:48    Post subject: Re: Puppy Universal Installer (For all Puppy Versions)
Subject description: guess and test
 

mavrothal wrote:
L18L wrote:
search in all plugged-in (mounted and unmounted) devices.
This should start in the background and will hopefully be finished when that question comes up.

Hopefully with the user's permission...

I think you give permission when you start the program.

The universal Installer as always done a search, in the background, for all storage devices on the computer, mounted or unmounted, before showing the list of possible devices to install Puppy on.
That is part of just running the process.
How is this any different?

Other programs do similar things.

Example:
Start Pmount
Start Gparted
Start Rox file manager
Etc.....

These do searches, in the background, to give you there initial displays.

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer)
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 3102

PostPosted: Thu 10 Dec 2015, 09:58    Post subject: Re: Puppy Universal Installer (For all Puppy Versions)
Subject description: guess and test
 

bigpup wrote:
I think you give permission when you start the program

I think permission must be given and not assumed given.
Above all, permission must be asked for first.

But beyond that, pmaount or gparted are programs that have as a job to manipulate drives and partitions and do that because the user asked them to. And still do not search the drives and only mount them momentarily to check filesystem and space. Rox will not mount anything. If the user asks to see the content of a specific partition filemnt will mount what the user explicitly asked for and nothing else. And when you want to install a puppy or create a savefile, drives and partitions are mounted (again) momentarily to test filesystem and space available, and never searched for anything.
So no, is not even close.

Also if you think of it, some may have hundreds of puppies. If they just want to install the latest download they should now find it through the dozens of ISOs. So, the said functionality not only assumes that the user never tested what (s)he is about to install but that (s)he does not even know if and where the said ISO is.

I think Dry Falls' suggestion may be the most appropriate if you want to go down the install-any-untested-ISO road. Edit filemnt so when the user clicks on a puppy ISO to offer the option to install or view, similar to what filemnt does now with SFSs. This will also make the installer's job (and coding) considerable easier and safer.

But that's me. I'm sure you'll do as you see fit.

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 13193
Location: S.C. USA

PostPosted: Thu 10 Dec 2015, 14:49    Post subject:  

mavrothal wrote:
But that's me. I'm sure you'll do as you see fit.

Not up to me.
L18L is doing the coding!

I can see we are not going to agree on much.
However, disagreement of how to accomplish something and an open discussion of ideas, always results in a better solution. Shocked
However, a wise man said:
"But that's me. I'm sure you'll do as you see fit".

Quote:
Also if you think of it, some may have hundreds of puppies. If they just want to install the latest download they should now find it through the dozens of ISOs. So, the said functionality assumes that (s)he does not even know if and where the said ISO is.

Well, my hundreds of Puppy iso files are stored on this forum.
That way I always have the latest version.

I would be very happy just looking at an alphabetical listing of iso's and not having to go do a long, step by step, navigation through the file system to get to the location I put the iso file.

I know, a smart person would only put the iso files in one location all the time.
I am not that smart Shocked

OH! And halfway into the process. I would realize I forgot to mount the partition(S) the iso files were on.
Again, I am not that smart. Shocked

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer)

Last edited by bigpup on Thu 10 Dec 2015, 15:39; edited 1 time in total
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 13193
Location: S.C. USA

PostPosted: Thu 10 Dec 2015, 15:19    Post subject:  

Well, maybe this Universal Installer will turn into it's own program.
Able to install any Puppy, anyway you want to install it, to any storage device.

No reason Puppy cannot have two Universal Installers.

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer)
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 3102

PostPosted: Thu 10 Dec 2015, 15:49    Post subject:  

bigpup wrote:
No reason Puppy cannot have two Universal Installers.
As I mentioned many times before a puppy has whatever the puppy builder wants to put in. Would be a good idea though if it develops to something altogether different to have a distinct name. Super/Smart/... Puppy Universal Installer might be better (Actually SPUI would make sense for this case Very Happy )
_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
8Geee


Joined: 12 May 2008
Posts: 2120
Location: N.E. USA

PostPosted: Thu 10 Dec 2015, 22:53    Post subject:  

If we can have two one of them should be like the one found in Slacko5.7, the other as modern PUI with f2fs ( Shocked theres 7Gb remaining unused in your USB stick... OH NO!!! Laughing )
_________________
Linux user #498913 "Some people need to reimagine their thinking."
"Zuckerberg: a large city inhabited by mentally challenged people."
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3450
Location: www.eussenheim.de/

PostPosted: Fri 11 Dec 2015, 13:00    Post subject: Yet another Puppy Installer  

bigpup wrote:
I would be very happy just looking at an alphabetical listing of iso's and not having to go do a long, step by step, navigation through the file system to get to the location I put the iso file.

I know, a smart person would only put the iso files in one location all the time.
I am not that smart Shocked

OH! And halfway into the process. I would realize I forgot to mount the partition(S) the iso files were on.
Again, I am not that smart. Shocked

I am also not smart Laughing

This thread has been started with the question
"can another than the running puppy also be installed from PUI?"

Simple question
There was no simple answer "no, why should it?".

Ever thought about what PuppyMaster does?
Not just renaming "Puppy Universal Installer" to "Quirky Universal Installer"
He is creating a new tool.

And maybe this will become a great new tool.
YaPI_Screenshot_2015-12-11.png
 Description   Hope the screeny says more than 100 words.
 Filesize   28.82 KB
 Viewed   247 Time(s)

YaPI_Screenshot_2015-12-11.png

puppyinstaller151211.gz
Description  click to unzip
store it where ever you like
rename to what ever you like
give it exec permission (thanks bigpup)
click to run, ahem no: click to play.
gz

 Download 
Filename  puppyinstaller151211.gz 
Filesize  33.32 KB 
Downloaded  125 Time(s) 

Last edited by L18L on Sat 12 Dec 2015, 06:00; edited 2 times in total
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 13193
Location: S.C. USA

PostPosted: Fri 11 Dec 2015, 22:32    Post subject:  

Note:
I had to give it exec permission for it to run.
Should point that out.

L18L,

Thanks for willingness to consider ideas by others!!!

Disagreement of how to accomplish something and an open discussion of ideas, always results in a better solution.

You have proven that a truly good pice of software can be produced by simply following this principle.

Thank you very much!!

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer)
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 13193
Location: S.C. USA

PostPosted: Fri 11 Dec 2015, 22:47    Post subject:  

L18L,

If the puppyinstaller151211 is just to show what it will look like. OK.

If it is suppose to be functional, to the point of doing an actual install. I am seeing problems.

So, what would you like us to check?

Some problems:
On start. The console is popping up, along with the program window.

When you shutdown the program. The /tmp/PUI is not cleared of any data files.
This showed up as a problem if you restarted the program. The data still in /tmp/PUI is used. No real fresh new search is done.

When selecting the type of device to install on.
If you select CD.
It gives you the info message.
When you close this message.
The program closes.
It should go back to the select a storage type of device window.

From a running full install of Tahrpup6.0
The Tahrpup6.0.iso is on a non-mounted device.

Tried install this running Puppy.
Got to the point that it found the Tahrpup6.0.iso.
Because the iso was not mounted, got this info window. (image 1)
Help info window does not really give any help (image2)
It should say something about needing to have the iso mounted.
(Full installs need the iso mounted to use it for an install)
capture32359.png
 Description   
 Filesize   13.02 KB
 Viewed   207 Time(s)

capture32359.png

capture802.png
 Description   
 Filesize   4.84 KB
 Viewed   177 Time(s)

capture802.png


_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer)
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3450
Location: www.eussenheim.de/

PostPosted: Sat 12 Dec 2015, 06:42    Post subject: YaPI  

bigpup wrote:
If it is suppose to be functional, to the point of doing an actual install. I am seeing problems.

It is supposed to be functional to the point of
- having chosen the Puppy to be installed
- having chosen device where to install the chosen Puppy
Nothing can be installed at the moment (and the next versions).

bigpup wrote:
On start. The console is popping up, along with the program window.
Launching a script from console is always good for debugging and watching output of the script. I have forced it to run in console. Can be reverted when development has been finished. You will get this YaPI console black on lightyellow next version.

bigpup wrote:
When you shutdown the program. The /tmp/PUI is not cleared of any data files.
This showed up as a problem if you restarted the program. The data still in /tmp/PUI is used. No real fresh new search is done.
Thanks for pointing to that, too.

bigpup wrote:
When selecting the type of device to install on.
If you select CD.
It gives you the info message.
When you close this message.
The program closes.
It should go back to the select a storage type of device window.

Yes, I have not changed anything in old code for CD which exits with message "not yet implemented".
CD in my case, I do not have one.
Or "old SCSI Hard Disk". If I choose it I get my SSD on SATA...
This is another issue I want to re-code "from scratch".
I do not want to get devices offered that I do not have!

bigpup wrote:
From a running full install of Tahrpup6.0
The Tahrpup6.0.iso is on a non-mounted device.

Tried install this running Puppy.
Got to the point that it found the Tahrpup6.0.iso.
Because the iso was not mounted, got this info window. (image 1)
Help info window does not really give any help (image2)
It should say something about needing to have the iso mounted.
(Full installs need the iso mounted to use it for an install)

Embarassed needs re-mount if selected Embarassed

Enough TODO for next version.
Code:
#151212orLater fix for http://murga-linux.com/puppy/viewtopic.php?t=101127&start=70

Thank you very much.

BTW, if you want to look into the code, here is how I edit my code:
- open it in geany
- click Document LineWrapping
- click View ShowSidebar
You might try to change some of the help texts by yourself, I you like. Cool
Screenshot_2015-12-12.png
 Description   
 Filesize   6.13 KB
 Viewed   180 Time(s)

Screenshot_2015-12-12.png

Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 13193
Location: S.C. USA

PostPosted: Sat 12 Dec 2015, 11:52    Post subject:  

L18L,

Thanks!

I know how to look at the code.
I just do not know how to code Shocked Laughing
I can cut and paste enough to get into trouble. Laughing

I knew some issues would pop up about how the Universal Installer was doing things.
I think this is the first time it has ever really gotten any pretesting, by users, before a new version gets released.
Usually, in the past, a new version gets put into the next new release of Puppy and all you can do is just use it. Defects and all.

Wish some people besides you and me would jump in with testing.

Did we scare mavrothal off Question Laughing

I would like to see the idea of selecting to install to a CD and have the program Burniso2cd pop up.
I guess the Universal installer could have the code to actually burn an iso image to a CD/DVD, but sending you to a program that does only that, seems also a good idea.

The code for Burniso2cd is not that big.
I guess it could be added to the Universal Installer Idea

Quote:
You might try to change some of the help texts by yourself, I you like.

I will be happy to help with that, as soon as I know for sure what you make it do and when it does it Laughing

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer)
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Sun 13 Dec 2015, 03:11    Post subject:  

Sent PBurn author your request via PM: it may have a cli option that is useful to an actual burn.

But, simply making a new ISO could/should be acceptable in most cases, too, allowing users to select their favorite burn utility.

Or, a final ISO burn screen could put up either instruction or allow user to choose his burn option.

I like the ISO options that you are considering

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6627
Location: Valåmoen, Norway

PostPosted: Sun 13 Dec 2015, 04:10    Post subject:  

pBurn allows you to go straight to iso-mode...
Code:
pburn -m iso
...but it lacks an option to write a specific iso-file from cli. Shouldn't be too hard to implement if you want me to...
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 5 of 31 [461 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 29, 30, 31 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0883s ][ Queries: 12 (0.0241s) ][ GZIP on ]