topic title: Installer
Posts: 8
Marcolinuxx
Joined: 07 May 2017
#1
I'd like to create a ISO-snapshot with the graphic installer.

In my system there is already antix-installer package; I tried to copy the launcher from live desktop to my desktop folder before making the snapshot , but it doesn't work.

Can you help me?

Thank you.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#2
"copy the launcher from live desktop to my desktop folder" should be unnecessary.
Without copying any launcher(s), whatever icons were on your desktop when the snapshot image was created
those same launchers should be present on desktop when you boot the created snapshot.

Bear in mind: at login, unless you choose a"+rox" or"+spacefm" session, zero icons will be shown on the desktop.
Posts: 8
Marcolinuxx
Joined: 07 May 2017
#3
Yes, that's OK. This is why I need to have on my desktop a working icon for the installer, so it will be carry in the iso-snapshot.
In the file of the icon I can read the following:

Exec=sudo antixsources.sh
Icon=msystem
Terminal=false
Type=Application
Categories=Settings;
NoDisplay=True

Trying to type in a terminal the command"sudo antixsources.sh" in your original live distro starts the graphical installer.
The same operation in my snapshot do nothing:"command not found".
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#4
Trying to type in a terminal the command"sudo antixsources.sh" in your original live distro starts the graphical installer.
The same operation in my snapshot do nothing:"command not found".
Hmm, it's working ok on my system
and the desktop icon is present. I'm livebooting a snapshotted antiX16.

What version of antiX are you using?
Are your installed packages up-to-date?
On your system, is the"Install antiX" desktop menu entry missing, or just the desktop icon?
The system you snapshotted, was it a liveUSB, or had it been installed to hard drive?
Posts: 8
Marcolinuxx
Joined: 07 May 2017
#5
I am using AntiX 16.1 386 full, and obviously all the updates.
The menu entry install is missing at all.
The snapshot is a live usb, that can be installed only by cli-installer. But I'd like to use the graphical installer, for people who don't know Linux.

I posted my version of antiX in italian language on this site:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.istitutomajorana.it/forum2/Thread-Una-distro-da-provare-AntiX"
linktext was:"http://www.istitutomajorana.it/forum2/T ... vare-AntiX"
====================================
Posts: 850
fatmac
Joined: 26 Jul 2012
#6
Not sure if this will help, but I can start the installer by typing

Code: Select all

sudo antixsources.sh
in a terminal, & it starts up on my installed system.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#7
I asked:
"The system you snapshotted, was it a liveUSB, or had it been installed to hard drive?"

You replied:
"The snapshot is a live usb,"

Please you rephrase your reply to clarify whether the system (the snapshot source) had previously been installed to hard drive.

In any event, the content of your .desktop file looks correct.
Where did you place the .desktop file you created? /usr/share/applications/ ? ~/.local/share/applications/ ?
When the install launcher is missing from desktop, are any other launchers displayed? (or zero launchers are displayed) ?



hypothesis:

The topic at hand is the result of a"bug".

If the system has already been installed to hard drive, the snapshot tool reinstalls"antix-installer" and/or"installed-to-live" ...
but nothing recreates the minstall.desktop file (which the installer would have previously removed).
Posts: 8
Marcolinuxx
Joined: 07 May 2017
#8
The system was installed to hard drive. The ISO-snapshot application makes a snapshot of an INSTALLED system, isn't it?

The file antixsources.desktop is placed in /home/marco/desktop folder, but it doesn't work because il calls a program, antixsources.sh, not present in my snapshot.

On my desktop i can see these launchers: help, file manager and - added by me - a symlink to /media folder.
I am using space-icewm as windows manager.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#9
Yes, the snapshot application can make a snapshot of an INSTALLED system.
is placed in /home/marco/desktop folder, but it doesn't work because
The desktop manager (rox or spacefm) probably will not detect a custom .desktop file residing at top level of home directory.
It reads from the directory: ~./local/share/applications/
The menu entry install is missing at all.
Language barrier. Please rephrase that statement.
The menu entry labeled"install" is missing?
The menu entry labeled"install" is not missing?

I'm seeking clarity here because if BOTH (menu launcher AND desktop launcher) are missing...
possibly a network connection was not available when the snapshot operation was performed, and

Code: Select all

 
https://github.com/antiX-Linux/iso-snapshot/blob/master/isosnapshot.cpp#L391

void isosnapshot::setupEnv()
{
. . .
   // install antix-installer if absent
    if (!checkInstalled("antix-installer")) {
        runCmd("apt-get update");
        if (!checkInstalled("antix-installer")) {
            runCmd("apt-get install antix-installer");
        }
    }
and, indeed, the code seems to lack error handling for that case.[/color]

antixsources.sh, not present in my snapshot
To be certain whether or not it is present:
sudo updatedb && sudo locate antixsources
What is the result?
Posts: 8
Marcolinuxx
Joined: 07 May 2017
#10
I did some tests, some other screenshots with network connection, but the result is always the same.

The menu entry labeled install is missing.

The result of
sudo updatedb && sudo locate antixsources
is... no result.
Posts: 521
Shay
Joined: 20 Apr 2015
#11
What I get.

Code: Select all

$ sudo updatedb && sudo locate antixsources
[sudo] password for jim: { I typed in the password hit enter and then the following showed up. }
/usr/local/bin/antixsources.sh
/usr/share/applications/antix/antixsources.desktop
/usr/share/locale/ca/LC_MESSAGES/antixsources.mo
/usr/share/locale/de/LC_MESSAGES/antixsources.mo
/usr/share/locale/el/LC_MESSAGES/antixsources.mo
/usr/share/locale/es/LC_MESSAGES/antixsources.mo
/usr/share/locale/fr/LC_MESSAGES/antixsources.mo
/usr/share/locale/it/LC_MESSAGES/antixsources.mo
/usr/share/locale/ja/LC_MESSAGES/antixsources.mo
/usr/share/locale/nl/LC_MESSAGES/antixsources.mo
/usr/share/locale/pl/LC_MESSAGES/antixsources.mo
/usr/share/locale/pt/LC_MESSAGES/antixsources.mo
/usr/share/locale/ru/LC_MESSAGES/antixsources.mo
/usr/share/locale/sv/LC_MESSAGES/antixsources.mo
/usr/share/locale/tr/LC_MESSAGES/antixsources.mo
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#12
While booted to the LiveUSB, (re)installing these 2 packages should enable you to perform an install:
antix-installer
cli-installer-antix

I sent a PM to Adrian, the author of the"iso-snapshot" program, asking him to investigate the"bug" you've described.