Ignore:
Timestamp:
Jul 4, 2013, 5:16:57 PM (11 years ago)
Author:
joergs
Message:

bugfix 64bit, cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • opsi/products/wsusoffline/CLIENT_DATA/setup.ins

    r1137 r1156  
    88requiredWinstVersion >= "4.11.3.3"
    99
    10 DefVar $MsiId32$
    11 DefVar $UninstallProgram32$
    12 DefVar $MsiId64$
    13 DefVar $UninstallProgram64$
    1410DefVar $LogDir$
    1511DefVar $ProductId$ 
    1612DefVar $MinimumSpace$
    17 DefVar $InstallDir32$
    18 DefVar $InstallDir64$
    1913DefVar $ExitCode$
    20 DefVar $LicenseRequired$
    21 DefVar $LicenseKey$
    22 DefVar $LicensePool$
    2314DefVar $INST_SystemType$
    2415DefVar $INST_architecture$
     
    4637; no white space use '-' as a seperator
    4738Set $ProductId$       = "wsusoffline"
    48 Set $MinimumSpace$    = "300 MB"
    49 ; the path were we find the product after the installation
    50 ;Set $InstallDir32$      = "%ProgramFiles32Dir%\<path to the product>"
    51 ;Set $InstallDir64$      = "%ProgramFiles64Dir%\<path to the product>"
    52 ;Set $LicenseRequired$ = "false"
    53 ;Set $LicensePool$     = "p_" + $ProductId$
     39Set $MinimumSpace$    = "1000 MB"
    5440; ----------------------------------------------------------------
    5541
     
    6349ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
    6450       
    65 ;if FileExists("%ScriptPath%\delsub3264.ins")
    66 ;       comment "Start uninstall sub section"
    67 ;       Sub "%ScriptPath%\delsub3264.ins"
    68 ;endif
    69 
    7051comment "installing"
    7152Message "Installing " + $ProductId$ + " ..."
     
    7354comment "Start setup program"
    7455;Winbatch_install
    75 Shellbatch_install /sysnative
     56Shellbatch_install /winst /sysnative
    7657
    7758; include wsusoffline logfile (last 1000 lines)
     
    8162Sub_check_exitcode
    8263
    83 ;comment "Copy files"
    84 ;Files_install_32 /32Bit
    85 ;comment "Patch Registry"
    86 ;Registry_install /32Bit
    87        
    88 
    89 
    90 ;[Winbatch_install]
    91 ;"%ScriptPath%\exit-wrapper.cmd" "%ScriptPath%\client\cmd\DoUpdate.cmd" $Options$
    92 
    93 
    9464
    9565[ShellBatch_install]
     
    9868call "%ScriptPath%\client\cmd\DoUpdate.cmd" $Options$
    9969exit %ERRORLEVEL%
    100 
    101 
    102 
    103 [Files_install_32]
    104 ; Example of recursively copying some files into the installation directory:
    105 ;
    106 ; copy -s "%ScriptPath%\files\*.*" "$InstallDir32$"
    107 
    108 [Registry_install]
    109 ; Example of setting some values of an registry key:
    110 ;
    111 ; openkey [HKEY_LOCAL_MACHINE\Software\$ProductId$]
    112 ; set "name1" = "some string value"
    113 ; set "name2" = REG_DWORD:0001
    114 ; set "name3" = REG_BINARY:00 af 99 cd
    11570
    11671
Note: See TracChangeset for help on using the changeset viewer.