NormaCS

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

Database of regulatory documents. Mainly for use in Russia. Below configuration for local NormaCS server.

NormaCS Client 4.x

First of all, you need extract msi installer from downloaded client app by:

  ./NormaCSClient.exe /e

You will get msi package and readme with installation instructions. Package:

<package
	id="normacsclient"
	name="NormaCS 4.0 Client"
	revision="%PKG_VERSION%"
	reboot="false"
	priority="0">
	
	<variable name="PKG_VERSION"		value="4.0.27.234" />
	<variable name="PKG_SOURCE"		value="%SOFTWARE%\Nanosoft\NormaCSClient\%PKG_VERSION%" />
	<variable name="PKG_NAME"		value="NormaCSClient.msi" />
	<variable name="PKG_DESTINATION"	value="%PROGRAMFILES(x86)%\Nanosoft\NormaCS" architecture="x64" />
	<variable name="PKG_DESTINATION"	value="%PROGRAMFILES%\Nanosoft\NormaCS" architecture="x86" />
	<variable name="PKG_INSTALL_SWITCH"	value="/qn /norestart" />
<!--	<variable name="PKG_FILE_NAME"		value="NormaCSnet.exe" /> -->		

<!--	<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\%PKG_FILE_NAME%" value="%PKG_VERSION%" /> -->
	<check type="uninstall" condition="versiongreaterorequal" path="NormaCS 4.x Client" value="%PKG_VERSION%" />

	<install cmd='msiexec %PKG_INSTALL_SWITCH% /i "%PKG_SOURCE%\%PKG_NAME%" INSTALLDIR="%PKG_DESTINATION%" SRVURL=you.server:port UPDUSR=1 NOCHECKSRVURL=1 NOFIREWEX=1 INTEGRATE=1' />

	<upgrade include='remove' />
	<upgrade include='install' />

	<remove cmd='wmic product where "name like 'NormaCS 4.x Client'" call uninstall' />
</package>