This project is read-only.

Dameware service install

Topics: Archive - Deployment Scripts
Apr 9, 2014 at 2:02 PM

*===============================================

* INSTALLATION

$installPhase = "Installation"

*===============================================

# Perform installation tasks here
Execute-Process -FilePath "dwrcs.exe" -Arguments '-o"c:\windows\dwrcs" -y' -WindowStyle Hidden

*===============================================

* POST-INSTALLATION

$installPhase = "Post-Installation"

*===============================================

# Perform post-installation tasks here
Execute-Process -FilePath "c:\windows\DWrcs\DWRCS.exe" -Arguments '-install'
cmd /c regedit -s $dirfiles\dame.reg
start-sleep -s 10
restart-service dwmrcs
# Display a message at the end of the install

*===============================================

* UNINSTALLATION

} ElseIf ($deploymentType -eq "uninstall") { $installPhase = "Uninstallation"

*===============================================

# Perform uninstallation tasks here
Stop-Service dwmrcs
Execute-Process -FilePath "c:\windows\DWrcs\DWRCS.exe" -Arguments '-remove'
Remove-Item -Recurse -Force 'c:windows\DWRCS'

*===============================================

* END SCRIPT BODY

} } Catch { $exceptionMessage = "$($_.Exception.Message) ($($_.ScriptStackTrace))"; Write-Log "$exceptionMessage"; Show-DialogBox -Text $exceptionMessage -Icon "Stop"; Exit-Script -ExitCode 1 } # Catch any errors in this script
Exit-Script -ExitCode 0 # Otherwise call the Exit-Script function to perform final cleanup operations

*===============================================

dame.reg you want to install the service on a machine via dameware MRC configure it the way you would like it and then export the reg file "hklm\software\Dameware Development\Mini Remote Control Service\Settings"

The following files are in my self extracting 7z file:

DWRCS.exe
DWRCST.exe
DWRCK.dll
DWRCSET.dll
DWRCSh.dlx
DWRCRSS.dll
DWRCWXL.dll (Windows XP/2003 only)

**In order to use FIPS Mode in v7.x, the following files must also be copied:

ccme_base.dll
ccme_ecc.dll
ccme_eccaccel.dll
ccme_eccnistaccel.dll
cryptocme2.dll
cryptocme2.sig
DWRCRSA.DLL