View Single Post
  #637  
Old 17-03-2019, 05:17
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Code:
Components help:

.Name=
Use custom name. 
Example: 
Component1.Name=Soundtrack
Component2.Name=Wallpapers
...

Or use languages

Valid cm:xx values: 
EN, ENGLISH
FR, FRENCH
DE, GERMAN
IT, ITALIAN
ES, SPANISH
PL, POLISH
RU, RUSSIAN
BR, BRAZILIAN

Component1.Name=cm:ENGLISH
Component2.Name=cm:RU

Only most used languages were added. Maybe more in next version.


.File=
Set filename to be linked to the component. The archive will only extracted if component is selected before installation starts.


.Size=
Set size of component.
Example: Component1.Size=1500 mb

PS: You can use different units for sizes.
Example: Component1.Size=1500 mb, Component2.Size=666 kb


.Level=
Set the (main) component to left (0) or right (1) and make a dependence for all following components. This is helpful if you want to make different groups of components.
Example: 
Component2.Level=0
Component3.Level=1
Component4.Level=1
Component5.Level=1
Component2 is the topper component. 3+4+5 are dependend from Component2. If you disable Component2, 3+4+5 will be disabled too.


.Exclusive=
Make a Checkbox (0) or a RadioButton (1).

PS: RadioButton is usefull if a game can only have one language installed (some games use same files for different languages).


.Checked=
Set default state for CB/RB. 1 is checked, 0 is not checked


.Enabled=
Set enable (1) or disable (0).
Components.iss and CompactMode.iss are no longer neccessary (you can delete them).
Attached Files
File Type: 7z 7.1.2.beta8.7z (4.10 MB, 48 views)
File Type: 7z 7.1.2.beta8.FIX.7z (21.0 KB, 24 views)
__________________
Haters gonna hate

Last edited by KaktoR; 17-03-2019 at 10:26.
Reply With Quote
The Following 4 Users Say Thank You to KaktoR For This Useful Post:
K4miKaZe (17-03-2019), mausschieber (17-03-2019), pakrat2k2 (17-03-2019), Titeuf (17-03-2019)