Automate Logmein Free Install

Helping family techs remote support their loved ones
Disclaimer : this tutorial is for

purposes only.

All images found on web, I own no rights to any images, http://www.flickr.com/photos/18090920@N07/5617089955

Overview
• The Logmein MSI could be installed in a network using the following
logmein.msi /q USERPASSWORD=pcpassword USERVERIFYPWD=pcpassword USEREMAIL=lmiwebsiteemail USERWEBPASSWORD=lmiwebsitepass LicenseType=0

• However many of us have remote users “family, friends” that we support • We all know to add a computer to logmein free we need to be on their computer, this is not always possible • And that is why you are reading this Guide

Change Log
DATE 12.19.2012 12.19.2012 LOGMEIN VER 4.1.2634 4.1.2634 NOTES Variable ACCOUNTEMAIL - removed Created PowerPoint Guide and Published

What you need
Download Logmein Free MSI File
– Download Latest Clean File: 4.1.2634 as of 12-19-2012
• https://secure.logmein.com/logmein.msi

Download MSI Editor “InstED , SuperOrca or Orca MSI”
– InstED – preferred

http://www.instedit.com/
Loved by: http://coolthingoftheday.blogspot.com/2009/02/dont-orca-it-insted-it-msi-editing-made.html

– SuperOrca “Orca Replacement”
• • http://www.pantaray.com/msi_super_orca.html http://www.softpedia.com/get/Authoring-tools/Setup-creators/Orca.shtml

– Orca MSI Editor

Download Setup Compiler “Inno Setup or Advance Installer”
– Inno Setup - preferred
• • http://www.jrsoftware.org/isinfo.php http://www.advancedinstaller.com/

– Advance Installer

Icons, graphics all found on web,

Files to download for this guide
Download Logmein Free MSI File
– Download Latest Clean File:
• https://secure.logmein.com/logmein.msi

Download MSI Editor “InstED , SuperOrca or Orca MSI”
– InstED – preferred
• http://www.instedit.com/

Download Setup Compiler “Inno Setup or Advance Installer”
– Inno Setup - preferred
• http://www.jrsoftware.org/isinfo.php
Icons, graphics all found on web,

Application Screenshots
• Screenshots of applications for your reference including my comments

SCREENSHOT - InstED
• Allows Drag and drop of application • More Features/Details
http://www.instedit.com/

SCREENSHOT - SuperOrca
• Allows Drag and drop of application
http://www.pantaray.com/msi_super_orca.html

SCREENSHOT - Orca
• Does not Allows Drag and drop of application • BASIC MSI Editor • Still good http://www.softpedia.com/get/Authoringtools/Setup-creators/Orca.shtml

SCREENSHOT -Inno Setup
• Simple to the point!!! • Used in this guide
http://www.jrsoftware.org/isinfo.php

SCREENSHOT – Advance Installer
• Lots of Features • Way more then we need
http://www.advancedinstaller.com/

Lets get started

Step 01 – Run MSI Editor

• Run your MSI Editor “InstED” • Open Logmein.msi file or Drag and drop into application

InstallExecuteSequence table:
add following 2 actions:

• action: GetLMIRegistrationCookie • condition: NOT Installed • sequence: 3710
• action: LMIGetLicense • condition: NOT Installed • sequence: 3730

InstallExecuteSequence table:
1. find CreateUser action and change condition from: CANCREATEUSER AND PASSWORDSOK="true" AND VersionNT AND REMOVE<>"ALL" into: VersionNT AND REMOVE<>"ALL"

2. find CreateUserSetProperty action and change condition from: CANCREATEUSER AND PASSWORDSOK="true" AND VersionNT AND REMOVE<>"ALL"
into: VersionNT AND REMOVE<>"ALL"

Property table:
1. find LICENSETYPE and change condition
from: 5 into: 0
**next step not needed if you used direct msi download link”

2. Right click on DEPLOYID and select "Drop Row"

Important note, since installers can be reversed make a LogMeIn account which only has the ability to add computers, then move them out of that user’s name. Once they are installed. Use this account for the following steps. To make an account login to your LogMeIn account and click users on the left hand side. Then add a new Administrator, and give that account the ability to Deploy Computers. When a new computer is added you will want to edit that user and remove rights to that computer if you choose to do it this way. http://samuelhaddad.com/2009/05/17/custom-free-silent-logmein-installer/

Save in New Folder “files”
• Click File, Save As • Make a New Folder
– “FILES” new name

• Save your logmein.msi inside that folder

• For this example I called the folder “FILES”
– This is where you will save your customized logmein msi and other files

EXTRA – SafeMode Logmein Start
• Run Notepad or any other text application • Copy and paste command below
echo y | reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SafeBoot\Network\LogMeIn" /VE /T REG_SZ /D "Service“

• Save as LOGMEINSAFE.bat in the same folder your saved your custom logmein.msi • Or save anywhere to setup manually
NOTE-1 | if logmein is the cause of normal boot up issues it will also stale Safe Mode with Networking! NOTE-2 | It May require updating with new releases, not likely, but maybe
Found script on: visit website to read comments http://adrianpopagh.blogspot.com/2010/04/starting-logmein-in-safe-mode-with.html

What it looks like
• Why does it have echo y | ?
– In the event you install it again on a computer with the reg edit made from before

Building the exe Package

Bob the Builder Image from: http://www.readingpublicmuseum.org/images/exhibitions/action_bob_web.jpg

Run Inno Setup Compiler
• Select Create a new empty script file

• Copy and paste the script on the next slide into Inno setup compiler

#define _AppName "Customized LogMeIn" #define _AppVer "4.1.2633" #define _AppPublisher "LogMeIn" #define _AppUrl "http://www.logmein.com" #define _AppSetup "LogMeIn" #define LmiUsrMail #define LmiUsrPass #define LmiPCCode "email@email.com" "logmein password" "computer password"

[Setup] AppName = {#_AppName} AppVerName = {#_AppName} {#_AppVer} AppPublisher = {#_AppPublisher} AppPublisherURL = {#_AppUrl} AppSupportURL = {#_AppUrl} AppUpdatesURL = {#_AppUrl} OutputDir =. OutputBaseFilename= {#_AppSetup} Compression = lzma SolidCompression = yes AppVersion = {#_AppVer} VersionInfoCompany = {#_AppPublisher} VersionInfoCopyright = {#_AppPublisher} VersionInfoTextVersion = {#_AppVer} VersionInfoVersion = {#_AppVer} CreateAppDir = no CreateUninstallRegKey = no UpdateUninstallLogAppName = no Uninstallable = yes DisableDirPage = yes DisableReadyMemo = yes DisableProgramGroupPage = yes DisableReadyPage = yes [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" [Files] Source: "files\logmein.msi"; DestDir: "{tmp}"; Flags: deleteafterinstall Source: "files\LOGMEINSAFE.BAT"; DestDir: "{tmp}"; Flags: deleteafterinstall

Magical Script

[Run] Filename: "{tmp}\LOGMEINSAFE.BAT" Filename: "{tmp}\logmein.msi"; Parameters: "USERPASSWORD={#LmiPCCode} USERVERIFYPWD={#LmiPCCode} USEREMAIL={#LmiUsrMail} USERWEBPASSWORD={#LmiUsrPass} LicenseType=free /q"; StatusMsg: "Installing and configuring LogMeIn! Please wait ..."; Flags: waituntilterminated shellexec

Copy and Pasting
Should look something like this

What you can change
• Go ahead and edit any of the #define fields
#define _AppName "Customized LogMeIn" #define _AppVer "4.1.2633" #define _AppPublisher "LogMeIn" #define _AppUrl "http://www.logmein.com" #define _AppSetup "LogMeIn" #define LmiUsrMail #define LmiUsrPass #define LmiPCCode "email@email.com" "logmein password" "computer password"

[Files] Source: "files\logmein.msi"; DestDir: "{tmp}"; Flags: deleteafterinstall Source: "files\LOGMEINSAFE.BAT"; DestDir: "{tmp}"; Flags: deleteafterinstall

Save your Inno Setup File
• Save your .iss in the folder before “FILES” as shown below • I saved mine as LOGMEIN YY.MM.DD.iss

Lets Compile
Click the compile icon or select build, then Compile

Watch it compile your files below

Test it out

Working as shown below

Uninstall Guides
• HOW TO UNINSTALL LOGMEIN FREE 4.X.X (Windows)
– http://crazyedy.com/tech/?p=486

Other Guides
So I went ahead a searched for everyone that had a guide to verify steps and compile this master guide. below is a list of them. • http://samuelhaddad.com/2009/05/17/custom-freesilent-logmein-installer/ • http://jonstechkb.blogspot.com/2008/07/createlogmein-quiet-installation-msi.html • http://www.msfn.org/board/topic/146463-logmeinsilent-installer-with-orca-editor/ • http://www.technibble.com/forums/archive/index.php /t-11335.html • http://keylase.blogspot.com/2010_02_01_archive.html • http://twelchsysad.wordpress.com/page/2/?appdownload=windowsphone