14
edits
Changes
Created page with "A silent installer for v14 of Novell/MicroFocus Groupwise client. This package requires assumes that you have repackaged your groupwise installer into groupwise.7z, and that..."
A silent installer for v14 of Novell/MicroFocus Groupwise client.
This package requires assumes that you have repackaged your groupwise installer into groupwise.7z, and that you have 7za.exe in your WPKG tools directory.
Note that the whole path for the installer is in the zip file, and that it's being extracted to the root of the C: drive. Please adjust the script as needed.
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="novell-groupwise"
name="Groupwise"
revision="%version%"
priority="20"
reboot="true">
<variable name="version" value="14.2.1.125534" />
<check type="uninstall" condition="versiongreaterorequal" path="GroupWise" value="%version%" />
<install cmd="%software%\wpkg\tools\7za.exe x "%software%\Novell\groupwise.7z" -oC:\ -aoa" />
<install cmd="%COMSPEC% /C "C:\Software\gw2014-r2-sp1-hp2\win32\install.bat" /silent" />
<upgrade include="install" />
<remove cmd="powershell.exe -Command "&{ Get-WmiObject -Class Win32_Product -Filter \"Caption = 'groupwise'\" | ForEach-Object { Start-Process -FilePath msiexec.exe -ArgumentList \"/x $($_.IdentifyingNumber) /qn /norestart\" -Wait } }"" />
<remove cmd="%COMSPEC% /C if exist "C:\Software\gw2014-r2-sp1-hp2" rmdir /S /Q "C:\Software\gw2014-r2-sp1-hp2"" />
</package>
</packages>
</source>
[[Category:Silent Installers]]
This package requires assumes that you have repackaged your groupwise installer into groupwise.7z, and that you have 7za.exe in your WPKG tools directory.
Note that the whole path for the installer is in the zip file, and that it's being extracted to the root of the C: drive. Please adjust the script as needed.
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="novell-groupwise"
name="Groupwise"
revision="%version%"
priority="20"
reboot="true">
<variable name="version" value="14.2.1.125534" />
<check type="uninstall" condition="versiongreaterorequal" path="GroupWise" value="%version%" />
<install cmd="%software%\wpkg\tools\7za.exe x "%software%\Novell\groupwise.7z" -oC:\ -aoa" />
<install cmd="%COMSPEC% /C "C:\Software\gw2014-r2-sp1-hp2\win32\install.bat" /silent" />
<upgrade include="install" />
<remove cmd="powershell.exe -Command "&{ Get-WmiObject -Class Win32_Product -Filter \"Caption = 'groupwise'\" | ForEach-Object { Start-Process -FilePath msiexec.exe -ArgumentList \"/x $($_.IdentifyingNumber) /qn /norestart\" -Wait } }"" />
<remove cmd="%COMSPEC% /C if exist "C:\Software\gw2014-r2-sp1-hp2" rmdir /S /Q "C:\Software\gw2014-r2-sp1-hp2"" />
</package>
</packages>
</source>
[[Category:Silent Installers]]