Revision 38387 trunk/install/installjammer/gvsig-standard-installer.mpi

View differences:

gvsig-standard-installer.mpi
95 95
InstallVersion
96 96
{1.12.0.1400}
97 97

  
98
InstallerType
99
{standard}
100

  
98 101
JRELinuxProvidedHome
99 102
{<%JRELinuxProvidedParentPath%>/<%JRELinuxProvidedInstallDirName%>}
100 103

  
......
5975 5978
InstallComponent 3D49F78F-C9AB-9343-7FF7-43937F3B506E -setup Install -type action -title {Install Everything} -component ExecuteAction -active Yes -parent A5804629-16FA-958E-EE7D-647CC24E45B5
5976 5979
InstallComponent 080AA25D-28FD-A285-06E5-FEE568DE91F0 -setup Install -type action -title {Replace Text In File} -component ReplaceTextInFile -active Yes -parent A5804629-16FA-958E-EE7D-647CC24E45B5
5977 5980
InstallComponent 18EDA188-FCE6-9532-FB35-577C11859967 -setup Install -type action -title {Move Forward} -component MoveForward -active Yes -parent A5804629-16FA-958E-EE7D-647CC24E45B5
5978
InstallComponent 54A9E67A-F932-CDD4-6F9A-8842AAE31ACC -setup Install -type pane -title {Install Packages} -component CustomTextPane1 -alias {Install Complements} -active Yes -parent StandardInstall
5979
InstallComponent BCB85F45-B1CD-C065-EBAF-282DE843D49C -setup Install -type action -title {Install addons} -component ExecuteAction -alias {Install addons} -active Yes -parent 54A9E67A-F932-CDD4-6F9A-8842AAE31ACC
5980 5981
InstallComponent C31C7E84-6FAC-1AA6-243F-93BB5D6F2AE2 -setup Install -type pane -title {Setup Complete} -component SetupComplete -active Yes -parent StandardInstall
5981 5982
InstallComponent 72B87294-F7B2-1240-D39D-4FACC79525BB -setup Install -type action -conditions {11570579-1FC9-694C-0CBD-BF5286FEEE8C 2D041762-8562-6901-F856-642CBF5D4B02} -title {View Readme Checkbutton} -component AddWidget -active Yes -parent C31C7E84-6FAC-1AA6-243F-93BB5D6F2AE2
5982 5983
Condition 11570579-1FC9-694C-0CBD-BF5286FEEE8C -active Yes -parent 72B87294-F7B2-1240-D39D-4FACC79525BB -title {File Exists Condition} -component FileExistsCondition -TreeObject::id 11570579-1FC9-694C-0CBD-BF5286FEEE8C
......
6058 6059
Condition FADA85B6-5B3C-4924-8862-CE7AA23E989C -active Yes -parent C615CE3D-026B-2F47-A326-53759D46486E -title {String Is Condition} -component StringIsCondition -TreeObject::id FADA85B6-5B3C-4924-8862-CE7AA23E989C
6059 6060
Condition F01FA8CD-E8AF-2A92-16E9-2AA759676C91 -active Yes -parent C615CE3D-026B-2F47-A326-53759D46486E -title {File Exists Condition} -component FileExistsCondition -TreeObject::id F01FA8CD-E8AF-2A92-16E9-2AA759676C91
6060 6061
InstallComponent 13CD08AF-ABF7-957A-643D-5EFB11CC0285 -setup Install -type actiongroup -title {Cancel Actions} -alias {Cancel Actions} -active Yes -parent ActionGroupsInstall
6061
InstallComponent 024B8841-A37F-119B-9E17-4128EFB1B58B -setup Install -type actiongroup -title {Install addons actions} -alias {Install addons actions} -active Yes -parent ActionGroupsInstall
6062
InstallComponent 02754DC9-71D4-AADA-7DDD-6D0194848120 -setup Install -type action -conditions 7D670287-273F-0090-6C50-45F648DBC348 -title {Create Install Folder} -component CreateFolder -alias {Create Install Folder} -active Yes -parent 024B8841-A37F-119B-9E17-4128EFB1B58B
6063
Condition 7D670287-273F-0090-6C50-45F648DBC348 -active Yes -parent 02754DC9-71D4-AADA-7DDD-6D0194848120 -title {Directory Test Condition} -component DirectoryTestCondition -TreeObject::id 7D670287-273F-0090-6C50-45F648DBC348
6064
InstallComponent A31B7E49-112A-8FDD-85F5-BF7BB734800D -setup Install -type action -conditions 70FC288C-A32A-C59D-8575-1321AA0F48F2 -title {Delete File} -component DeleteFile -active Yes -parent 024B8841-A37F-119B-9E17-4128EFB1B58B
6065
Condition 70FC288C-A32A-C59D-8575-1321AA0F48F2 -active Yes -parent A31B7E49-112A-8FDD-85F5-BF7BB734800D -title {File Exists Condition} -component FileExistsCondition -TreeObject::id 70FC288C-A32A-C59D-8575-1321AA0F48F2
6066
InstallComponent 13B0CFA5-2D5C-AB51-C61F-482B3ADF17BF -setup Install -type action -title {Extract Package Set} -component ExecuteScript -alias {Extract Package Set} -active Yes -parent 024B8841-A37F-119B-9E17-4128EFB1B58B
6067
InstallComponent 385BE7D0-EFF9-B688-FFC5-C2EAC8979C85 -setup Install -type action -conditions 954D9C20-6666-F732-3851-B5CDEFEA3759 -title {Launch addons manager not windows} -component ExecuteExternalProgram -alias {Launch addons manager not windows} -active Yes -parent 024B8841-A37F-119B-9E17-4128EFB1B58B
6068
Condition 954D9C20-6666-F732-3851-B5CDEFEA3759 -active Yes -parent 385BE7D0-EFF9-B688-FFC5-C2EAC8979C85 -title {Platform Condition} -component PlatformCondition -TreeObject::id 954D9C20-6666-F732-3851-B5CDEFEA3759
6069
InstallComponent 506E4FD1-B16E-4C30-D897-430B9853AAF3 -setup Install -type action -conditions CA6B7F07-9EA4-6E57-8D8B-D0B022BAC177 -title {Launch addons manager windows} -component ExecuteExternalProgram -alias {Launch addons manager windows} -active Yes -parent 024B8841-A37F-119B-9E17-4128EFB1B58B
6070
Condition CA6B7F07-9EA4-6E57-8D8B-D0B022BAC177 -active Yes -parent 506E4FD1-B16E-4C30-D897-430B9853AAF3 -title {Platform Condition} -component PlatformCondition -TreeObject::id CA6B7F07-9EA4-6E57-8D8B-D0B022BAC177
6071 6062
InstallComponent 33EE3113-5C4F-F73E-DB60-5A93F3ED3841 -setup Install -type actiongroup -conditions D93FF951-4F22-E257-4566-2E3DA02B4BBC -title {Install JRE win actions} -alias {Install JRE win actions} -active Yes -parent ActionGroupsInstall
6072 6063
Condition D93FF951-4F22-E257-4566-2E3DA02B4BBC -active Yes -parent 33EE3113-5C4F-F73E-DB60-5A93F3ED3841 -title {Is windows} -component PlatformCondition -TreeObject::id D93FF951-4F22-E257-4566-2E3DA02B4BBC
6073 6064
InstallComponent 5440E8F0-4B75-D6D8-950D-47E922DD1339 -setup Install -type action -title {Append Running JRE Installer Text To Widget} -component AppendTextToWidget -alias {Append Running JRE Installer Text To Widget} -active Yes -parent 33EE3113-5C4F-F73E-DB60-5A93F3ED3841
......
6139 6130
006FDE68-650C-14ED-87B1-D88460CE45AF,Conditions
6140 6131
{2 conditions}
6141 6132

  
6142
024B8841-A37F-119B-9E17-4128EFB1B58B,Alias
6143
{Install addons actions}
6144

  
6145
024B8841-A37F-119B-9E17-4128EFB1B58B,Conditions
6146
{0 conditions}
6147

  
6148
02754DC9-71D4-AADA-7DDD-6D0194848120,Alias
6149
{Create Install Folder}
6150

  
6151
02754DC9-71D4-AADA-7DDD-6D0194848120,Conditions
6152
{1 condition}
6153

  
6154
02754DC9-71D4-AADA-7DDD-6D0194848120,FolderName
6155
{<%InstallDir%>/install}
6156

  
6157 6133
02868F7E-8F9B-8F05-6873-4D6757D2A873,Description,subst
6158 6134
{1}
6159 6135

  
......
6447 6423
{<%JRELinuxProvidedInstaller%>}
6448 6424

  
6449 6425
1105917C-3734-726C-7349-F05208D9DB71,URL
6450
{http://gvsig-desktop.forge.osor.eu/downloads/runtimes/java1.6/jre-6u26-linux-i586.bin}
6426
{http://downloads.gvsig.org/download/gvsig-desktop/runtimes/java1.6/jre-6u26-linux-i586.bin}
6451 6427

  
6452 6428
11570579-1FC9-694C-0CBD-BF5286FEEE8C,CheckCondition
6453 6429
{Before Action is Executed}
......
6467 6443
13970F26-5E62-E76D-E0E0-E1B56FC17FDD,SaveFiles
6468 6444
{No}
6469 6445

  
6470
13B0CFA5-2D5C-AB51-C61F-482B3ADF17BF,Alias
6471
{Extract Package Set}
6472

  
6473
13B0CFA5-2D5C-AB51-C61F-482B3ADF17BF,Conditions
6474
{0 conditions}
6475

  
6476
13B0CFA5-2D5C-AB51-C61F-482B3ADF17BF,TclScript
6477
{proc extractpks { install_file folder } {
6478
        if { [file isfile $install_file] != 1 } {
6479
                puts "Can't access to file $install_file"
6480
                return
6481
        }
6482
        if { [file isdirectory $folder] !=1 } {
6483
                puts "Can't access to folder $folder"
6484
                return
6485
        }
6486
        set root /installkitunpackvfs
6487
        set already_mounted true
6488
        if { [file isdirectory $root] !=1 } {
6489
                crapvfs::mount $install_file $root
6490
                set already_mounted false
6491
        }
6492

  
6493
        if { [file isfile "$root/package.gvspks"] == 1 } {
6494
                file copy "$root/package.gvspks" "$folder/package.gvspks"
6495
        }
6496

  
6497
        if { $already_mounted == false } {
6498
                crapvfs::unmount $root
6499
        }
6500
        puts "Package set extracted to folder $folder"
6501
}
6502

  
6503
extractpks <%Installer%> <%InstallDir%>/install}
6504

  
6505 6446
13CD08AF-ABF7-957A-643D-5EFB11CC0285,Alias
6506 6447
{Cancel Actions}
6507 6448

  
......
6682 6623
294C9E81-C21A-4227-018C-E3B8864F5643,Alias
6683 6624
{Cancel Actions}
6684 6625

  
6626
294C9E81-C21A-4227-018C-E3B8864F5643,Conditions
6627
{0 conditions}
6628

  
6685 6629
2985DA3A-108F-092B-8AC4-1620E36B1965,Destination
6686 6630
{<%InstallDir%>}
6687 6631

  
......
6868 6812
37D8727F-784B-971D-0B25-EF453D774135,Widget
6869 6813
{Text}
6870 6814

  
6871
385BE7D0-EFF9-B688-FFC5-C2EAC8979C85,Alias
6872
{Launch addons manager not windows}
6873

  
6874
385BE7D0-EFF9-B688-FFC5-C2EAC8979C85,Conditions
6875
{1 condition}
6876

  
6877
385BE7D0-EFF9-B688-FFC5-C2EAC8979C85,ConsoleTitle
6878
{<%AppName%> add-ons manager}
6879

  
6880
385BE7D0-EFF9-B688-FFC5-C2EAC8979C85,ProgramCommandLine
6881
{<%ProgramExecutable%> --install --installURL=http://downloads.gvsig.org/download/gvsig-desktop/dists/<%Version%>/packages.gvspki  language=<%Language%>}
6882

  
6883
385BE7D0-EFF9-B688-FFC5-C2EAC8979C85,WorkingDirectory
6884
{<%InstallDir%>}
6885

  
6886 6815
38AABCFE-B4E0-1970-3EDE-1F2C61F5EC00,String1
6887 6816
{<%JRELocation%>}
6888 6817

  
......
6904 6833
3BC0E6F6-AD13-4663-B635-933EB9E1310D,Alias
6905 6834
{Install Actions}
6906 6835

  
6836
3BC0E6F6-AD13-4663-B635-933EB9E1310D,Conditions
6837
{0 conditions}
6838

  
6839
3CE78F64-F6D9-224A-D2E6-1A4C06B4B837,Conditions
6840
{2 conditions}
6841

  
6907 6842
3CE78F64-F6D9-224A-D2E6-1A4C06B4B837,ShortcutDirectory
6908 6843
{<%QUICK_LAUNCH%>}
6909 6844

  
......
7141 7076
504A658B-16DC-CF0C-A098-CD36F2F9CF0D,Conditions
7142 7077
{1 condition}
7143 7078

  
7144
506E4FD1-B16E-4C30-D897-430B9853AAF3,Alias
7145
{Launch addons manager windows}
7146

  
7147
506E4FD1-B16E-4C30-D897-430B9853AAF3,Conditions
7079
5072BAD0-F247-D4C3-86BB-AB88567527F8,Conditions
7148 7080
{1 condition}
7149 7081

  
7150
506E4FD1-B16E-4C30-D897-430B9853AAF3,ConsoleTitle
7151
{<%AppName%> add-ons manager}
7152

  
7153
506E4FD1-B16E-4C30-D897-430B9853AAF3,ProgramCommandLine
7154
{<%InstallDir%>/gvsig-package-installer.exe language=<%Language%>}
7155

  
7156
506E4FD1-B16E-4C30-D897-430B9853AAF3,WorkingDirectory
7157
{<%InstallDir%>}
7158

  
7159 7082
5072BAD0-F247-D4C3-86BB-AB88567527F8,FileName
7160 7083
{<%ShortAppName%>-uninstall}
7161 7084

  
......
7225 7148
5456E2BC-1CF2-FCC0-3328-61F0E191FAC2,TrueValue
7226 7149
{No}
7227 7150

  
7228
54A9E67A-F932-CDD4-6F9A-8842AAE31ACC,Active
7229
{Yes}
7151
54EB2CDA-B1C5-9191-9840-92A6EA65EB2D,Conditions
7152
{2 conditions}
7230 7153

  
7231
54A9E67A-F932-CDD4-6F9A-8842AAE31ACC,Alias
7232
{Install Complements}
7233

  
7234
54A9E67A-F932-CDD4-6F9A-8842AAE31ACC,BackButton,subst
7235
{1}
7236

  
7237
54A9E67A-F932-CDD4-6F9A-8842AAE31ACC,CancelButton,subst
7238
{1}
7239

  
7240
54A9E67A-F932-CDD4-6F9A-8842AAE31ACC,Caption,subst
7241
{1}
7242

  
7243
54A9E67A-F932-CDD4-6F9A-8842AAE31ACC,Conditions
7244
{0 conditions}
7245

  
7246
54A9E67A-F932-CDD4-6F9A-8842AAE31ACC,Message,subst
7247
{1}
7248

  
7249
54A9E67A-F932-CDD4-6F9A-8842AAE31ACC,NextButton,subst
7250
{1}
7251

  
7252
54A9E67A-F932-CDD4-6F9A-8842AAE31ACC,Subtitle,subst
7253
{1}
7254

  
7255
54A9E67A-F932-CDD4-6F9A-8842AAE31ACC,Text,subst
7256
{1}
7257

  
7258
54A9E67A-F932-CDD4-6F9A-8842AAE31ACC,Title,subst
7259
{1}
7260

  
7261 7154
54EB2CDA-B1C5-9191-9840-92A6EA65EB2D,ShortcutName
7262 7155
{<%AppName%>}
7263 7156

  
......
7615 7508
708C7218-6E13-D342-8142-ADF980B7C5C1,Operator
7616 7509
{does not exist}
7617 7510

  
7618
70FC288C-A32A-C59D-8575-1321AA0F48F2,CheckCondition
7619
{Before Action is Executed}
7620

  
7621
70FC288C-A32A-C59D-8575-1321AA0F48F2,Filename
7622
{<%InstallDir%>/install/package.gvspks}
7623

  
7624 7511
71422BA4-0E74-C986-E209-BD92016B7F33,Destination
7625 7512
{<%InstallDir%>}
7626 7513

  
......
7741 7628
795436DB-3A63-CDCC-BF73-056289EBA6BD,Name
7742 7629
{Additional Geoprocessing}
7743 7630

  
7744
7D670287-273F-0090-6C50-45F648DBC348,CheckCondition
7745
{Before Action is Executed}
7746

  
7747
7D670287-273F-0090-6C50-45F648DBC348,Directory
7748
{<%InstallDir%>/install}
7749

  
7750
7D670287-273F-0090-6C50-45F648DBC348,Test
7751
{does not exist}
7752

  
7753 7631
7E4760EC-726C-9813-822E-C7DB4ADC498F,BackButton,subst
7754 7632
{1}
7755 7633

  
......
8056 7934
90DB86EE-13EB-6DED-4F6A-3F1D42FBA767,Widget
8057 7935
{Text}
8058 7936

  
8059
954D9C20-6666-F732-3851-B5CDEFEA3759,CheckCondition
8060
{Before Action is Executed}
8061

  
8062
954D9C20-6666-F732-3851-B5CDEFEA3759,Operator
8063
{is not}
8064

  
8065
954D9C20-6666-F732-3851-B5CDEFEA3759,Platform
8066
{Windows}
8067

  
8068 7937
96629428-6B93-C834-24EB-60CBF06BAEB5,Conditions
8069 7938
{0 conditions}
8070 7939

  
......
8170 8039
9C9B54FA-68E6-2402-97C3-C65F1E80E190,Alias
8171 8040
{Startup Actions}
8172 8041

  
8042
9C9B54FA-68E6-2402-97C3-C65F1E80E190,Conditions
8043
{0 conditions}
8044

  
8173 8045
9CAE8C76-08B7-F41D-68E2-DC47802CA43F,Destination
8174 8046
{<%InstallDir%>}
8175 8047

  
......
8331 8203

  
8332 8204
extractjrewin <%Installer%> <%JREWinProvidedParentPath%>}
8333 8205

  
8334
A31B7E49-112A-8FDD-85F5-BF7BB734800D,Conditions
8335
{1 condition}
8336

  
8337
A31B7E49-112A-8FDD-85F5-BF7BB734800D,Files
8338
{<%InstallDir%>/install/package.gvspks}
8339

  
8340 8206
A388D351-A619-711B-5BD8-76B2616A1089,CheckCondition
8341 8207
{Before Action is Executed}
8342 8208

  
......
8563 8429
{<%JREWinProvidedInstaller%>}
8564 8430

  
8565 8431
B052B934-4F6B-E78A-ED7D-CCDCC475ACD4,URL
8566
{http://gvsig-desktop.forge.osor.eu/downloads/runtimes/java1.6/jre-6u26-windows-i586-s.exe}
8432
{http://downloads.gvsig.org/download/gvsig-desktop/runtimes/java1.6/jre-6u26-windows-i586-s.exe}
8567 8433

  
8568 8434
B0705A16-1FFA-0A5B-A065-3ABFC0A41BFC,Description,subst
8569 8435
{1}
......
8619 8485
B5596A3D-1144-577B-F624-E9648DACD74A,Background
8620 8486
{#FFFFFF}
8621 8487

  
8488
B5596A3D-1144-577B-F624-E9648DACD74A,Conditions
8489
{3 conditions}
8490

  
8622 8491
B5596A3D-1144-577B-F624-E9648DACD74A,Text,subst
8623 8492
{1}
8624 8493

  
......
8763 8632
BCA2EBA3-8663-9B43-6783-EB398AADE2F5,Title,subst
8764 8633
{1}
8765 8634

  
8766
BCB85F45-B1CD-C065-EBAF-282DE843D49C,Action
8767
{Install addons actions}
8768

  
8769
BCB85F45-B1CD-C065-EBAF-282DE843D49C,Alias
8770
{Install addons}
8771

  
8772
BCB85F45-B1CD-C065-EBAF-282DE843D49C,Conditions
8773
{0 conditions}
8774

  
8775
BCB85F45-B1CD-C065-EBAF-282DE843D49C,ExecuteAction
8776
{Before Next Pane is Displayed}
8777

  
8778 8635
BD6798C8-6CFA-A022-0FF2-1DB7F228C256,Description,subst
8779 8636
{1}
8780 8637

  
......
8844 8701
C3F4194E-4509-43E6-698F-FB9350FFF533,Comment
8845 8702
{Ask the user if they want to proceed with the uninstall.}
8846 8703

  
8704
C3F4194E-4509-43E6-698F-FB9350FFF533,Conditions
8705
{2 conditions}
8706

  
8847 8707
C5ACE394-BDED-24ED-7543-E3AE89E1E84F,Alias
8848 8708
{Locate User selected JRE actions}
8849 8709

  
......
8877 8737
C81F2143-187C-59E5-A068-4313973E90BF,ExitType
8878 8738
{Finish}
8879 8739

  
8880
CA6B7F07-9EA4-6E57-8D8B-D0B022BAC177,CheckCondition
8881
{Before Action is Executed}
8882

  
8883
CA6B7F07-9EA4-6E57-8D8B-D0B022BAC177,Platform
8884
{Windows}
8885

  
8886 8740
CB4BBF0A-AE33-FE58-30BA-A9AD63C68020,Comment
8887 8741
{Don't display this pane in an upgrade install}
8888 8742

  
......
9384 9238
F0B71434-2F45-2FE7-5A13-BEE4B0E49BDA,Name
9385 9239
{WCS Client}
9386 9240

  
9241
F1B8769A-B5DF-A93B-E827-BF03B90235FD,Conditions
9242
{0 conditions}
9243

  
9387 9244
F1B8769A-B5DF-A93B-E827-BF03B90235FD,Message,subst
9388 9245
{1}
9389 9246

  
......
9480 9337
F8CDD940-8CB4-6F83-3934-22F1D4A1A2B8,Alias
9481 9338
{Finish Actions}
9482 9339

  
9340
F8CDD940-8CB4-6F83-3934-22F1D4A1A2B8,Conditions
9341
{0 conditions}
9342

  
9483 9343
F9B1D78E-01A8-7D0C-E847-5B3D24812D6D,Alias
9484 9344
{Startup Actions}
9485 9345

  
......
9856 9716
{0755}
9857 9717

  
9858 9718
Linux-x86,Executable
9859
{<%ShortAppName%>-<%Version%>-<%BuildVersion%>-devel-lin-x86-online.bin}
9719
{<%ShortAppName%>-<%Version%>-<%BuildVersion%>-devel-lin-x86-<%InstallerType%>.bin}
9860 9720

  
9861 9721
Linux-x86,FallBackToConsole
9862 9722
{Yes}
......
10129 9989
{No}
10130 9990

  
10131 9991
Windows,Executable
10132
{<%ShortAppName%>-<%Version%>-<%BuildVersion%>-devel-win-x86-online.exe}
9992
{<%ShortAppName%>-<%Version%>-<%BuildVersion%>-devel-win-x86-<%InstallerType%>.exe}
10133 9993

  
10134 9994
Windows,FileDescription
10135 9995
{<%AppName%> <%Version%> Setup}
......
10650 10510
0A09E8FF-E3FC-93A2-4010-193F58CC0642,StatusMessage
10651 10511
{Locating Java Runtime...}
10652 10512

  
10653
13B0CFA5-2D5C-AB51-C61F-482B3ADF17BF,TclScript
10654
{proc extractpks { install_file folder } {
10655
        if { [file isfile $install_file] != 1 } {
10656
                puts "Can't access to file $install_file"
10657
                return
10658
        }
10659
        if { [file isdirectory $folder] !=1 } {
10660
                puts "Can't access to folder $folder"
10661
                return
10662
        }
10663
        set root /installkitunpackvfs
10664
        set already_mounted true
10665
        if { [file isdirectory $root] !=1 } {
10666
                crapvfs::mount $install_file $root
10667
                set already_mounted false
10668
        }
10669

  
10670
        if { [file isfile "$root/package.gvspks"] == 1 } {
10671
                file copy "$root/package.gvspks" "$folder/package.gvspks"
10672
        }
10673

  
10674
        if { $already_mounted == false } {
10675
                crapvfs::unmount $root
10676
        }
10677
        puts "Package set extracted to folder $folder"
10678
}
10679

  
10680
extractpks <%Installer%> <%InstallDir%>/install}
10681

  
10682 10513
27940F23-2EE5-46FC-5575-C9CE1A69A795,Text
10683 10514
{<%CreateDesktopShortcutText%>}
10684 10515

  

Also available in: Unified diff