Rund um ... Biologie heute entdecken 2 (Teil 1)

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
  • Description: An educational software for Biology classes in German.

Prepare content for installation

The Software comes in 4 CDs, you can either simply copy the content of all 4 Discs into a folder or execute setup.exe on CD 1 with /a for administrative install which will lead copy all the content including an MSI installer into you %SOFTWARE%.

With a local installation on a client there will appear a message to select a CD-ROM drive as source all times, simply ignore the software will find its data when everything is locally installed.

Prepare a MST

Get Orca.exe from the Windows SDK to prepare a MST that you can pass to msiexec, create a new Transform which changes the following values:

Property

  • AgreeToLicense: Yes
  • SetupType: Complete
  • _IsSetupType: Complete
  • INSTALLEVEL: 150 (for a complete local install)
  • RebootYesNo: No

Shortcut

Remove the unnecessary shortcuts you don't want, leave at least the Icon for the Pfadfinder application:

  • NewShortCut1

MSI installer xml

<?xml version="1.0" encoding="UTF-8"?> 
<packages
        xmlns:xsi="http://www.wpkg.org/packages"
        xsi:noNamespaceSchemaLocation="../xsd/packages.xsd" >
	
	<package
		id="biologie_heute_2-t1"
		name="Rund um ... Biologie heute entdecken 2 (Teil 1)"
		revision="1"
		reboot="false"
		priority="100">

		<variable name="MSI_PKG" value="%SOFTWARE%\b\biologie_heute_2_t1\Rund um ... Biologie heute entdecken 2 (Teil 1).msi" />
		<variable name="TRANSFORM" value="%WPKGROOT%\packages\transforms\biologie_heute_2_t1\completeLocal_yours.mst" />

		<check type="uninstall" condition="exists" path="Rund um ... Biologie heute entdecken 2 (Teil 1)" />
	
		<!-- Install requires a transform for complete local installation -->
		<install cmd='msiexec /qn /i "%MSI_PKG%" TRANSFORMS="%TRANSFORM%" ALLUSERS=1' />

		<!-- Upgrade uses the same commands as install (there is no actual upgrade) -->
		<upgrade cmd='install' />

		<remove cmd='msiexec /qn /x {431CD81E-D6D1-42D0-BE0F-B9AB87298644}' />

	</package>
</packages>