Mars Software Forum

forum.mars-soft.net

Sorted problem

Everything about Mars Installer

Sorted problem

Unread postby Enigmatic » Fri Jan 22, 2010 8:23 am

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..
Enigmatic
Newbie
Newbie
 
Posts: 3
Joined: Fri Jan 22, 2010 7:58 am

Re: Sorted problem

Unread postby Marsianin » Fri Jan 22, 2010 9:02 pm

Yes, it installs them one-by-one as they appear in the list (runtime in tree)
Is there any life on Mars ?
User avatar
Marsianin
Administrator
Administrator
 
Posts: 1541
Joined: Tue Jan 25, 2005 3:02 am
Location: Planet Mars

Re: Sorted problem

Unread postby Enigmatic » Sat Jan 23, 2010 8:14 am

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 ?
Enigmatic
Newbie
Newbie
 
Posts: 3
Joined: Fri Jan 22, 2010 7:58 am

Re: Sorted problem

Unread postby Marsianin » Mon Jan 25, 2010 12:55 am

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.
Is there any life on Mars ?
User avatar
Marsianin
Administrator
Administrator
 
Posts: 1541
Joined: Tue Jan 25, 2005 3:02 am
Location: Planet Mars

Re: Sorted problem

Unread postby Enigmatic » Wed Jan 27, 2010 1:39 pm

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..
Enigmatic
Newbie
Newbie
 
Posts: 3
Joined: Fri Jan 22, 2010 7:58 am

Re: Sorted problem

Unread postby Marsianin » Wed Jan 27, 2010 2:13 pm

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 :?
Is there any life on Mars ?
User avatar
Marsianin
Administrator
Administrator
 
Posts: 1541
Joined: Tue Jan 25, 2005 3:02 am
Location: Planet Mars

Re: Sorted problem

Unread postby Droppo » Sun May 27, 2012 4:12 pm

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.
Droppo
Newbie
Newbie
 
Posts: 9
Joined: Sun May 27, 2012 4:09 pm

Re: Sorted problem

Unread postby Marsianin » Thu Jun 14, 2012 3:45 am

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?
Is there any life on Mars ?
User avatar
Marsianin
Administrator
Administrator
 
Posts: 1541
Joined: Tue Jan 25, 2005 3:02 am
Location: Planet Mars

Re: Sorted problem

Unread postby Droppo » Wed Jun 20, 2012 9:50 pm

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!
Droppo
Newbie
Newbie
 
Posts: 9
Joined: Sun May 27, 2012 4:09 pm

Re: Sorted problem

Unread postby Marsianin » Sat Jun 23, 2012 3:37 am

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.
Is there any life on Mars ?
User avatar
Marsianin
Administrator
Administrator
 
Posts: 1541
Joined: Tue Jan 25, 2005 3:02 am
Location: Planet Mars

Re: Sorted problem

Unread postby Droppo » Sat Jun 23, 2012 7:38 am

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.-
Droppo
Newbie
Newbie
 
Posts: 9
Joined: Sun May 27, 2012 4:09 pm

Re: Sorted problem

Unread postby Marsianin » Sat Jun 23, 2012 2:11 pm

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...
Is there any life on Mars ?
User avatar
Marsianin
Administrator
Administrator
 
Posts: 1541
Joined: Tue Jan 25, 2005 3:02 am
Location: Planet Mars

Re: Sorted problem

Unread postby Droppo » Mon Jun 25, 2012 7:37 am

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.-
Droppo
Newbie
Newbie
 
Posts: 9
Joined: Sun May 27, 2012 4:09 pm

Re: Sorted problem

Unread postby Marsianin » Mon Jun 25, 2012 5:39 pm

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
Is there any life on Mars ?
User avatar
Marsianin
Administrator
Administrator
 
Posts: 1541
Joined: Tue Jan 25, 2005 3:02 am
Location: Planet Mars

Re: Sorted problem

Unread postby Droppo » Mon Jun 25, 2012 6:38 pm

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.-
Droppo
Newbie
Newbie
 
Posts: 9
Joined: Sun May 27, 2012 4:09 pm

Re: Sorted problem

Unread postby Marsianin » Wed Jun 27, 2012 5:52 pm

As I know it's a paid program. I have to pay to be on this list.
Is there any life on Mars ?
User avatar
Marsianin
Administrator
Administrator
 
Posts: 1541
Joined: Tue Jan 25, 2005 3:02 am
Location: Planet Mars

Re: Sorted problem

Unread postby Droppo » Fri Jun 29, 2012 7:31 am

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
Droppo
Newbie
Newbie
 
Posts: 9
Joined: Sun May 27, 2012 4:09 pm

Re: Sorted problem

Unread postby Marsianin » Sat Jun 30, 2012 2:16 pm

My post is there...somewhere... I asked admin to pin it once and nothing... :retard:
Is there any life on Mars ?
User avatar
Marsianin
Administrator
Administrator
 
Posts: 1541
Joined: Tue Jan 25, 2005 3:02 am
Location: Planet Mars


Return to Mars Installer

Who is online

Users browsing this forum: No registered users and 1 guest