Jump to content

Mars Installer 1.5 - automatic software installation


Marsianin

Recommended Posts


?So mars installer should find this file at my windows cd and sets the drive letter from this cd to mars installer. is that right?

Exactly!

But you cannot put a folder here (if you making a bootable Windows CD/DVD - you always need to have marker files at the root of the CD, so FindCD=win51ip.SP2 is good)

Link to comment
Share on other sites

Hi,

first, thank you for your great software!

I'm trying to silent install opera, maybe there are problems with quotes?

SOLVED WITH SINGLE QUOT SORRY

this works:

Run1="%FOLDER%\Opera_9.24_International_Setup.exe" /S

this will NOT:

Run1="%FOLDER%\Opera_9.24_International_Setup.exe" /S /V"CREATE_DESKTOP_ICON=0 CREATE_QUICKLAUNCH_ICON=1 CREATE_STARTMENU_ICONS=1 ALLUSERS=1 /qn"

LOG (note missing " after /qn):

Mars Installer 1.3 log file.

Installation started on 05/12/2007 7.46.25

%BDRV%=C:

%CDROM%=D:

%ROOT%=C:\Documents and Settings\Administrator\Desktop\Software

------------------------------------------------------------------------------

[1] Opera 9.24

------------------------------------------------------------------------------

Run1=C:\Documents and Settings\Administrator\Desktop\Software\Internet\Opera 9.24\Opera_9.24_International_Setup.exe" /S /V"CREATE_DESKTOP_ICON=0 CREATE_QUICKLAUNCH_ICON=1 CREATE_STARTMENU_ICONS=1 ALLUSERS=1 /qn

The system cannot find the file specified

------------------------------------------------------------------------------

Installation finished on 05/12/2007 7.46.25

www.mars-soft.net

Edited by Gremo
Link to comment
Share on other sites

Incorrect:

Run1="%FOLDER%\Opera_9.24_International_Setup.exe" /S /V"CREATE_DESKTOP_ICON=0 CREATE_QUICKLAUNCH_ICON=1 CREATE_STARTMENU_ICONS=1 ALLUSERS=1 /qn"

Correct:

Run1='"%FOLDER%\Opera_9.24_International_Setup.exe" /S /V"CREATE_DESKTOP_ICON=0 CREATE_QUICKLAUNCH_ICON=1 CREATE_STARTMENU_ICONS=1 ALLUSERS=1 /qn"'

Link to comment
Share on other sites

thank you again, i solved on minute after posting that! (i also edited that post)...

btw, here are my suggested little improvements:

1) add the possibility to define variables into programs sections (variable for username, regkey, etv...)

2) myabe a more usefull progress bar? i think you can create it based on Run1, Run2, Run3, etc... steps, displaying current step graphically (or maybe current steps done (sum of all...) / total steps...)

3) a switch to remove automatic exit after xxx seconds

4) more important, some shortcuts to run custom commands used often:

e.g. DelStartupVal (val) delete a startup value in registry

DelDeskShortcut (name) delete a desktop shortuct (short of cmd /c del /f /q %DESKTOP%/(name)

this will make ini file more easier to read.

also notice that cmd /c reg DELETE key doesn't work here for access denied error

bye!

Link to comment
Share on other sites

  • 2 weeks later...

1. I will think about it.

2. Usually only one Run command from a couple is an installer and works much longer then others. So it's really impossible to make a correct progress bar here.

3. Explain please. Do you want to stop auto restart counter when it counts?

4. Why not just copy/paste your commands while editing marsinst.ini?

also notice that cmd /c reg DELETE key doesn't work here for access denied error

What you mean? Everything works fine for me until you're with administrator privileges.

Link to comment
Share on other sites

  • 5 months later...

Hello there!

The new version is available - 1.4

What's new:

[+] Now it's possible to create a different radio buttons groups (Radio=2, Radio=8)

[+] Program info URL icon will be shown for each program if "URL=" is set

[+] Status bar shows total available programs to install (includes hidden programs too)

[+] Now it's possible to set alternate marsinst.log file location from ini file (LogPath)

[+] Windows temp directory shortcut - %TEMP%

[*] High CPU usage while installing an application fixed

[*] Some other bug fixes and improvements

Link to comment
Share on other sites

  • 7 months later...

Please explane me anybody how do i run marsinstaller from SVCPACK?

i know, all my installers must be in the same directory with MARSINST.EXE , MARSINST.INI and all silent installers.

So, i replaced them all in the directory MYCD -> i386\SVCPACK .

maybe i did something wrong with information MARSINST.INI...

Somebody know about it?

Edited by minutka15
Link to comment
Share on other sites

  • 4 weeks later...

minutka15 just try to read all comments included in marsinst.ini file. Replied to your PM, there were a lot of errors in your configuration.

And this is not true, your installers can by anywhere:

...all my installers must be in the same directory with MARSINST.EXE...
Link to comment
Share on other sites

  • 5 months later...

Hi Marsianin first of all I would like to thank you for such a great piece of software.

Secondly I would like to ask is there some possibility to see some kind of converter in next release of MarsInstaller (for example to convert RunOnceEx.cmd files to marsinst.ini)?

:thumbup

Link to comment
Share on other sites

  • 1 year later...

A new version of Mars Installer has been released - 1.5

Direct download link


[+] LockDesktop switch added which makes desktop grayed and locked while installer is running
[+] Support for wallpapers with Wallpaper=image.jpg (LockDesktop must be enabled)
[+] IfNotExists=C:\file.exe parameter continues current installation only if this file does not exists
[+] Spanish localization (marsinst.ini)
[*] Some improvements and bugfixes

Link to comment
Share on other sites

  • 2 weeks later...

My Example:

Root=%CDROM%\SOFTWARE
FindCD=XP32\DISK101

[Category1]
Name1=INTERNET
Icon=10

[1]
Name=Mozilla 3.6 + FlashPlug
Category=1
Run1="%BPATH%Category1\Firefox3.6.exe"
Run2=cmd /c del /f /q "%QUICKLAUNCH%\Mozilla Firefox.lnk"

[2]
Name=Google Chrome 4.1
Category=1
Run1="%BPATH%Category1\GChrome.exe"
Run2="Taskkill /F /IM chrome.exe"

[3]
Name=Ares 2.1.7.3039
Category=1
Run1="%BPATH%Category1\ares217.exe" /S
Run2="Taskkill /F /IM Ares.exe"
Run3=REG ADD HKCU\SOFTWARE\Ares /v General.AutoStartUp /t REG_DWORD /d 00000000 /f
;Run4=REG DELETE HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v Ares /f

Bye!!!!

Edited by Javo28
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...