Difference between revisions of "VCmaster"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (VCmaster 2014)
(new version)
Line 1: Line 1:
 
[http://www.vcmaster.com/ VCmaster] is an commercial text editor software with the ability to calculate within the text. For all kind of use, a license is required. The former name was Bautext.
 
[http://www.vcmaster.com/ VCmaster] is an commercial text editor software with the ability to calculate within the text. For all kind of use, a license is required. The former name was Bautext.
 +
 +
The installation depends on the installation of [[Ghostscript]] (see there). Versions 2013 and earlier need to be removed manually before installation.
 +
Normally there is a main-version once a year and cumulative patches in the time between.
  
 
==VCmaster 2014==
 
==VCmaster 2014==
 
<source lang="xml">
 
<source lang="xml">
<package id="vcmaster" name="VCmaster" revision="%version%" priority="1" >
+
<package id="vcmaster" name="VCmaster" revision="%spversion%" priority="1" >
 
<depends package-id="ghostscript"/>
 
<depends package-id="ghostscript"/>
 
<variable name="version" value="2014" />
 
<variable name="version" value="2014" />
<check type="uninstall" condition="exists" path="VCmaster" /><!--at the moment there is no easy way to detect the installed version -->
+
<variable name="spversion" value="2014.0" />
 +
 
 +
<check type="file" condition="versiongreaterorequal" path="%ProgramFiles(x86)%\VCmaster\VCmaster.exe" value="%spversion%" />
 +
 
 
<commands>
 
<commands>
<!-- note that upgrading from older versions is not testet and not handeled a.t.m. -->
+
<command type="install" cmd='%comspec% /C start "Installer" /WAIT "%SOFTWARE%\VCmaster\VCmaster%version%\install.exe" /PRGFILES="%ProgramFiles(x86)%\VCmaster" /LIBFILES="\\Server\VCmaster-Vorlagen" /NAME="Licensename" /CODE="V14-XXXXXXXXXXXX" /WITHLIB=no /verysilent /LANG=de' >
<command type="install" cmd='%comspec% /C start "Installer" /WAIT "%SOFTWARE%\VCmaster\VCmaster2014\install.exe" /PRGFILES="%ProgramFiles(x86)%\VCmaster" /LIBFILES="\\server\or\local\directory\VCmaster-Vorlagen" /NAME="license name" /CODE="license code" /WITHLIB=no /verysilent /LANG=de' />
+
<condition>
<command type="upgrade" include="remove" />
+
<check type="file" condition="versionsmallerthan" path="%ProgramFiles(x86)%\VCmaster\VCmaster.exe" value="%version%" />
 +
</condition>
 +
</command>
 +
<command type="install" cmd='%comspec% /C start "Installer" /WAIT "%SOFTWARE%\VCmaster\VCmaster2014\Install_VCmaster_Patch%spversion%.exe"' >
 +
<condition>
 +
<check type="file" condition="versionsmallerthan" path="%ProgramFiles(x86)%\VCmaster\VCmaster.exe" value="%spversion%" />
 +
</condition>
 +
</command>
 +
<command type="upgrade" include="remove" >
 +
<condition>
 +
<check type="file" condition="versionsmallerthan" path="%ProgramFiles(x86)%\VCmaster\VCmaster.exe" value="%version%" />
 +
</condition>
 +
</command>
 
<command type="upgrade" include="install" />  
 
<command type="upgrade" include="install" />  
<!-- note: versions before 3014 stored unins00x.exe in systemroot -->
 
 
<command type="remove" cmd='%COMSPEC% /c "IF EXIST "%ProgramFiles(x86)%\VCcmaster\unins000.exe" "%ProgramFiles(x86)%\unins000.exe" /SILENT' />  
 
<command type="remove" cmd='%COMSPEC% /c "IF EXIST "%ProgramFiles(x86)%\VCcmaster\unins000.exe" "%ProgramFiles(x86)%\unins000.exe" /SILENT' />  
 
</commands>
 
</commands>

Revision as of 14:05, 13 November 2013

VCmaster is an commercial text editor software with the ability to calculate within the text. For all kind of use, a license is required. The former name was Bautext.

The installation depends on the installation of Ghostscript (see there). Versions 2013 and earlier need to be removed manually before installation. Normally there is a main-version once a year and cumulative patches in the time between.

VCmaster 2014

<package id="vcmaster" name="VCmaster" revision="%spversion%" priority="1" >
	<depends package-id="ghostscript"/>
	<variable name="version" value="2014" />
	<variable name="spversion" value="2014.0" />

	<check type="file" condition="versiongreaterorequal" path="%ProgramFiles(x86)%\VCmaster\VCmaster.exe" value="%spversion%" />

	<commands>
		<command type="install" cmd='%comspec% /C start "Installer" /WAIT "%SOFTWARE%\VCmaster\VCmaster%version%\install.exe" /PRGFILES="%ProgramFiles(x86)%\VCmaster" /LIBFILES="\\Server\VCmaster-Vorlagen" /NAME="Licensename" /CODE="V14-XXXXXXXXXXXX" /WITHLIB=no /verysilent /LANG=de' >
			<condition>
				<check type="file" condition="versionsmallerthan" path="%ProgramFiles(x86)%\VCmaster\VCmaster.exe" value="%version%" />
			</condition>
		</command>
		<command type="install" cmd='%comspec% /C start "Installer" /WAIT "%SOFTWARE%\VCmaster\VCmaster2014\Install_VCmaster_Patch%spversion%.exe"' >
			<condition>
				<check type="file" condition="versionsmallerthan" path="%ProgramFiles(x86)%\VCmaster\VCmaster.exe" value="%spversion%" />
			</condition>
			</command>
		<command type="upgrade" include="remove" >
			<condition>
				<check type="file" condition="versionsmallerthan" path="%ProgramFiles(x86)%\VCmaster\VCmaster.exe" value="%version%" />
			</condition>
		</command>
		<command type="upgrade" include="install" /> 
		<command type="remove" cmd='%COMSPEC% /c "IF EXIST "%ProgramFiles(x86)%\VCcmaster\unins000.exe" "%ProgramFiles(x86)%\unins000.exe" /SILENT' /> 
	</commands>
</package>