Jump to content

Silent Install of LogMein.msi


ceez

Recommended Posts

Looking at the code you posted, the three things that pop out are: make sure you are using the desired computer password in place of "pcpassword", make sure your passwords (both web and pcpassword) don't contain spaces or special characters, and make sure the entire thing is on one line. Your code tag makes it look like LicenseType=free is on a separate line, and it shouldn't be.

To answer your original question though, I would think that admin rights would be required to install using the silent method. The msi has to create a new user account (logmeinremoteuser) which Windows would prevent on a limited user. It nothing else you might try running the installer under and admin account, just to see if that is all your problem is.

Link to comment
Share on other sites

  • 3 weeks later...

OK, i have read the whole post, and did this brief, with some information/testing of my own.

I have tried all that i have put here, and it works 100% for me, on XP SP2.

***** Starting *****

1. Download ORCA (http://www.technipages.com/download-orca-msi-editor.html)

2. Download LogMeIn.msi (http://www.logmein.com)

3. Copy LogMeIn.msi to LogMeInSilent.msi (so you have a original in case you need to restart)

4. Use Orca to edit LogMeInSilent.msi as follow:

***** On InstallExecuteSequence Table *****

1. find GetDeployInfo action and change condition

from: UILevel=2 AND UPGRADEPRODUCT<>1 AND InstallMode<>"Remove"

into: UPGRADEPRODUCT<>1 AND InstallMode<>"Remove"

2a. right click on the right panel and select "Add Row":

ACTION: GetLMIRegistrationCookie CONDITION: NOT Installed SEQUENCE: 3710

2b. right click on the right panel and select "Add Row":

ACTION: LMIGetLicense CONDITION: NOT Installed SEQUENCE: 3730

IMPORTANT: I HAVE *NOT* creted the next row (2c) as it is say to generates a profile warning popup.

2c. right click on the right panel and select "Add Row":

ACTION: LMIGetLicenseForProfile CONDITION: NOT Installed SEQUENCE: 3720

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"

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

5b. Right click SetX86Path and select "Drop Row".

***** On Property Table *****

1. find LICENSETYPE and change condition

from: IT

into: free

2. Right click DEPLOYID and select "Drop Row"

3a. right click on the right panel and select "Add Row":

PROPERTY: USEREMAIL VALUE: your account's email address

3b. right click on the right panel and select "Add Row":

PROPERTY: USERWEBPASSWORD VALUE: your account's web login password

3c. right click on the right panel and select "Add Row":

PROPERTY: USERPASSWORD VALUE: win password if no windows password present

3d. right click on the right panel and select "Add Row":

PROPERTY: USERVERIFYPWD VALUE: win password if no windows password present (again)

NOTE: There are other rows that can be added this way, if needed:

PROPERTY: ProxyServer VALUE: proxy server, for example, proxy01

PROPERTY: ProxySettings VALUE: ???

PROPERTY: ProxyPort VALUE: proxy server port, for example 8080

PROPERTY: ProxyUserName VALUE: proxy server user

PROPERTY: ProxyPassword VALUE: proxy server pass

PROPERTY: ProxyVerifyPwd VALUE: proxy server pass (again)

4. Click "File - Save" (not "Save As" a new file)

***** TESTING *****

You should have LogMeIn NOT installed on your machine to work. Anyway.

Run "LogMeInSilent.msi /quiet LMIDESCRIPTION=NameWithNoSpaces", with no quotes, and after a while, LogMeIn should be installed on your machine, and loged to your account as "NameWithNoSpaces".

NameWithNoSpaces is any string with no spaces, for example MyFriendCharliePC.

If you want LogMeIn to use the default PC name, run it without the "LMIDESCRIPTION=NameWithNoSpaces" part.

***** Puting All Into A Self Contained Package *****

I would use WinRAR, cause it is more or less free, and very simple.

1. Download and install WinRAR.

2. Right click over LogMeInSilent.msi, and select "Add to archive..."

3. Check "Create SFX Archive" on the "General" tab.

4. On the Comment tab, copy this on the "enter a comment manually" field.

Setup=LogMeInSilent.msi /quiet

TempMode

Silent=1

Overwrite=1

*NOTE* if you want to define the computer name, append LMIDESCRIPTION=NameWithNoSpaces.

5. Press OK and let WinRAR create a .EXE file.

When run, the LogMeInSilent.exe would decompress to a temp folder, wait for LogMeInSilent.msi to run, and then delete all.

Hope it helps.

Edited by kwanbis
Link to comment
Share on other sites

This works great!

However at the end of the install it says

"Could not attach this computer to your LogMein account"

I have verified that the username and password are correct in the

USEREMAIL and USERWEBPASSWORD rows that I added however it still will not work :( Just one more small step. Any ideas?

Link to comment
Share on other sites

After more testing, it was found that if i ran the MSI without the /quiet switch it runs just fine and gets attached to my account like expected. The /quiet tag seems to be my issue. Anyone have any ideas?

Nevermind!!

Adding these three lines fixed the issue.

2. on InstallExecuteSequence - right click on the right panel, select "Add Row" to add following 3 actions:

action: GetLMIRegistrationCookie condition: NOT Installed sequence: 3710

action: LMIGetLicense condition: NOT Installed sequence: 3730

action: LMIGetLicenseForProfile condition: NOT Installed sequence: 3720

Thank you Camelot_One!

Edited by crazedfencer
Link to comment
Share on other sites

I have done everything that kwabis and camelot_one posted and it worked great.

My only problem, however, is I want to deploy this using a login script. This would be fine if everyone had admin rights on their computer but they don't.

I tried using runas, but that prompts for a password.

Any ideas on what I can do here?

Thanks guys.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

Hello,

Sorry for my English, I speak portuguese - Brazil.

Has anyone had any luck with the lastest version of LogMeIn v4.0.794 (Updated Jan 27 2009) ? I've edited the msi file so that when the installer is run manually, all of the info is already present (e-mail, password, etc.)

Thanks

Link to comment
Share on other sites

I would just like to say "thank you" to crazedfencer and kwanbis for posting this. I am in the process of converting approx 250 workstations from LMI Reach to LMI Free, and I can't imagine how much time this has saved me by creating the customized MSI. THANKS A TON!

Edited by dwtechnology
Link to comment
Share on other sites

Hello buddies..

I Really aprecciate this tips !!! U´re the best...

So, I need some help yet.

I created and executable file, where u just need to click "next" and "finish" ok ?

How can I exclude these two steps ? I want just to execute the file.. and wait it for finish...can i do this ?

Bye ! Thanks !!!!

Link to comment
Share on other sites

  • 2 weeks later...

I am trying this with the newest version of LogMeIn.msi. I have done all of kwanbis' steps and LogMeIn is installing fine. However it is saying "LogMeIn is installed but has not been activated." It also gives me tha yellow box at the bottom that says, "Could not attach the computer to your LogMeIn account."

I have tried it with and without the "action: LMIGetLicenseForProfile condition: NOT Installed sequence: 3720"

I have also dropped the DEPOLYID row.

Any ideas? Do other people have this working? If so can I get a copy of the MSI without your passwords?

Edited by ambigiousop
Link to comment
Share on other sites

  • 3 weeks later...

Hi everyone, just want to say thanks for all the great tips in this thread.

I'm having a problem, I've modified the MSI to include what I need but I get a "Blank" "Error" dialog when its attempting to install the service, then it rolls back the install completely. The new computer does show up under My Computers in LMI webpage though. If I step thru the installation normally with the GUI (Non-silent), all the fields are filled in, and LMI installs and registers fine.

Any thoughts? I have version 4.0.784 MSI file.

Thanks

Edited by Sentax
Link to comment
Share on other sites

Sorry to post so quickly again, but I was hoping that someone that has had success above in making a silent installer, or success in creating workarounds in LMI installers could help me. It seems LMI likes to change things in their installer often to prevent silent installs.

Does anyone have a working, older MSI that they could share? If so, please PM me.

Any help is greatly appreciated.

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...