userspace:msi-package_opsi-client-agent
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| userspace:msi-package_opsi-client-agent [2012/12/21 16:25] – frisoft_DD | userspace:msi-package_opsi-client-agent [2022/12/19 14:51] (current) – wolfbardo | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | here in the future the scripts and changes for install the opsi-client-agent | + | ====== official msi-Package opsi-client-agent can be found at ====== |
| + | |||
| + | https:// | ||
| ====== msi-Package opsi-client-agent 4.0.2.1 ====== | ====== msi-Package opsi-client-agent 4.0.2.1 ====== | ||
| + | |||
| + | this is my cusomized setup for opsi-client-agent to deploy himself via GPO over AD. Comments are welcome | ||
| + | |||
| + | TODO: | ||
| + | - complete the the parametering install via msi propertys | ||
| + | - added a more detailed description ( at the moment, i have a small docu in source-code | ||
| + | |||
| this program used MakeMSI(Dennis Bareis) to generate the msi-package | this program used MakeMSI(Dennis Bareis) to generate the msi-package | ||
| Line 25: | Line 35: | ||
| ==== Steps ==== | ==== Steps ==== | ||
| - download and install MakeMSI | - download and install MakeMSI | ||
| - | - copy all t6he content fron directory opsi-client-agent to your develop directory | + | - copy all the content fron directory opsi-client-agent to your develop directory |
| - | - copy from the makeMSI - sample directory the fileswith | + | - copy from the makeMSI - sample directory the files with extention mm and ver |
| - edit the file with extention ver (you must change the guid) for this doing, in the MakeMSI package are an GUID-Generator | - edit the file with extention ver (you must change the guid) for this doing, in the MakeMSI package are an GUID-Generator | ||
| - edit the file mm with your favorite text - editor | - edit the file mm with your favorite text - editor | ||
| Line 97: | Line 107: | ||
| DefVar $INST_gina_to_chain$ | DefVar $INST_gina_to_chain$ | ||
| ; ****************************************************************************** | ; ****************************************************************************** | ||
| - | ; *** changed | + | ; *** changed |
| ; *** the changing only needed for OS before Windows Vista ********************* | ; *** the changing only needed for OS before Windows Vista ********************* | ||
| DefVar $INST_sophos$ | DefVar $INST_sophos$ | ||
| Line 481: | Line 491: | ||
| sub_set_installation_status | sub_set_installation_status | ||
| - | comment " | + | comment " |
| - | ; change | + | ; change |
| ; ********************************************************************************** | ; ********************************************************************************** | ||
| sub " | sub " | ||
| Line 1002: | Line 1012: | ||
| else | else | ||
| if ($INST_NTVersion$ >= " | if ($INST_NTVersion$ >= " | ||
| - | comment " | + | comment " |
| if $INST_uac_level$ = " | if $INST_uac_level$ = " | ||
| Registry_UAC_on_1 /Sysnative | Registry_UAC_on_1 /Sysnative | ||
| Line 2125: | Line 2135: | ||
| [Patches_event_ini] | [Patches_event_ini] | ||
| set [LabelTitle] | set [LabelTitle] | ||
| - | set [LabelTitle] | + | set [LabelTitle] |
| set [LabelOpsiclientdInfo] | set [LabelOpsiclientdInfo] | ||
| set [LabelActionProcessorInfo] | set [LabelActionProcessorInfo] | ||
| Line 2165: | Line 2175: | ||
| </ | </ | ||
| - | ==== myvbs.vbs ==== | + | ==== OPSI-CLIENT-ITL.mm ==== |
| - | < | + | the central control file for MakeMSI |
| - | ;this is my vbs-script... | + | |
| - | echo click on "edit this page" to see the complete | + | < |
| + | ;---------------------------------------------------------------------------- | ||
| + | ;--- Global Definitions | ||
| + | ; | ||
| + | #define VALID_MSIVAL2_DIR C: | ||
| + | ;--- Include MAKEMSI support (with my customisations and MSI branding) | ||
| + | #define VER_FILENAME.VER version-opsi_prod-ITL.Ver ;;I only want one VER file for all samples! (this line not actually required in "tryme.mm") | ||
| + | # | ||
| + | ;;;; Disabling Dialog?? | ||
| + | ;--- Prevent " | ||
| + | #define UISAMPLE_DISABLE_TYPICAL_SETUP N | ||
| + | #define REMOVED_LicenseAgreementDlg N | ||
| + | #define " | ||
| + | |||
| + | ;--- Remove the dialog ------------------------------------------------------ | ||
| + | < | ||
| + | < | ||
| + | ; | ||
| + | |||
| + | ;--- Want to debug (not common) --------------------------------------------- | ||
| + | ;#debug on | ||
| + | ;#Option DebugLevel=^NONE, | ||
| + | ;--- Define default location where file should install and add files -------- | ||
| + | |||
| + | ; | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | |||
| + | |||
| + | ; | ||
| + | ;--- what should the installation do? | ||
| + | ; | ||
| + | |||
| + | ;Example for Filecopy: | ||
| + | <$Files " | ||
| + | |||
| + | |||
| + | |||
| + | ; | ||
| + | ;--- Add a registry entry (let it create a component - GUID not fixed!) ----- | ||
| + | ; | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | |||
| + | |||
| + | ; | ||
| + | ;--- start a batch script | ||
| + | ; | ||
| + | #( | ||
| + | ;--- Run after install, ignore return code and don't wait for completion --- | ||
| + | < | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | > | ||
| + | #) | ||
| + | |||
| + | ;#( | ||
| + | ; ;--- Run after install, ignore return code and wait for completion --- | ||
| + | ; < | ||
| + | ; | ||
| + | ; | ||
| + | ; | ||
| + | ; Condition="< | ||
| + | ; > | ||
| + | ; #) | ||
| + | |||
| + | #( | ||
| + | ;--- Run after install, ignore return code and wait for completion --- | ||
| + | ;--- for unversal msi package you must use the follow PARAMETER string INSTALL: | ||
| + | < | ||
| + | | ||
| + | | ||
| + | | ||
| + | Condition="< | ||
| + | > | ||
| + | #) | ||
| + | </ | ||
| + | |||
| + | ==== version-opsi_prod-ITL.ver ==== | ||
| + | before you use this file, you must change Guid.UpgradeCode and MsiName | ||
| + | < | ||
| + | ; | ||
| + | ; | ||
| + | ; MODULE NAME: | ||
| + | ; | ||
| + | ; $Author: | ||
| + | ; $Revision: | ||
| + | ; $Date: | ||
| + | ; | ||
| + | ; DESCRIPTION: | ||
| + | ; | ||
| + | ; | ||
| + | ; ProductName = Installation opsi-Client ITL domain productive | ||
| + | ; DESCRIPTION = opsi Installation ITL | ||
| + | ; Licence | ||
| + | ; Installed | ||
| + | ; Guid.UpgradeCode = {EXXXXXXX-FXXC-XXXD-XXBC-XXXAXFXBXECE} | ||
| + | ; MsiName | ||
| + | ; | ||
| + | |||
| + | |||
| + | |||
| + | ;############################################################################ | ||
| + | VERSION : 2.0.0 | ||
| + | DATE : 05 Dec 2012 | ||
| + | CHANGES : First production release ITL | ||
| </ | </ | ||
userspace/msi-package_opsi-client-agent.1356103507.txt.gz · Last modified: (external edit)
