Changeset 1156 for opsi/products/wsusoffline/CLIENT_DATA
- Timestamp:
- Jul 4, 2013, 5:16:57 PM (11 years ago)
- Location:
- opsi/products/wsusoffline/CLIENT_DATA
- Files:
-
- 1 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
opsi/products/wsusoffline/CLIENT_DATA/setup.ins
r1137 r1156 8 8 requiredWinstVersion >= "4.11.3.3" 9 9 10 DefVar $MsiId32$11 DefVar $UninstallProgram32$12 DefVar $MsiId64$13 DefVar $UninstallProgram64$14 10 DefVar $LogDir$ 15 11 DefVar $ProductId$ 16 12 DefVar $MinimumSpace$ 17 DefVar $InstallDir32$18 DefVar $InstallDir64$19 13 DefVar $ExitCode$ 20 DefVar $LicenseRequired$21 DefVar $LicenseKey$22 DefVar $LicensePool$23 14 DefVar $INST_SystemType$ 24 15 DefVar $INST_architecture$ … … 46 37 ; no white space use '-' as a seperator 47 38 Set $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$ 39 Set $MinimumSpace$ = "1000 MB" 54 40 ; ---------------------------------------------------------------- 55 41 … … 63 49 ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$ 64 50 65 ;if FileExists("%ScriptPath%\delsub3264.ins")66 ; comment "Start uninstall sub section"67 ; Sub "%ScriptPath%\delsub3264.ins"68 ;endif69 70 51 comment "installing" 71 52 Message "Installing " + $ProductId$ + " ..." … … 73 54 comment "Start setup program" 74 55 ;Winbatch_install 75 Shellbatch_install / sysnative56 Shellbatch_install /winst /sysnative 76 57 77 58 ; include wsusoffline logfile (last 1000 lines) … … 81 62 Sub_check_exitcode 82 63 83 ;comment "Copy files"84 ;Files_install_32 /32Bit85 ;comment "Patch Registry"86 ;Registry_install /32Bit87 88 89 90 ;[Winbatch_install]91 ;"%ScriptPath%\exit-wrapper.cmd" "%ScriptPath%\client\cmd\DoUpdate.cmd" $Options$92 93 94 64 95 65 [ShellBatch_install] … … 98 68 call "%ScriptPath%\client\cmd\DoUpdate.cmd" $Options$ 99 69 exit %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:0001114 ; set "name3" = REG_BINARY:00 af 99 cd115 70 116 71
Note:
See TracChangeset
for help on using the changeset viewer.