Jump to content
Sign in to follow this  
rory

Dahua PSS Full Setup - Customize for client

Recommended Posts

Supported DVRs

Supports most Dahua DVRs including some models from:

Q-See, XTS Video, EDGE, IC Realtime, MACE, GEN IV, AData, and others.

 

What is this?

 

I already made a Portable PSS version and also a Simple View for Dahua DVRs, and working on other software. But I had a client that needed the full PSS installed with the DVR IP and Login already created. So this is the result.

 

Example of Complete Setup Program:

dahuapssinstaller-1.jpg

 

Why Install and not just run? Windows 7 for one thing - that annoying message that appears everytime you run an EXE that is not installed. Other reasons include installation of dependency files that Windows might not have already installed (dependant on the version).

 

How does it work?

 

There are several ways to accomplish the same end result, but for now..

In this example I will use INI and CMD files, so you can easily edit them if needed.

There are however 2 custom EXE files included from PSS Portable.

 

This installs the PSS msi file without user interaction (not hidden), copies the settings files to the default PSS Program Files folder (Pro Surveillance System(EN)) and then runs loadpss.exe which applies the DVR settings in the PSS.ini to the device.xml file, thus adding the DVR to the new PSS install. The standard PSS config files have been edited so that the user does not have to login when starting PSS and no password is needed to exit.

 

Note: If you dont want to use my custom exe files then create your device.xml file manually and edit COPY-SETTINGS.cmd replacing the 2 lines for those exe's to with a line to copy device.xml instead.

 

Tested on Windows XP SP3.

 

Instructions

 

1-Create a new folder on your computer.

2-Download the latest PSS (eg. 4.04.6) - rename the MSI file to PSS.msi, and copy that to the new folder.

3-Download PSS Portable and copy these files to the new folder: loadpss.exe, PSSFS.exe, PSS.ini, PSS_Config.ini, UserLogin.ini

4-Edit PSS.ini with your DVR info (see the PSS Portable page for info on this)

5-Create 2 new text files in the new folder and rename them: INSTALL-PSS.cmd and COPY-SETTINGS.cmd, then enter the code at the end of this post for each file and save it.

 

Note: to use the default PSS configuration comment out the 2 lines in COPY-SETTINGS.cmd which copy PSS_Config.ini and UserLogin.ini - to comment out use :: before the text.

 

Now you can just zip or rar that up and send it to them, tell them run INSTALL-PSS.cmd for the first time, after that they can just use the shortcut on the desktop or start menu.

 

Optionally

 

I can create a complete setup file for each of your clients. This would be a single EXE file and the client's DVR information would be precompiled into this setup (download or setup could be password protected). You would just place this EXE file online somewhere and the client can download it and run the setup - easy as 123!

 

________________________________________________________________

 

 

INSTALL-PSS.cmd

@ECHO OFF
cls
ECHO Installing PSS ...
start /b /wait msiexec /qb /i PSS.msi
cls
ECHO Copying Settings ...
start /b /wait COPY-SETTINGS.cmd
cls
ECHO PSS First Run ..
"%PROGRAMFILES%\Pro Surveillance System(EN)\loadpss.exe"
exit

COPY-SETTINGS.cmd

@ECHO OFF
copy pss.ini "%PROGRAMFILES%\Pro Surveillance System(EN)" /y
copy PSS_Config.ini "%PROGRAMFILES%\Pro Surveillance System(EN)" /y
copy UserLogin.ini "%PROGRAMFILES%\Pro Surveillance System(EN)" /y
copy PSSFS.exe "%PROGRAMFILES%\Pro Surveillance System(EN)" /y
copy loadpss.exe "%PROGRAMFILES%\Pro Surveillance System(EN)" /y
exit

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×