Follow here: http://www.techadminspot.com/2010/05/automated-silent-install-script-for.html

Automated Silent Install Script for LogMeIn Free - UPDATED

 

Searching the web for a way to setup LogMeIn on my non-tech savvy friends computer without having to go to their homes I ran into the following post on msfn.org by slimbyte. a member of the forums. I would like to give him full credit for the post below.

LOGMEIN GUIDELOGO

Udemy Link: https://www.udemy.com/automate-logmein-free-install/ 

Update Dec 19, 2012 – Revised Guide and added PPT to http://bit.ly/UdIGGc 

Update Nov 6, 2010 – Orca is gone, New version of LogmeIn

Update. Sept, 1, 2010 : Thanks Camelot_One for the Update

Original info found here: http://www.msfn.org/board/Silent-Install-of-LogMeinmsi-t101432.html

PowerPoint Version here: http://bit.ly/UdIGGc

-----------------------

Lets get started with the guide

Download Clean copy of Logmein.MSI: External link 
Version 4.1.0.2634 as of 12.19.2012

1st Download InstED from http://www.instedit.com/ to analyze LogMeIn.msi

FYI | Correct command line is:

logmein.msi /q USERPASSWORD=pcpassword USERVERIFYPWD=pcpassword USEREMAIL=lmiwebsiteemail USERWEBPASSWORD=lmiwebsitepass LicenseType=0

 

Now we have to edit the MSI using InstEd

On the InstallExecuteSequence table:

image

1. right click on the right panel and select "Add Row": 
ACTION: GetLMIRegistrationCookie CONDITION: NOT Installed SEQUENCE: 3710 

2. right click on the right panel and select "Add Row": 
ACTION: LMIGetLicense CONDITION: NOT Installed SEQUENCE: 3730 

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

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

5. Right click SetX64Path and select "Drop Row". 

6. Right click SetX86Path and select "Drop Row". 

 

 

On the Property table:

image

1. find LICENSETYPE and change condition 
from: 5 
into: 0 
**next step not needed if you used the link above** 

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

 

 

Now you can also build your own .MSI using Inno Setup Compiler and deploy it.

image

--------------- Example Code -----------------

Script generated by the Inno Setup Script Wizard.
SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define _AppName "Customized LogMeIn"
#define _AppVer "4.1.1310"
#define _AppPublisher "LogMeIn"
#define _AppUrl "http://www.logmein.com"
#define _AppSetup "LogMeIn"

#define LmiUsrMail "email@email.com"
#define LmiUsrPass "password"
#define LmiPCCode "pcpassword"

[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}

WizardImageFile = files\SetupModern16.bmp
WizardSmallImageFile = files\SetupModernSmall16.bmp

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

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






 



Downloads


Download Logmein Free MSI File 

https://secure.logmein.com/logmein.msi 

Download MSI Editor InstED 

http://www.instedit.com/ 

Download Setup Compiler Inno Setup 

http://www.jrsoftware.org/isinfo.php