Silent Install

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
vrelits
Posts: 1
Joined: 15 Aug 2006, 14:44

Silent Install

Post by vrelits »

It is possible to make a silent install of Salamander 2.5 RC1?
User avatar
AbteriX
Posts: 94
Joined: 12 Mar 2006, 20:55
Location: Deutschland
Contact:

Re: Silent Install

Post by AbteriX »

Hi vrelits, welcome.
vrelits wrote:It is possible to make a silent install of Salamander 2.5 RC1?
At the moment not.
MSI is planed see the ALTAP Roadmap (updated 05/26/2006)
  • Optional: installation using MSI package.
And here
... , we are working on:
  • 3. MSI installer (unattended/quiet setup)
AbteriX
Damon

Silent Installation of Salamander RC 2.5

Post by Damon »

it is possible to create an unattended setup with version 2.5 rc2. maybe this is functional for older versions, havent tried it.

1. start the installation process with the ss25rc2f.exe you dowloaded from altap.cz.
2. when the welcome screen shows up, navigate to your %temp% directory and search for the extracted setup files (something like SFXxyz). Copy all files to a save location
3.cancel the salamander setup
4.navigate to the saved setup files folder. the setup.exe file accepts several commandline options, use setup.exe /? for a list
5. create a file called install.bat in the same directory and edit it. add this line to it:

setup.exe /s /d %ProgramFiles%\Salamander /id y /ig y

this installs salamander silent to the specified directory and places a desktop icon and a startmenu group.
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

Even the ss25rc2f.exe has parameters:

ss25rc2f.exe /?
---------------------------
Self-extracting archive
---------------------------
Usage: install [/?] [/t tmp_path] [/x parameters]

[x] means that parameter x is optional.

/? -- Generates this Usage message.
/t -- Specifies a temporary directory for this self extractor.
/x -- Remaining parameters will be passed to executed installer.
---------------------------
OK
---------------------------

ss25rc2f.exe /x /?
---------------------------
Setup
---------------------------
Usage:
SETUP [/?] [/s] [/d dest_dir] [/id <y,n>] [/is <y,n>] [/ig <y,n>] [/iq <y,n>] [/au <y,n>]

[x] means that parameter x is optional.
<y,n> means that parameter y or n is required.

/? -- Generates this Usage message.
/s -- Silent unattended install.
/d -- Destination directory.
/id -- Install Desktop Icon.
/is -- Install Start Menu Icon.
/ig -- Install Start Menu Group.
/iq -- Install Quick Launch Icon.
/au -- All users common folders.
---------------------------
OK
---------------------------
User avatar
SelfMan
Posts: 1144
Joined: 05 Apr 2006, 20:51
Contact:

Post by SelfMan »

Jan Rysavy wrote:Even the ss25rc2f.exe has parameters:

ss25rc2f.exe /?
---------------------------
Self-extracting archive
---------------------------
Usage: install [/?] [/t tmp_path] [/x parameters]

[x] means that parameter x is optional.

/? -- Generates this Usage message.
/t -- Specifies a temporary directory for this self extractor.
/x -- Remaining parameters will be passed to executed installer.
---------------------------
OK
---------------------------

ss25rc2f.exe /x /?
---------------------------
Setup
---------------------------
Usage:
SETUP [/?] [/s] [/d dest_dir] [/id <y,n>] [/is <y,n>] [/ig <y,n>] [/iq <y,n>] [/au <y,n>]

[x] means that parameter x is optional.
<y,n> means that parameter y or n is required.

/? -- Generates this Usage message.
/s -- Silent unattended install.
/d -- Destination directory.
/id -- Install Desktop Icon.
/is -- Install Start Menu Icon.
/ig -- Install Start Menu Group.
/iq -- Install Quick Launch Icon.
/au -- All users common folders.
---------------------------
OK
---------------------------
Tis is a VERY nice one to have!
Q

Registration key

Post by Q »

Is it possible to pass registration key during silent install?
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Registration key

Post by Jan Rysavy »

Q wrote:Is it possible to pass registration key during silent install?
We plan it (not supported now).
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Post by Jan Patera »

Jan Rysavy wrote:Even the ss25rc2f.exe has parameters:
ss25rc2f.exe /?
ss25rc2f.exe /x /?
Wow! Is it documented anywhere? I don't see it in the program help. This would certainly help at least some of the people asking for MSI or otherwise unattended install....
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

Jan Patera wrote:Wow! Is it documented anywhere?
No.
plcdave
Posts: 5
Joined: 18 Jul 2008, 22:43

Post by plcdave »

I am trying to slipstream Salamander with my XP SP3 install CD. I regularly reinstall Windows on VMWare to test other software. I would be great if Salamander was already installed when XP setup completes.

I am using nLite to attempt the integration. I created a ProgramAddons .cab using the following MAKECAB DDF file:

Code: Select all

;ProgramAddons Salamander 2.51-2
;
;Resulting CAB file content:
;   ENTRIES_Salamander.INI
;   svcpack\as251f.exe
;   svcpack\keys25.zip
;
.set rptfilename=nul
.set inffilename=nul
.set maxdisksize=cdrom

.set    sourcedir="ProgramAddons Salamander 2.51-2"
.set cabinetname1="ProgramAddons Salamander 2.51.cab"
.set diskdirectory1=.

entries_Salamander.ini

svcpack\as251f.exe svcpack\as251f.exe
svcpack\keys25.zip svcpack\keys25.zip
entries_Salamander.ini contains the following statements:

Code: Select all

[general]
builddate=07/18/2008
description=Altap Salamander
language=English
version=2.51
website=http://www.altap.cz

[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram

[AddProgram]
as251f.exe /x /s
I have tried expanding as251f.exe and creating a CAB with the expanded files and still get the same result - SETUP starts and presents the help screen showing the list of available options then exists when OK is pressed.

I'm hoping someone else can shed some light. Let me know if more information is required.

Thanks,

Dave
plcdave
Posts: 5
Joined: 18 Jul 2008, 22:43

Post by plcdave »

Solved the problem. The above works fine so long as you don't try to slipstream it twice. When using nLite, be sure to remove the addon from the list of addons whem re-running nLite on the install. Once the addon has been added, it is part of the XP installation and does not need to be added again. Only re-add the addon if using nLite on an installation that does not already have Salamander slipstreamed.

Dave
plcdave
Posts: 5
Joined: 18 Jul 2008, 22:43

Post by plcdave »

Here is the polished nLite ProgramsAddons Salamander 2.51f.cab add-on source:

In a directory place the following files:
  • - as251f.exe
    - keys.zip
    - makecab.ddf (see below)
    - entries_salamander.ini (see below)
From the command prompt execute the following command:
  • make /f makecab.ddf
Use nLite to add the resulting CAB file as an addon to your XP setup CD.

Dave.

entries_salamander.ini

Code: Select all

[general]
builddate=07/18/2008
description=Altap Salamander
language=English
version=2.51
website=http://www.altap.cz

[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram

[AddProgram]
as251f.exe /x /s
makecab.ddf

Code: Select all

.set rptfilename=nul
.set inffilename=nul
.set maxdisksize=cdrom

.set    sourcedir=.
.set cabinetname1="ProgramAddons Salamander 2.51f.cab"
.set diskdirectory1=.

.set destinationdir=
entries_salamander.ini

.set destinationdir=svcpack
as251f.exe
keys25.zip
Post Reply