Difference between revisions of "LogMeIn"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Added uninstall keys section)
(Uninstall keys: Added new key)
Line 56: Line 56:
 
<!-- Remove version 4.1.0.1868 -->
 
<!-- Remove version 4.1.0.1868 -->
 
<remove cmd='msiexec /qn /x {57573545-74EB-46D2-B362-AA05364E4ED8}' />
 
<remove cmd='msiexec /qn /x {57573545-74EB-46D2-B362-AA05364E4ED8}' />
 +
<!-- Remove version 4.0.784 -->
 +
<remove cmd='msiexec /qn /x {7F831576-6246-42C7-B523-55B3F96509CC}' />
 
</source>  
 
</source>  
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 16:06, 24 August 2011

Silent installer for LogMeIn

LogMeIn is software for remotely managing PCs. The enterprise version comes with built-in functionality for silent installation via Group Policy, but the free version requires you to edit the installer file manually to insert your own details.

Creating a silent installer

  1. Download the original MSI file from here
  2. Download InstEd from [www.instedit.com here] and install it
  3. Follow the instructions on this post. The author describes the steps using the Orca MSI editor, but InstEd works in exactly the same way. Make sure all the passwords you enter meet or exceed the logon domain password policy, if any
  4. Save the resulting MSI file as logmeinsilent.msi in a folder called logmein in your WPKG software folder

You will need to do this with each new version.

WPKG install package

For a mixed 32 and 64-bit environment. Note that LogMeIn does not use hyphens or forward slashes in front of its commandline options.

<?xml version="1.0" encoding="UTF-8"?> 
<packages>
 
<package
	id="logmein"
	name="LogMeIn"
	revision="%version%"
	priority="50">
 
	<variable name="version" value="4.1.0.1868" />
 
	<check type="logical" condition="or" >
		<check type="file" condition="versionequalto" path="%programfiles%\LogMeIn\x86\logmein.dll" value="%version%" />
		<check type="file" condition="versionequalto" path="%programfiles(x86)%\LogMeIn\x64\logmein.dll" value="%version%" />
 	</check>
  
	<install cmd='%software%\logmein\logmeinsilent.exe' />

	<upgrade cmd='%software%\logmein\logmeinsilent.exe' />

	<downgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 "%programfiles%\logmein\x86\logmein.exe uninstall' />
	<downgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%programfiles(x86)%\logmein\x64\logmein.exe uninstall' />

	<downgrade cmd='%software%\logmein\logmeinsilent.exe' />

	<remove cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == x86 "%programfiles%\logmein\x86\logmein.exe uninstall' />
	<remove cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%programfiles(x86)%\logmein\x64\logmein.exe -uninstall' />
  
</package>
 
</packages>

Uninstall keys

Useful when the above uninstall command doesn't work correctly

<!-- Remove version 4.1.0.1868 -->
<remove cmd='msiexec /qn /x {57573545-74EB-46D2-B362-AA05364E4ED8}' />
<!-- Remove version 4.0.784 -->
<remove cmd='msiexec /qn /x {7F831576-6246-42C7-B523-55B3F96509CC}' />