Difference between revisions of "LogMeIn"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Added to category "Silent Installers")
(WPKG install package: Logmein does not use hyphens or slashes in front of its commandline options)
Line 14: Line 14:
 
==WPKG install package==
 
==WPKG install package==
  
For a mixed 32 and 64-bit environment.
+
For a mixed 32 and 64-bit environment. Note that LogMeIn does not use hyphens or forward slashes in front of its commandline options.
  
 
<source lang="xml">
 
<source lang="xml">
Line 37: Line 37:
 
<upgrade 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% == x86 "%programfiles%\logmein\x86\logmein.exe uninstall' />
<downgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%programfiles(x86)%\logmein\x64\logmein.exe -uninstall' />
+
<downgrade cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%programfiles(x86)%\logmein\x64\logmein.exe uninstall' />
  
 
<downgrade cmd='%software%\logmein\logmeinsilent.exe' />
 
<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% == x86 "%programfiles%\logmein\x86\logmein.exe uninstall' />
 
<remove cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%programfiles(x86)%\logmein\x64\logmein.exe -uninstall' />
 
<remove cmd='%ComSpec% /c if %PROCESSOR_ARCHITECTURE% == AMD64 "%programfiles(x86)%\logmein\x64\logmein.exe -uninstall' />
 
    
 
    

Revision as of 14:51, 22 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>