Puppy Linux Windows Users: exe installer programs

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
T_Hobbit
Posts: 400
Joined: Sat 27 May 2006, 10:50
Location: Portugal - Lisbon

#21 Post by T_Hobbit »

One inside the other? Are you talking about unpacker?
T_Hobbit
:idea: Rebuilding old DOS Machine for Wing Commander Privateer and Puppy :!: Old spare parts to give away - anyone interested :?:

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#22 Post by steve_s »

T_Hobbit wrote:One inside the other? Are you talking about unpacker?
Yep; very easy to do in Linux, needlessly complicated in Windows. Right now all this one does is unpack everything. Very small, nothing else installed.

To do that it would be having one thing unpacked, run it, have it unpack the iso, copy the files to a temp folder then have those added to the flash drive. At least one other program in there to get that done, probably a couple.

The problem at first glance that I see: unpacking an iso in Window's isn't standard fare. Sure, I have programs that will do that but I haven't looked at one that can be used within this exe to unpack what you want, then have it all copied to a temp file. And writing code for this is going to jack up the size, yeah? Again, easy to unpack in Linux, not so much in Windows.

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#23 Post by Sylvander »

1. Downloaded the zip file for the WakePup2 floppy.

2. Unzipped the exe file.

3. Used the exe file to write the files to a blank formatted floppy.

4. Rebooted the PC with that WakePup2=(b) floppy in the drive.

5. It was reported that the floppy was not a bootable disk.

6. Compared the contents of my original WakePup2=(a) floppy with the new WakePup2=(b) floppy.
On (a) as compared to (b):
There were LOTS more files, and also 2 folders that were not on (b).
The drivers folder had a long list of files inside numerous sub-folders.
See the screenshots below of the contents of (a).
Attachments
01.jpg
(19.29 KiB) Downloaded 1212 times
02.jpg
(9.01 KiB) Downloaded 1310 times

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#24 Post by steve_s »

Sylvander: wow! I missed that one, huh? :shock:

So, when you put the stuff on your floppy disk, how are you doing it and where are you getting your information from? Knowing that I can do what I did before and get all the necessary files and put them into the exe file...

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#25 Post by Sylvander »

1. "when you put the stuff on your floppy disk, how are you doing it"
To make the original WakePup2=(a), I had:

a. Used "Menu->System->Format Floppy Disk" to format the floppy.

b. With wakepup2-20070910 installed:
I then ran "Menu->Setup->WakePup" and supplied the formatted floppy.

2. "where are you getting your information from?"
(a) What information do you mean?
Why/how to make a WakePup2 floppy?
This thread chronicles my Puppy learning/discoveries.
See at the bottom of post #1 where I say that this Wikipedia page [looks like it has been updated since then, but the portion quoted is still there] said that Puppy can boot from a ""floppy boot disk that loads the rest of the operating system from a USB drive"."
I was advised in post #2 to go here for instructions.

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#26 Post by steve_s »

Sylvander wrote:1. "when you put the stuff on your floppy disk, how are you doing it"
To make the original WakePup2=(a), I had:

a. Used "Menu->System->Format Floppy Disk" to format the floppy.

b. With wakepup2-20070910 installed:
I then ran "Menu->Setup->WakePup" and supplied the formatted floppy.

2. "where are you getting your information from?"
(a) What information do you mean?
Why/how to make a WakePup2 floppy?
This thread chronicles my Puppy learning/discoveries.
See at the bottom of post #1 where I say that this Wikipedia page [looks like it has been updated since then, but the portion quoted is still there] said that Puppy can boot from a ""floppy boot disk that loads the rest of the operating system from a USB drive"."
I was advised in post #2 to go here for instructions.
Ok...I'll check it out. I'm having to do all of this from Windows so I may have to go back and forth...I'll post back....

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#27 Post by steve_s »

:D Ok, sylvander (and whomever else wants to try it): here is wakepup2 on an exe file.

I went a different route this last time: booted to puppy, installed and ran wakepup2 on a floppy, rebooted to windows, made the exe file from the files on the floppy.

Test run put it on the floppy great but I need you, sylvander, to test it again just like you did last time and give us the results. :D

**CANCEL THAT: it didn't add all the folders i wanted to it...hm....will have to try it again....

TomRhymer
Posts: 95
Joined: Fri 18 Sep 2009, 05:06

#28 Post by TomRhymer »

T_Hobbit wrote:I mean... instead of putting the ISO inside the exe, you may create a more flexible exe, that can use any Puppy available.
Can you make an exe that ask the location of the ISO? The rest is the some, but using the ISO you just "locate"...
Unetbootin does this, I have used it with several different pups and puplets with any trouble.

http://unetbootin.sourceforge.net/

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#29 Post by steve_s »

TomRhymer wrote:
T_Hobbit wrote:I mean... instead of putting the ISO inside the exe, you may create a more flexible exe, that can use any Puppy available.
Can you make an exe that ask the location of the ISO? The rest is the some, but using the ISO you just "locate"...
Unetbootin does this, I have used it with several different pups and puplets with any trouble.

http://unetbootin.sourceforge.net/
Thanks, Tom, I'll check it out just for that purpose...

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#30 Post by steve_s »

Wakepup2 exe file:

Ok, sylvander and anyone else, let's try this again. I got the right files this time and folders. The last method I used had issues with folders and wouldn't put the whole file path...anyway, here is the latest exe for WakePup2. All my previous comments about WakePup2 and it's creation/creator still apply. :D

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#31 Post by Sylvander »

1. Used wakepup2.exe to write the new fileset to the same floppy.

(a) When I had formatted the floppy in Windows...
When I booted it, the following error was displayed:
NTLDR is missing
Press any key to Restart


(b) When I had formatted the floppy in BoxPup...
When I booted it, an error beginning with the following was displayed:
This is not a bootable disk

User avatar
WB7ODYFred
Posts: 169
Joined: Sun 14 Dec 2008, 02:15
Location: Oregon & Washington

Left a link to this topic at http://www.portableapps.com

#32 Post by WB7ODYFred »

http://portableapps.com/node/17855 Here at this forum a left a link to your discussion here. Sylvander, thanks for your testing efforts. I really hope you do get a single .EXE file to download that will install to a USB FLash disk and write a correct boot floppy, too.

This will make building a bootable USB Flash Disk while operating under WINDOWS a no-brainer!

When it all works properly, POST a follow up link to the portableapps.com web under the forum topic

For people who want linux http://portableapps.com/node/17855

Keep up the work and the testing!

WB7ODYFred

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

Re: Left a link to this topic at http://www.portableapps.com

#33 Post by steve_s »

WB7ODYFred wrote:http://portableapps.com/node/17855 Here at this forum a left a link to your discussion here. Sylvander, thanks for your testing efforts. I really hope you do get a single .EXE file to download that will install to a USB FLash disk and write a correct boot floppy, too.

This will make building a bootable USB Flash Disk while operating under WINDOWS a no-brainer!

When it all works properly, POST a follow up link to the portableapps.com web under the forum topic

For people who want linux http://portableapps.com/node/17855
Thanks! So far the exe that does the usb flash should work fine for computers that can boot directly to usb.

As far as the exe that is needed for wakepup, it needs help: we are missing a file. I can't figure out what it is, at least not using Windows.

In other words, there is a hidden file or a file missing in the exe to make it bootable and I don't know what it is.

Anyone have ideas? :? I can't check it again until later today or tomorrow...we gotta figure out what it is before I redo the exe to get it going...love Windows and those hidden files... :wink:
Keep up the work and the testing!
Last edited by steve_s on Mon 23 Nov 2009, 02:37, edited 1 time in total.

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#34 Post by Sylvander »

1. "we are missing a file. I can't figure out what it is"
The only file in the root of my WakePup2=(a) that isn't included in the root of WakePup2=(b) is...
autoexec.bat

I have given a copy of that file a zip extension [which extensions are allowed?] and attached it below.
Just download it and change the extension back to bat.
Attachments
autoexec.zip
(20.67 KiB) Downloaded 506 times

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#35 Post by steve_s »

Sylvander, good catch, but that wasn't enough.

I realized that, just like copying the resulting contents of an iso image is not the same as reading a disk that has a burned iso image on it is, so it is with a floppy disk image.

So I ran a program that converted a floppy disk directly to an exe.

In Windows

Extract this WAKEPUP2.EXE from the zip file I've attached to the base folder in your system. By base folder I just mean the default folder that comes up when you run Start>Run and type in "cmd" (without the quotes of course).

So, if I type in cmd I might get a command prompt that pops up and defaults to:

Code: Select all

C:\Documents and Settings\Steve S>
If I saved WAKEPUP2.EXE to this directory, when I run dir from that prompt, WAKEPUP2.EXE will be listed.

To copy the image of wakepup2 to a new, already formatted floppy disk that is ready to go and inserted in the A: drive, I type this command at that Window's prompt:

Code: Select all

WAKEPUP2.EXE A:
I've tried this, it copies the image like a champ and I've booted to the new floppy and wakepup boots up as intended.

PLEASE TEST though. I hope my instructions are clear enough. Tell me how it goes. 8)

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#36 Post by Sylvander »

1. The latest wakepup2=(b) works! :D

2. METHOD:
Because this is designed to be used by Windows users...
I did [almost] all of the work in Windows.
(a) Downloaded the zip file whilst working in BoxPup.
Saved the file to a handy location outside of the BoxPup file system.
i.e. Put it in sda6/00 [E:\00].

(b) Rebooted into Win2000Pro, unzipped the wakepup2.zip file.

(c) PROBLEM1!
Along with the wakepup2.exe file were 3 unneeded/empty/random folders.
I scanned E:\00 for trojans and infection, and none was found, so I erased the 3 folders [using Eraser].

(d) Opened wakepup2.exe, and it wrote the image to the [previously reformatted (in BoxPup)] floppy disk.

(e) Rebooted the PC [with the wakepup2 floppy in the drive], and it booted just fine and loaded the Puppy from the Flash Drive.

(f) PROBLEM2!
The Puppy wasn't loading any of the configurations previously made!
And when I shut it down it reported that nothing was being saved!
I wouldn't [except for very exceptional purposes] work with any Puppy that didn't/couldn't save configurations and/or new package installations.

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#37 Post by steve_s »

Slyvander: first of all, thank you very much for giving all my crazy efforts a run. This can't be figured out without someone else testing it.

Problem 1 response: yeah, I made it in Windows, so invariably it adds weird other files. That's why I said just extract the exe file and didn't say anything about the rest; it's not needed.

I am thinking about taking that exe and seeing about putting it into another exe so that it can be loaded via a double click; don't know if that will work, but needed this part tested first. Now that it works, I'll look at the next step.

As far as whether or not Puppy is saving, did it load any kind of save file? Have we produced a save file with this version? We may need to look back to the original thread with T_Hobbit's comments and see if there were issues with this version creating a save file..if that isn't loaded we may have to track down the issues this version of Puppy on the usb drive is creating regarding the save file... :?

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#38 Post by Sylvander »

1. I went into Windows and zipped up a copy of the wakepup2.exe file [with the 3 extra folders not included], to make wakepup2.zip, a copy of which is attached below.

2. I then extracted the wakepup2.exe file from the above wakepup2.zip file [the 3 extra folders were of course not present] and used it to write the image to the reformatted floppy, and booted that floppy.
PROBLEM3?
Yet again, at 1st boot of the newly made wakepup2 floppy...
The boot halted just prior to loading the files from the USB Flash Drive.
The 2nd attempt yet again proceeded normally to load the files.

User avatar
T_Hobbit
Posts: 400
Joined: Sat 27 May 2006, 10:50
Location: Portugal - Lisbon

#39 Post by T_Hobbit »

steve_s wrote: As far as whether or not Puppy is saving, did it load any kind of save file? Have we produced a save file with this version? We may need to look back to the original thread with T_Hobbit's comments and see if there were issues with this version creating a save file..if that isn't loaded we may have to track down the issues this version of Puppy on the usb drive is creating regarding the save file... :?
I can't help with wakepup 'cos I don't have a working computer with floppy drive... But I made a Puppy USB drive and it asked if I want to save a pup_save... I always boot Puppy this way with no problems!
Which FAT you have? More than 1 partition?
In a couple of hours I can try it as soon as I get home!
T_Hobbit
:idea: Rebuilding old DOS Machine for Wing Commander Privateer and Puppy :!: Old spare parts to give away - anyone interested :?:

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#40 Post by Sylvander »

1. "Which FAT you have? More than 1 partition?"
FAT32, single partition filling the 1GB Flash Drive.
No pupsave being made [opportunity not offered], so not found at boot.
See screenshots below.
Attachments
00.jpg
(21.63 KiB) Downloaded 566 times
01.jpg
(32.07 KiB) Downloaded 1310 times

Post Reply