1. Home
  2. Knowledge Base
  3. Versiondog Server
  4. Tutorials
  5. Update
  6. KB-132933: Creating an MSI package for installing versiondog

KB-132933: Creating an MSI package for installing versiondog

Creating an MSI package for installing versiondog

Note

The MSI package is subject to a charge and is available from us as a service on request. Contact your AUVESY contact

person for this purpose.

Why is an MSI package required?

MSI is the file format used by Microsoft for installation packages. It enables central software distribution, i.e. installing, saving or deleting software via a software distribution tool.

The exact implementation used for an update via MSI package is determined by the packaging software used in your company. Please carry out the necessary steps for this.

How do I create an MSI package?

To begin with, you should check in the software management tool whether it is mandatory to create an MSI package or whether the installation of the software is also possible with the help of the setup and corresponding scripts.

Alternatively, an MSI package can be created using a helper tool such as MSIWrapper. One example of this is exemsi.com/.

What do I require for an MSI package?

For an MSI package, you need a setup and a set of scripts that perform the required actions.

Creating MSI packages for clients

Note

An update of the BackupClient is not possible this way as this application requires a database migration. If you use

the BackupClient, it must be updated via SmartUpdate or manually.

For an update via script/MSI package, the following steps must be performed:

  1. Empty the installation directory of the client applicationsE.g. C: Program Files (x86)vdogClient
  2. Copy the contents of the following folders from the server archive into the client applications installation directory: –…: vdServerArchivevdog client setupbinclient…: vdServerArchivevdog client setupbincommon

Example for a batch script to update client applications:

$var1=’C: Program Files (x86)vdogClient'
$var2=’z: vdServerArchivevdog client setupbinclient*'
$var3=’z: vdServerArchivevdog client setupbincommon*'
rd -r $var1
md $var1
copy -r $var2 $var1
copy -r $var3 $var1

Creating MSI package for clients using Silent Setup

Note

Creating an MSI package with Silent Setup requires a separatesetup.inifile. The samesetup.inicannot be used as for the client installation without Silent Setup described above.

Example for a filesetup.ini:

Thesetup.inifile must be placed in the setup directory.

[Common]
Mode=client_silentinstall
Dst=C:Program Files (x86)vdogClient
RootDirAdmin=C:UsersPublicDocumentsvdCA
Language=EN
AcceptLicense=Y

Example of a batch script that must be specified as a setup function in the MSI wrapper:

del "%public%DesktopAdminClient*.lnk"
del "%public%DesktopEasyClient*.lnk"
del "%public%DesktopReportClient*.lnk"
del "%public%DesktopUserClient*.lnk"
rmdir /S /Q "%AllUsersProfile%MicrosoftWindowsStart MenuProgramsversiondog"
rmdir /S /Q "%ProgramFiles(x86)%vdogClient"
setup.exe

Creating an MSI package for the server

Warning

Installing the server via MSI package is not recommended.

For an update via script/ MSI package, the following steps must be performed:

  1. Empty the installation directory of the serverE.g. C: Program Files (x86)vdogClient
  2. Copy the contents of the following folders from the server archive into the server’s installation directory:

  3. …:vdog Server setupbinclient

  4. …:vdog Server setupbincommon

Example 1 for a batch script to update the server:

Net stop vdogMasterService
$var1='C:Program Files (x86)vdogServer'
$var2='z:vdog server setupbinclient*'
$var3='z:vdog server setupbincommon*'
rd -r $var1
md $var1
copy -r $var2 $var1
copy -r $var3 $var1
net start vdogMasterService

Last update: September 15, 2023

Related Articles

IMPRINT | PRIVACY POLICY | COOKIE POLICY

Privacy Preference Center