|
|
|
|
|
|
|
|
; HM NIS Edit Wizard helper defines
|
|
|
; HM NIS Edit Wizard helper defines
|
|
|
!define PRODUCT_NAME "Message Sniffer Server Installer"
|
|
|
!define PRODUCT_NAME "Message Sniffer Server Installer"
|
|
|
## ADDINGPLATFORM ## STEP 0 :: INCREMENT BUILD NUMBER If Desired.
|
|
|
## ADDINGPLATFORM ## STEP 0 :: INCREMENT BUILD NUMBER If Desired.
|
|
|
!define PRODUCT_VERSION "v3.2"
|
|
|
|
|
|
|
|
|
!define PRODUCT_VERSION "v3.3 - SNFv-E3.0.11"
|
|
|
!define PRODUCT_PUBLISHER "Arm Research"
|
|
|
!define PRODUCT_PUBLISHER "Arm Research"
|
|
|
|
|
|
|
|
|
SetCompressor lzma
|
|
|
SetCompressor lzma
|
|
|
|
|
|
|
|
|
WriteRegStr HKLM SOFTWARE\SolidOak\Alligate\Settings\Addins\MsgSniffer\ "ProcessDir" "$SNF4AlligateInstallFolder\Drop" ; This flags the directory.
|
|
|
WriteRegStr HKLM SOFTWARE\SolidOak\Alligate\Settings\Addins\MsgSniffer\ "ProcessDir" "$SNF4AlligateInstallFolder\Drop" ; This flags the directory.
|
|
|
WriteRegStr HKLM SOFTWARE\SolidOak\Alligate\Settings\Addins\MsgSniffer\ "ProcessDirLabel" "If you are using the Routing table feature to expressly define processing directories then you will need to manually set the folders you want Sniffer to scan, to process messages in the \Drop\ folder." ; This is "Sniffer"
|
|
|
WriteRegStr HKLM SOFTWARE\SolidOak\Alligate\Settings\Addins\MsgSniffer\ "ProcessDirLabel" "If you are using the Routing table feature to expressly define processing directories then you will need to manually set the folders you want Sniffer to scan, to process messages in the \Drop\ folder." ; This is "Sniffer"
|
|
|
|
|
|
|
|
|
; Now we determine what IMail was pointing at:
|
|
|
|
|
|
|
|
|
; Now we determine what Alligate was pointing at:
|
|
|
ReadRegStr $LocalKeyhandle HKLM "SOFTWARE\SolidOak\Alligate\Settings" "FilterEXE"
|
|
|
ReadRegStr $LocalKeyhandle HKLM "SOFTWARE\SolidOak\Alligate\Settings" "FilterEXE"
|
|
|
|
|
|
|
|
|
; if this returns with an error and an empty string, the tag didn't exist. LocalKeyhandle will be "";
|
|
|
; if this returns with an error and an empty string, the tag didn't exist. LocalKeyhandle will be "";
|
|
|
|
|
|
|
|
|
Return
|
|
|
Return
|
|
|
TestSmarterMail:
|
|
|
TestSmarterMail:
|
|
|
StrCmp $isSmarterMailInstalled "1" 0 ReportFalse
|
|
|
StrCmp $isSmarterMailInstalled "1" 0 ReportFalse
|
|
|
ifFileExists "C:\Program Files\dgSoft Internet Services\mxGuard for Mail Servers\mxGuard.xml" 0 ReportFalse
|
|
|
|
|
|
|
|
|
ifFileExists "C:\Program Files\dgSoft Internet Services\mxGuard for Mail Servers\mxGuard.xml" 0 Try4Pt2
|
|
|
; well we lucked out. Looks like its here.
|
|
|
; well we lucked out. Looks like its here.
|
|
|
${GetBetween} "<type>" "</type>" "C:\Program Files\dgSoft Internet Services\mxGuard for Mail Servers\mxGuard.xml" "$testVar"
|
|
|
${GetBetween} "<type>" "</type>" "C:\Program Files\dgSoft Internet Services\mxGuard for Mail Servers\mxGuard.xml" "$testVar"
|
|
|
StrCmp $testVar "SmarterMail" 0 ReportFalse
|
|
|
StrCmp $testVar "SmarterMail" 0 ReportFalse
|
|
|
StrCpy $isMXGuardInstalled "1"
|
|
|
StrCpy $isMXGuardInstalled "1"
|
|
|
StrCpy $MXGuardInstallFolder "C:\Program Files\dgSoft Internet Services\mxGuard for Mail Servers"
|
|
|
StrCpy $MXGuardInstallFolder "C:\Program Files\dgSoft Internet Services\mxGuard for Mail Servers"
|
|
|
|
|
|
|
|
|
|
|
|
Try4Pt2:
|
|
|
|
|
|
ifFileExists "C:\Program Files\dgSoft Internet Services\mxGuard for Mail Servers v4.2\mxGuard.xml" 0 ReportFalse
|
|
|
|
|
|
; well we lucked out. Looks like its here.
|
|
|
|
|
|
${GetBetween} "<type>" "</type>" "C:\Program Files\dgSoft Internet Services\mxGuard for Mail Servers v4.2\mxGuard.xml" "$testVar"
|
|
|
|
|
|
StrCmp $testVar "SmarterMail" 0 ReportFalse
|
|
|
|
|
|
StrCpy $isMXGuardInstalled "1"
|
|
|
|
|
|
StrCpy $MXGuardInstallFolder "C:\Program Files\dgSoft Internet Services\mxGuard for Mail Servers v4.2"
|
|
|
|
|
|
|
|
|
ReportFalse:
|
|
|
ReportFalse:
|
|
|
Return
|
|
|
Return
|
|
|
FunctionEnd
|
|
|
FunctionEnd
|