Code

Changeset 0c2864 in kliu.fontreg for CLIENT_DATA/setup3264.ins


Ignore:
Timestamp:
03/13/2013 07:02:13 PM (7 years ago)
Author:
geos_one
Branches:
master
Parents:
e5eec2
git-author:
Mario Fetka <mario.fetka@…> (03/13/2013 07:02:13 PM)
git-committer:
Mario Fetka <mario.fetka@…> (03/13/2013 07:02:13 PM)
Message:

update to new opsi builder template

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLIENT_DATA/setup3264.ins

    re5eec2 r0c2864  
    22; This sourcecode is owned by uib 
    33; and published under the Terms of the General Public License. 
    4 ; credits: http://www.opsi.org/credits/ 
     4; credits: http://www.opsi.org/en/credits/ 
    55 
    66[Actions] 
    7 requiredWinstVersion >= "4.10.8.6" 
     7requiredWinstVersion >= "4.11.2.6" 
    88 
     9DefVar $UninstallProgram32$ 
     10DefVar $UninstallProgramOld32$ 
     11DefVar $IniFile32$ 
     12DefVar $UninstallProgram64$ 
     13DefVar $UninstallProgramOld64$ 
     14DefVar $IniFile64$ 
     15DefVar $IniCfgFile$ 
    916DefVar $LogDir$ 
    1017DefVar $ProductId$   
     
    1522DefVar $INST_SystemType$ 
    1623DefVar $INST_architecture$ 
     24DefVar $OLD_VERSION$ 
     25DefVar $OLD_CREATOR_TAG$ 
     26DefVar $OLD_RELEASE$ 
    1727 
    1828Set $INST_SystemType$ = GetSystemType 
    1929set $INST_architecture$ = GetProductProperty("install_architecture","system specific") 
    20  
    2130 
    2231Set $LogDir$ = "%SystemDrive%\tmp" 
     
    3847; therefore please: only lower letters, no umlauts,  
    3948; no white space use '-' as a seperator 
    40 Set $ProductId$       = "kliu.fontreg" 
    4149Set $MinimumSpace$    = "1 MB" 
    4250; the path were we find the product after the installation 
     
    4452Set $InstallDir64$      = "%Systemroot%" 
    4553; ---------------------------------------------------------------- 
     54 
     55Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini" 
    4656 
    4757if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$)) 
     
    5161else 
    5262        comment "Show product picture" 
    53         ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$ 
     63        ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$ 
    5464         
    5565        if FileExists("%ScriptPath%\delsub3264.ins") 
     
    6171 
    6272        if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") 
    63                 Message "Installing " + $ProductId$ + " 32 Bit..." 
     73                Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 32 Bit..." 
     74                comment "Start setup program" 
     75                ChangeDirectory "%SCRIPTPATH%" 
    6476                comment "Copy files" 
    6577                Files_install_32 /32Bit 
     
    7183 
    7284        if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) 
    73                 Message "Installing " + $ProductId$ + " 64 Bit..." 
     85                Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 64 Bit..." 
     86                comment "Start setup program" 
     87                ChangeDirectory "%SCRIPTPATH%" 
    7488                comment "Copy files" 
    7589                Files_install_64 /64Bit 
     
    8397 
    8498[Files_install_32] 
    85 copy "$FontReg32Exe$" "$InstallDir32$" 
    86  
     99; copy the ini file to the InstallDir 
     100copy "$IniCfgFile$" "$InstallDir32$" 
     101copy "$Install32Exe$" "$InstallDir32$" 
    87102 
    88103[Files_install_64] 
    89 copy "$FontReg64Exe$" "$InstallDir64$" 
     104; copy the ini file to the InstallDir 
     105copy "$IniCfgFile$" "$InstallDir64$" 
     106copy "$install64Exe$" "$InstallDir64$" 
    90107 
    91108[Registry_install] 
Note: See TracChangeset for help on using the changeset viewer.