News: Contact us to upgrade your software!

Author Topic: Silent Installation - 5.8.11  (Read 31764 times)

Ginny

  • Guest
Silent Installation - 5.8.11
« on: July 14, 2010, 08:24:30 AM »
Starting with version 5.8.11, we switched over from the old style installshield install to the Microsoft installation service.
There are a couple of ways you can do a quiet install of HyperSizer 5.8.11.

1. You can let an admin install via Active Directory.  These instructions are included in our latest install manual.  This is a way that the admin can "push" the install package to users without requiring the admin to log in.  They just set up the install in active directory, then the user reboots his computer and HyperSizer will install when the reboot occurs.

2. A second way to do a silent install is to log into the target machine as admininistrator, then open up a command prompt and type:

msiexec /qn /i <drive>:<path>\hypersizer_version_5.8.11.msi

In either case, if you put a file in the same folder as the msi file called config.xml, you can customize the install folders with the following lines:

<INSTALLDIR>C:\Program Files\HyperSizer</INSTALLDIR>
<DATABASEDIR>C:\HyperSizer Data</DATABASEDIR>
<INSTALLDATABASEFILES>TRUE</INSTALLDATABASEFILES>
<INSTALLDATABASEWORKGROUP>TRUE</INSTALLDATABASEWORKGROUP>

The first two flags (INSTALLDIR, DATABASEDIR) should be pretty self explanatory as options you would normally type during the install process.

The third and fourth flags indicate whether or not to install the HyperSizer Template and Workgroup Databases respectively.  Normally this would be true, but if you have a central template database that has company materials for example, then you would not want to install a template database on the users computer but rather have them point to the central computer template.

You can get all of the options for the msiexec command by typing "msiexec /?".  There are a lot of different ways that it can be run.
« Last Edit: February 03, 2011, 11:16:01 AM by Phil »