Difference between revisions of "Symantec ghost console client"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 11: Line 11:
 
priority="18">
 
priority="18">
 
<check type="uninstall" condition="exists" path="Symantec Ghost Console Client" />
 
<check type="uninstall" condition="exists" path="Symantec Ghost Console Client" />
<install cmd='msiexec /qn /norestart /i "%SOFTWARE%\ghost-client\Client.msi" GHOSTCONSOLESERVERNAME="" ' >  
+
<install cmd='msiexec /qn /norestart /i "%SOFTWARE%\ghost-client\Client.msi" GHOSTCONSOLESERVERNAME="your-server-name-here" ' >  
 
<exit code="3010" />
 
<exit code="3010" />
 
</install>
 
</install>

Revision as of 13:30, 15 February 2007

Symantec Ghost 8 Console Client

This is a silent installer for Symantec Ghost 8 Console Client. It uses MSI, so it is really simple to take care of. The only little thing is the variable which sets the Ghost Console Server name. The below example forces the installer not to reboot, as i don't want a user session to be suddendly rebooted without asking. After package is installed, it sets up a firewall rule to allow server to client communication.

<package
	id="ghost-client"
	name="ghost-client"
	revision="1"
	reboot="false"
	priority="18">
	<check type="uninstall" condition="exists" path="Symantec Ghost Console Client" />
	<install cmd='msiexec /qn /norestart /i "%SOFTWARE%\ghost-client\Client.msi" GHOSTCONSOLESERVERNAME="your-server-name-here" ' > 
		<exit code="3010" />
	</install>
	<install cmd='cmd /c netsh firewall set allowedprogram "%PROGRAMFILES%\Symantec\ghost\ngctw32.exe" "Norton Ghost" ENABLE' />
	<remove cmd='msiexec /norestart /x "%SOFTWARE%\ghost-client\Client.msi"' />
</package>