Page 1 of 1

Sorted problem

Posted: Fri Jan 22, 2010 8:23 am
by Enigmatic
Hi, im created marsist.ini but i have some problems. I'm sorted all programs installation sequence but mars installer installed from top to bottom. Example;

Code: Select all

[1]
Name=Winrar 3.91 Türkçe
Desc1=En iyi sıkıştırma yöneticisi
Desc2=Best of windows archiver
URL=http://www.rarlab.com
Category=3
Folder=%ROOTC%\winrar
Default=1
;Visible=1
;Enabled=0
Icon=2
Run1="%FOLDER%\wrar391tr.exe" /S
Run2=regedit /s "%FOLDER%\settings.reg"

[22]
Name=İnternet Explorer 7
Desc1=İnternet Explorer 7
URL=http://www.microsoft.com/turkiye/windows/internet-explorer/
Category=1
Folder=%ROOTC%\ie7
Default=1
Icon=10
Run1=%FOLDER%\IE7-WindowsXP-x86-trk.exe /passive /norestart


Its simple code, i want firstly install winrar and after ie7 but ie7 installed firstly, because ie7 category number bigger than winrar category number, i want install according to the program number sorted, not according to the category.

Or you can add optional parameter for [OPTIONS],

Code: Select all

Sorting=1                            ;1= According to the category 2=According to the program
Because, install sorting very importing for me. Thanks for Mars Installer. Its best software for Windows OS Unattended install..

Re: Sorted problem

Posted: Fri Jan 22, 2010 9:02 pm
by Marsianin
Yes, it installs them one-by-one as they appear in the list (runtime in tree)

Re: Sorted problem

Posted: Sat Jan 23, 2010 8:14 am
by Enigmatic
Marsianin wrote:Yes, it installs them one-by-one as they appear in the list (runtime in tree)

How can i do install programs according to the sequence number, not according to category number ?

Re: Sorted problem

Posted: Mon Jan 25, 2010 12:55 am
by Marsianin
You can try to move categories.
For example rename Category5 to Category1 (but don't forget to change category number in it's items) and everything from Category5 will be installed first.

Re: Sorted problem

Posted: Wed Jan 27, 2010 1:39 pm
by Enigmatic
This is a temporary method, I also must be sorted according to the setup programs, like this;

Code: Select all

[Category1]
Name1=Windows
Name2=Windows
Root=%ROOT%\Windows\
Checkbox=1
Icon=22

[Category2]
Name1=Sistem
Name2=System
Root=%ROOT%\System\
Checkbox=1
Icon=18


[1]
Name=Winrar 3.91 Türkçe
Desc1=En iyi sıkıştırma yöneticisi
Desc2=Best of windows archiver
URL=http://www.rarlab.com
Category=2
Folder=%ROOTC%\winrar
Default=1
;Visible=1
;Enabled=0
Icon=2
Run1="%FOLDER%\wrar391tr.exe" /S
Run2=regedit /s "%FOLDER%\settings.reg"

[2]
Name=Windows Media Player 11 Türkçe
Desc1=Windows Media Player 11 Türkçe
URL=http://www.microsoft.com
Category=1
Folder=%ROOTC%\wmp11
Default=1
Icon=10
Run1=%FOLDER%\wmp11-windowsxp-x86-TR-TR.exe /Q

[3]
Name=K-Lite Mega Codec Pack 5.10
Desc1=En çok kullanılan codec paketi ve Media Player Classic Türkçe
URL=http://www.codecguide.com
Category=2
Folder=%ROOTC%\kazaa
Default=1
Icon=21
Run1=%FOLDER%\K-LiteCodecPack510Mega.exe /verysilent /norestart /LoadInf=".\klmcp.ini"
Run2=%FOLDER%\patch.exe /s
Run3=regedit /s %FOLDER%\settings.reg

[4]
Name=Live Messenger 8.5
Desc1=Güncelleme istemeyen versiyon
URL=http://www.microsoft.com
Category=1
Folder=%ROOTC%\msn8.5
Default=0
Icon=10
Run1=msiexec.exe /i "%FOLDER%\Install_{301CC261-0ECA-448D-8F21-A9D474AB40B4}.msi" /qn
Run2=%FOLDER%\patch.exe /s
Run3=regedit /s %FOLDER%\settings.reg

Like this... I want to programs to be installed according to their order, not in order of category...

Maybe you can add a new parameter for options like this.

Code: Select all

Sorting=1                            ;1= According to the category 2=According to the program
Thanks regards..

Re: Sorted problem

Posted: Wed Jan 27, 2010 2:13 pm
by Marsianin
Actually what is the difference on what installs first?
If you have some dependent installators (like you have to install .NET Framework first for some programs) you can use Depends=X

I'm thinking about creating GUI program for configurations so it will be much easier to move programs.
But don't ask me when... I don't have much time for it :?

Re: Sorted problem

Posted: Sun May 27, 2012 4:12 pm
by Droppo
A gui program for configs would be great. I have been using it for some time now and works great! A couple of new features would be great also.

Re: Sorted problem

Posted: Thu Jun 14, 2012 3:45 am
by Marsianin
It seems there is not much users and I don't have enough time for it.
Maybe I will add some new features sometime... And what new features?

Re: Sorted problem

Posted: Wed Jun 20, 2012 9:50 pm
by Droppo
well about new features, somekind of skins support, maybe autoit integration, not a feature exactly, but a progress bar, so you don't have to check the HDD activity led to know it it's really moving when a long program install is running.

Well I guess that would be all for now...

Thnxs for this great tool!

Re: Sorted problem

Posted: Sat Jun 23, 2012 3:37 am
by Marsianin
Actually I never used AutoIt but I can check if it's possible to get it's progress.
Anyway if it's possible - it will not be accurate.

Re: Sorted problem

Posted: Sat Jun 23, 2012 7:38 am
by Droppo
Found something else that could be added... could you make it to disable DEP before starting soft installation?, coz if it's enabled, sometimes you get a message asking if you're sure about running that program coz it's not signed.

Droppo.-

Re: Sorted problem

Posted: Sat Jun 23, 2012 2:11 pm
by Marsianin
By default DEP is on for essential Windows programs and services so it must not affect another programs.
Sometimes some old programs or compilers that did not support DEP may fire such errors.
Disablig DEP is not a solution. Much better is to search for an updated versions of the software you're installing.
And if you wish to disable DEP you should do it on Windows installation. Search www.msfn.org for information...

Re: Sorted problem

Posted: Mon Jun 25, 2012 7:37 am
by Droppo
Another thing that I could suggest you, is to add the possibility to use wait times between RUN1, RUN2, etc and different programs installations to give a chance to finish it on programs that fires another process and keeps going on while the main installation already ended which leads to RUN2 to fail.

I saw the option for wait time, but to close the program, maybe something like that but to use it between installations.

And about DEP, I found a way out so shouldn't be a problem anymore...

Droppo.-

Re: Sorted problem

Posted: Mon Jun 25, 2012 5:39 pm
by Marsianin
Somebody suggested to add a wait option before run command.

I'm going to implement it as

Code: Select all

Run2=|wait=30|%CDROM%\SomeProgram\SomeInstaller.exe
This code will wait 30 secs before running SomeInstaller.exe

Re: Sorted problem

Posted: Mon Jun 25, 2012 6:38 pm
by Droppo
Great! I think the syntax is quite good and easy to remember. BTW, Maybe you should post this tool and wait for feedbacks on Member contributed projects on msfn site wich is all about slipstreaming and silent batch installing software.
http://www.msfn.org/board/forum/102-mem ... -projects/

there is huge comunity about it and they are really good on feedbacks

Cheers!

Droppo.-

Re: Sorted problem

Posted: Wed Jun 27, 2012 5:52 pm
by Marsianin
As I know it's a paid program. I have to pay to be on this list.

Re: Sorted problem

Posted: Fri Jun 29, 2012 7:31 am
by Droppo
Well I didn't knew was a paid thing... never heard or read anyting about paying for being there, but if that's the sittuation, then forget it, not worth it... thnxs for this great piece of software

Re: Sorted problem

Posted: Sat Jun 30, 2012 2:16 pm
by Marsianin
My post is there...somewhere... I asked admin to pin it once and nothing... :retard: