Custom Free Silent LogMeIn Installer.

So there are already a few guides out there on how to make a Silent(In the sense that it don’t ask you for your username and password) LogMeIn installer. I am going to show you the way I do it with step by step instructions so that anyone can follow.  This tutorial will be broken into two parts. Part 1 is for customizing the LogMeIn installer. The second part is for making your own. Disclaimer this tutorial is for educational purposes only.

Part 1 – Customizing the Installer:

Last updatede on September 17, 2009 to reflect the newest version of LogMeIn version 4.0.0.966 (Sep 5 2009)

Get the tools that you will need to complete this job:

Download Orca – Orca is a MSI editor. It allows you to change the title and text of any MSI installer.
LogMeIn.com – Log into your LogMeIn account and download the installer. 

Download me in installer to a folder on your desktop. Make a copy and name it LogMeInClean.msi incase you corrupt your installer and have to restart.

Step 1: Edit the OnInstallExecuteSequence Table:

Find the installer you just downloaded and right click on it and select “Edit with Orca”

Find InstallExecuteSequence under the table list on the left hand side, then do the following: 

  1. Select GetDeployInfo under the action list. 
    Change: UILevel=2 AND UPGRADEPRODUCT<>1 AND InstallMode<>”Remove”
    into: UPGRADEPRODUCT<>1 AND InstallMode<>”Remove”         

  2. Right click on the right panel and select “Add Row”:
    ACTION: GetLMIRegistrationCookie
    CONDITION: NOT Installed
    SEQUENCE: 3710         

  3. Right click on the right panel and select “Add Row”:
    ACTION: LMIGetLicense
    CONDITION: NOT Installed
    SEQUENCE: 3730         

  4. Select CreateUser under the action list. 
    Change: CANCREATEUSER AND PASSWORDSOK=”true” AND VersionNT AND REMOVE<>”ALL”
    into: VersionNT AND REMOVE<>”ALL”         

  5. Select CreateUserSetProperty under the action list. 
    Change: CANCREATEUSER AND PASSWORDSOK=”true” AND VersionNT AND REMOVE<>”ALL”
    into: VersionNT AND REMOVE<>”ALL”         

  6. Right click on SetX64Path and select “Drop Row”
    Right click on SetX86Path and select “Drop Row”

Find Property under the table list on the left hand side, then do the following: under the table list on the left hand side, then do the following: 

  1. Select LICENSETYPE under the action list.”
    Change: 5
    into: 0       
  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.
     
  3. Right click on the right panel and select “Add Row”:
    property: USEREMAIL
    value: Your account’s email address  

  4. Right click o n the right panel and select “Add Row”:
    property:USERWEBPASSWORD
    value: Your account’s web login password
         

  5. Right click on the right panel and select “Add Row”:
    propertyUSERPASSWORD
    value: Password if no windows password present         

  6. Right click on the right panel and select “Add Row”:
    property: USERVERIFYPWD
    value: Password if no windows password present If you need to configure LogMeIn for a proxy look for the proxy settings in the action list.       

     

Then in Orca click File then Save. Make sure you do save and not save as, this is because Orca only saves the different changes, if you notice you have a tiny file like .5mb then you did it wrong. 

  

Part 2 – Making the Installer:

Get the tools that you will need to complete this job:

Download Inno SetupInno Setup is a free installer for Windows programs. 

Download the Setup Kit – A simple kit I have put together for you to create a custom installer. Change the images to meet your needs.
That is it, make sure you leave your comments.

 

Most of this information came from http://www.msfn.org/ by writting this post I hope to save you from digging through 8 pages of post, and give you the most relavent information for the newest version of LogMeIn.

 
Edit:
08/02/09:
Thank you Dale for pointing out a spelling mistake and an error.

62 comments

  1. WHOA! I gotta hand it to you Samuel, I’ve used LMI for years and thought there was a way to do this, but since I have no programming skills at all I never bothered. Thanks for “spelling out” the instructions for us non-programmer types! WORKS GREAT!

  2. Not having any luck with this. Keep getting an error in the application log on XP that:

    1.) “Product: LogMeIn — Error 1920.Service ‘LogMeIn’ (LogMeIn) failed to start. Verify that you have sufficient privileges to start system services.”

    2.) The description for Event ID ( 113 ) in Source ( LogMeIn ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: HTTP Listener, 0x00002740.

    3.) The description for Event ID ( 101 ) in Source ( LogMeIn ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: The event log file is corrupt..

    In the System logs I see an error of: “The LogMeIn service terminated with the following error: Only one usage of each socket address (protocol/network address/port) is normally permitted.”

    Any thoughts on what this may be? I’ve disabled Symantec AV

  3. Repent,
    This sounds like a LogMeIn issue more than an issue with the customized installer; I would try a few things first.

    1.) The first error mentions insufficient privileges, make sure that you are indeed an administrator on the machine.

    2.) You mentioned you disabled Symantec AV, do you have a full suite of Symantec, if so make sure you disable the Symantec firewall. The LogMeIn service terminated with the following error: Only one usage of each socket address (protocol/network address/port) is normally permitted.” Makes me think that you might have a firewall on.

    3.) Lastly try installing LogMeIn by itself without the customized script, and then we can figure out if it is an issue with LogMeIn or the modified version.

    Good luck and let me know what happens.

  4. I followed your steps to the letter. Everything went smoothly until I tried accessing a remote machine and it asked for the Computer Code. It says it’s a passcode that was setup when LogMeIn was installed. However, since I followed your steps of doing the silent install with almost no user intervention, I never saw a step of where to enter the computer code.
    Any help would be greatly appreciated.

    Thanks in advance!

  5. Step 4, 5 and 6

    4.Right click o n the right panel and select “Add Row”:
    property:USERWEBPASSWORD
    value: Your account’s web login password

    In step 4 the value is set to: Your account’s web login password this is not literal, but rather your current accounts password.

    5.Right click on the right panel and select “Add Row”:
    propertyUSERPASSWORD
    value: Password if no windows password present

    This is going to be the passcode you are describing.

    6.Right click on the right panel and select “Add Row”:
    property: USERVERIFYPWD
    value: Password if no windows password present If you need to configure LogMeIn for a proxy look for the proxy settings in the action list.

    Here is the verified password to make sure you typed it right in step 5

    So in short, change the values in steps 4,5 and 6 to be the ones you want. Let me know if you need more help.

  6. Samuel,
    Quick question, I need to deploy this over a network, and I am using PsExec to do that. I think I need to have the installer auto install when you run it. In other words, I don’t want the client to have to click “Next” requiring physical intervention to actually install it. Is there a way to set this up in the scripting process? Thanks for your advice and your expertise. AS you can tell, I have no programming experience, perhaps the question has a very simple answer.

    thanks again, the installer you’ve helped me create works AWESOME!

  7. Warwick I believe you have two options,

    Instead of packaging LogMeIn, into the Inno setup, you could use the modified LogMeIn installer you made and run it from the command it would look something like:
    modifiedlogmein.msi /quite

    Or using the Inno setup you created, from the command line you could run:
    InnoLogMeInInstaller.exe /sp- /verysilent /norestart

    Here /sp- gets rid of the “Next” prompt. The flag /verysilent makes the install silent, no windows no progress bars, if you do not want that you could use /silent which i believe will display a progress bar. The flag /norestart will make sure a restart doesn’t happen if needed and will wait for the user to restart.

    If you are deploying the app via psexec, you can change the flags to meet your needs.

    Good luck and let me know how it works,
    Sam

  8. Is it possible to use Inno to take the modifiedlogmein.msi and package it with the silent switches already included? That way I could have my users run the file, via a login script, but not have any interaction with it?

  9. When i try to run the modifiedlogmein.msi I receive “Internal error 2717, GetDeployInfo” Error. I have tried to modify the installer three times now with the same results. The unmodified installer works fine. What am i doing wrong?

  10. Great directions. However, I am using the newest verison (just came out). There is no LICENSETYPE under property to set to free. There is a LicenseType but is set to 5. My install does install but does not connect to my logmein account. Any thoughts.

    Thanks again.

  11. I am also getting the same problem as tim…everything works great but does not connect to my logmein account

  12. These instructions are for the older version of LogMeIn. I have not had a chance to try with the new version of LogMeIn. When I figure it out I will update my directions accordingly.

  13. Jim, try setting the license type to 0 for Free and let me know if that works. As soon as I get a chance I will test this myself. Probably sometime this weekend.

  14. I have played with this quite a bit. I believe that the free version is 4. I have run the msi manually and everything goes through except when it gets to the profile. It prompts for the profile. I think that is were it gets hung up. It does not know the profile to choose. So it does not connect. I dont see anything where you can choose the default profile. Any thoughts anyone??

  15. Tim,

    I just made a new MSI and tested it on a clean operating system. I got it to work when I set the license type to 0 for free that was the only difference. I would be happy to work with you to try and get yours working. Just shoot me an e-mail.

  16. Hi Sam. Nope does not attach for me. Started with a fresh msi and followed your directions. I use a bat files as follows logmein.msi” /quiet USERPASSWORD=password USERVERIFYPWD=password USEREMAIL=email address USERWEBPASSWORD=webpassword LicenseType=0

    and it does not attached. If I run it manually. It does have the necessary information in the right spots. Except for the profile. Which I have to select from the drop down list. We have 4 profiles. I am wondering if that is the issue. Because is I do select a profile it does attached. It is when I run the bat file it doesnt.

    Thanks
    Tim

  17. Tim,

    I do not use profiles, but try this and let me know if it works.

    on InstallExecuteSequence table add following:
    action: LMIGetLicenseForProfile condition: NOT Installed sequence: 3720

    in addition to everything else.

  18. Sam, I added that and it does not attached. But I did verify that is the issue. I Created a new logmein account without any profiles and modified the MSI accordingly and it attached just fine. So it is the profile that is causing the trouble. There must be a setting to tell it which profile to default to. I will play with it some more. If you have any thoughts let me know.

    Thanks
    Tim

  19. Tim,

    When I get some spare time I will look into the profile issue as well, please report back to us if you figure it out.

  20. Tim,

    I just noticed that on the property table there is an attribute profiles, currently mine says none with some characters after it. Maybe you could try changing that to the name of your profile.

  21. Tim,

    One last idea, so in my tutorial I suggest making a second account just for deploying computers, why not make this account only have access to the profile you want the computers in. For example create a deploylogmein account with only access to Work computers or something along those lines. Then the installer will not prompt for profile. You can also give this account only the ability to deploy computer and this is better from a security stand point in case someone reverses your installer. This deploy account can have a separate username and password then your main account. That should solve your problems.

  22. Sam,I saw that profiles and tried that one already. Did not work. I think that is used to determine if a profile exists then it enables or disables the prompt to choose a profile. There must be a place to save the selected profile because it does save the selection.

    I am not sure your last idea will work. We have hundreds of computers in various profiles. We want to move them all to one profile without having to go to that computer. We can send this msi to the customer and then run it and it does what we want.

    Tim

  23. Tim,

    Why wouldn’t the secondary account work. This is what I do for my computers for example. Let is say you have an account Admin and it is your primary account, and a second account named NonAdmin. You can give the NonAdmin access to only the profile that you want it to have access to, for example the profile work computers. Then you give it deploy privileges. Use the NonAdmin account that to make the MSI. When it binds to the LogMeIn account all the computers would be added to that one work profile. They will still be accessible by the Admin account, the second account would only be used for deploying and could be considered a throwaway account.

    I think this make sense, I could be wrong as I do not use profiles, but I believe that is how it would work. What are your thoughts?

  24. Hi,

    Your article is very helpful!! However, I couldn’t find the place to add dd a new Administrator. Could you please tell me where did you see that?

    And for the setup kit, I see some entries with “Change me”. Do I just change that to whatever? I left some entries as it – “Change me” . For ex: AppVersion = Change me
    But when I run the installer, I didn’t even see it during the installation…. or because I am using the newest version?? my is 4.0.982?

  25. Henry,

    You can create the administrator account at Logmein.com, go to the computers and on the left hand side it says user, you can set everything up there.

    Also on the setup kit you can change “change me” to whatever you want. The version number are things that usually show up under the exe properties when you right click on an application and do properties. How ever this is different depending on the operating system and your settings.

    Let me know if you need anything else.

  26. I see what you are getting at. This tutorial was written based on the older LogMeIn when you could add secondary users for free. According to the LogMeIn support pages…

    “In order to create Users you must have LogMeIn Central. By creating Users in your LogMeIn account, you can allow remote access to one or more of your computers. You can assign specific permissions to your Users, or you can grant Full Control of the account. The only restriction placed on a User that has Full Control is the inability to edit the billing information in the account. ”

    You might be able to setup up secondary uses on a LogMeIn central trial.

  27. In version 4.0.982 (possibly other versions prior to this), LicenseType=1 for the free version. If you look in the RadioButton Table of the msi, it lists the available LicenseTypes and their values, which in this case are only Free and Pro2.

    Hope that helps.

  28. Hi,

    I’ve been using ORCA to view and edit the msi file (for a silent install), but so far have been unable to find any reference to the ‘Host side users consent’ settings? It would be great if I could set these before I roll out the customised install package, otherwise I will need to connect onto approx 180 machines and change the settings manually!!!

    I need to…

    Edit the popup text box warning the user I am connecting.
    Change the timeout option
    Change the Never wait for user consent in these situations

    and this would be nice to have…

    Reject/allow request (default is allow, but reject may be handy)

    I’ve been hunting the internet for a few days but have not found anything yet.

    Any info you could provide would be a great help!

    Regards

    Adam

  29. This doesnt seem to work on the latest version, I too have the same error that I am unable to connect to server.

    It wants me to re-enter the account info.

    Any suggestions?

    Thanks
    Mark

  30. Thank you sir. I haven’t tried this yet, but just the time and effort you put into this is much appreciated. It is something I could definitely use and will be giving it a try soon. Thanks again Samuel, this sure is nice for the non-programmers and semi-programmers like me that do a lot of other tech work. Wow. Just thank you!

  31. For users with multiple profiles, I have found a way to auto select the profile you want your silent installer to use. Follow the steps below:

    First you must get your profile ID:

    1. Go to your logmein website, login. If you have multiple profiles you will have a drop down box in the upper right hand corner of your screen.

    2. View the source of the webpage. In the source of the page look for something similar to the following.

    My Personal ProfileUser of SECONDPROFILE

    3. Copy the ####### related to the profile you want to use for your installer.

    4. In Orca you want to change the PROFILES property in the PROPERTIES Table from: none6B29EFDBD4384A3DA53D9CD319BA1B2E to the number you coppied from your source file.

    NOTE : BE VERY CAREFUL ! DOUBLE CHECK IT WORKS. IF YOU USE THE WRONG NUMBER THERE IS A VERY GOOD CHANCE YOU WILL INSTALL IT TO SOMEONE ELSE’s LOGMEIN ACCOUNT !

    Enjoy !

  32. Great tutorial. WORKS PERFECTLY

    I am using the latest verion of LMI
    People – use license type 1 for the Free version.

    THANKS

  33. Hi.
    i read about Gr8tful Users entry about profiles,.
    We have logmein central+ free and is this the same as Computer Groups ?
    It would be nice if it was possible to put it the right group.
    Also were exactly can i find the profile string?
    I found one but its only 7digits, is this correct one? cause it doesn’t work..

    //Best Regards Anders

  34. I have tried this instruction and it is really great. However, is there a way that I can disable the popup notification that I am currently accessing the computer or client computer? If there is, please let me know. I greatly appreciate it. Thank you very much! 🙂

  35. I am not sure of a way. Nor would I advocate it. It would make LogMeIn very dangerous if one could just take over without any notification.

  36. hi, i follow instructions and all it’s allright but one thing again…when the remote session start on host PC, that to control, onto this one appear on top of the screen a tab with written “LogMeIn – Remote Session”…so my question is this: is there a way that alloe me to hide this tab when i start a remote session?
    thanks a lot for answers

  37. Hey Samuel,
    Firstly Thanks a million for this tutorial!

    I followed your instructions exactly but when when I launch the LogMeInSilent.msi /quiet nothing happens.

    > The installation is launching itself when I click on it (without the quiet mode)
    > No Firewall and no security restrictions
    > Maybe a problem with Seven 64bits and the last version of LMI?

    any ideas?

  38. Samuel,

    I followed every step and input accurate information and the necessary email and pw. However, when I have done all and compiled it with INNO. I have come up with the REMOTE file. Tried to install it and it was silent, however, my problem is that it wont show up on my LOGMEIN account when I login. I also look at my Control Panel to see if it is installed but there is none on the list.

    Also, I tried to run the Logmein that was edited with orca, before compiling with INNO, everything is working and the boxes are populated well. On the last part of installation, I saw a notification “The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2717.”

    For the FREE version, I have used the number 1 instead of 0. My version is 4.0.982. Please help me and enlighten me.

    Thank you very much! 🙂

  39. Are you using Multiple profiles? If so you should read the comment by Gr8tful user in the comments section.

  40. Samuel,

    Great to have a reply from you. In response to your query, I am not using a multiple profile. The error is still the same. That is the only problem I have.

    Thank you very much! 🙂

  41. On what part in the installer/msi wherein I can uncheck the disable wallpaper? I have looked all over using orca but to no avail. Thank you.

  42. I am having the exact same issue as Mr.Nice.Guy. I don’t have multiple profiles. It is very strange.

  43. Intresting, not sure if anyone else has any insight, as I have not had time to look into this issue.

  44. Nevermind, it works awesome when you type everything in right… make sure to use License = 1

  45. Are you using Multiple profiles? If so you should read the comment by Gr8tful user in the comments section.

  46. Hi Sam-

    I followed the above tut,but can not access the machine keeps prompting the wrong access code I entered as u see below—->

    property:USERWEBPASSWORD
    value:password

    propertyUSERPASSWORD
    value:password

    property: USERVERIFYPWD
    value:password

    Is there a value I need to hardcode my own access code and my remote computer will have that code, please anyone if you can help me thank you.

  47. I’m getting “Internal Error 2717. CreateUserSetProprety” error on version 4.1.1310. Anyone get this work?

Leave a Reply