[11991] | 1 | Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/installers/win7/aic.sh
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- /proj/ice/larour/issm-uci-clean/trunk-jpl/installers/win7/aic.sh (revision 11563)
|
---|
| 4 | +++ /proj/ice/larour/issm-uci-clean/trunk-jpl/installers/win7/aic.sh (revision 11564)
|
---|
| 5 | @@ -1,38 +0,0 @@
|
---|
| 6 | -#!/bin/bash
|
---|
| 7 | -
|
---|
| 8 | -#get brand new project:
|
---|
| 9 | -rm -rf ISSM.aip ISSM-SetupFiles ISSM.msi
|
---|
| 10 | -cp ISSM.initial.aip ISSM.aip
|
---|
| 11 | -
|
---|
| 12 | -#get windows style path to files
|
---|
| 13 | -ISSM_TIER_WIN=`cygpath -m "$ISSM_TIER"`
|
---|
| 14 | -
|
---|
| 15 | -#build list of files to put into the installer:
|
---|
| 16 | -rm -rf ISSM.aic
|
---|
| 17 | -cat << END > ISSM.aic
|
---|
| 18 | -;aic
|
---|
| 19 | -SetVersion "1.0"
|
---|
| 20 | -SetPackageName "ISSM.msi"
|
---|
| 21 | -END
|
---|
| 22 | -
|
---|
| 23 | -ls $ISSM_TIER_WIN/scripts/*.bat startup.m $ISSM_TIER_WIN/bin/*.h | awk '{printf("AddFile APPDIR %s\n",$1);}' | sed 's/\//\\/g' >> ISSM.aic
|
---|
| 24 | -
|
---|
| 25 | -cat << END >> ISSM.aic
|
---|
| 26 | -AddFolder PersonalFolder $ISSM_TIER_WIN\test
|
---|
| 27 | -AddFolder APPDIR $ISSM_TIER_WIN\bin
|
---|
| 28 | -DelEnvironment ISSM_TESTS
|
---|
| 29 | -NewEnvironment -name ISSM_TESTS -value [test_Dir]
|
---|
| 30 | -DelEnvironment ISSM_TIER
|
---|
| 31 | -NewEnvironment -name ISSM_TIER -value [APPDIR]
|
---|
| 32 | -DelEnvironment ISSM_TIER_WIN
|
---|
| 33 | -NewEnvironment -name ISSM_TIER_WIN -value [APPDIR]
|
---|
| 34 | -Save
|
---|
| 35 | -Rebuild
|
---|
| 36 | -END
|
---|
| 37 | -
|
---|
| 38 | -#Run installer:
|
---|
| 39 | -"C:/Program Files (x86)/Caphyon/Advanced Installer 8.9/bin/x86/AdvancedInstaller.com" /execute ./ISSM.aip ./ISSM.aic
|
---|
| 40 | -
|
---|
| 41 | -#Get rid of temporary files:
|
---|
| 42 | -cp ISSM-SetupFiles/ISSM.msi ./
|
---|
| 43 | -rm -rf ISSM.aip ISSM-SetupFiles ISSM.aic
|
---|
| 44 | Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/installers/win7/package.sh
|
---|
| 45 | ===================================================================
|
---|
| 46 | --- /proj/ice/larour/issm-uci-clean/trunk-jpl/installers/win7/package.sh (revision 0)
|
---|
| 47 | +++ /proj/ice/larour/issm-uci-clean/trunk-jpl/installers/win7/package.sh (revision 11564)
|
---|
| 48 | @@ -0,0 +1,38 @@
|
---|
| 49 | +#!/bin/bash
|
---|
| 50 | +
|
---|
| 51 | +#get brand new project:
|
---|
| 52 | +rm -rf ISSM.aip ISSM-SetupFiles ISSM.msi
|
---|
| 53 | +cp ISSM.initial.aip ISSM.aip
|
---|
| 54 | +
|
---|
| 55 | +#get windows style path to files
|
---|
| 56 | +ISSM_TIER_WIN=`cygpath -m "$ISSM_TIER"`
|
---|
| 57 | +
|
---|
| 58 | +#build list of files to put into the installer:
|
---|
| 59 | +rm -rf ISSM.aic
|
---|
| 60 | +cat << END > ISSM.aic
|
---|
| 61 | +;aic
|
---|
| 62 | +SetVersion "1.0"
|
---|
| 63 | +SetPackageName "ISSM.msi"
|
---|
| 64 | +END
|
---|
| 65 | +
|
---|
| 66 | +ls $ISSM_TIER_WIN/scripts/*.bat startup.m $ISSM_TIER_WIN/bin/*.h | awk '{printf("AddFile APPDIR %s\n",$1);}' | sed 's/\//\\/g' >> ISSM.aic
|
---|
| 67 | +
|
---|
| 68 | +cat << END >> ISSM.aic
|
---|
| 69 | +AddFolder PersonalFolder $ISSM_TIER_WIN\test
|
---|
| 70 | +AddFolder APPDIR $ISSM_TIER_WIN\bin
|
---|
| 71 | +DelEnvironment ISSM_TESTS
|
---|
| 72 | +NewEnvironment -name ISSM_TESTS -value [test_Dir]
|
---|
| 73 | +DelEnvironment ISSM_TIER
|
---|
| 74 | +NewEnvironment -name ISSM_TIER -value [APPDIR]
|
---|
| 75 | +DelEnvironment ISSM_TIER_WIN
|
---|
| 76 | +NewEnvironment -name ISSM_TIER_WIN -value [APPDIR]
|
---|
| 77 | +Save
|
---|
| 78 | +Rebuild
|
---|
| 79 | +END
|
---|
| 80 | +
|
---|
| 81 | +#Run installer:
|
---|
| 82 | +"C:/Program Files (x86)/Caphyon/Advanced Installer 8.9/bin/x86/AdvancedInstaller.com" /execute ./ISSM.aip ./ISSM.aic
|
---|
| 83 | +
|
---|
| 84 | +#Get rid of temporary files:
|
---|
| 85 | +cp ISSM-SetupFiles/ISSM.msi ./
|
---|
| 86 | +rm -rf ISSM.aip ISSM-SetupFiles ISSM.aic
|
---|
| 87 |
|
---|
| 88 | Property changes on: /proj/ice/larour/issm-uci-clean/trunk-jpl/installers/win7/package.sh
|
---|
| 89 | ___________________________________________________________________
|
---|
| 90 | Added: svn:executable
|
---|
| 91 | + *
|
---|
| 92 |
|
---|