Jump to content

LogMeIn Silent Installer with Orca Editor


kwanbis
 Share

Recommended Posts

TESTED AS OF AS OF 2010-09-14 - WINDOWS 7 ULTIMATE + LogMeIn 4.1.0.1310

***** Starting *****

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

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

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

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

On InstallExecuteSequence Table

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

ACTION: GetLMIRegistrationCookie CONDITION: NOT Installed SEQUENCE: 3710

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

ACTION: LMIGetLicense CONDITION: NOT Installed SEQUENCE: 3730

2.3. find CreateUser action and change condition

from: CANCREATEUSER AND PASSWORDSOK="true" AND VersionNT AND REMOVE<>"ALL"

into: VersionNT AND REMOVE<>"ALL"

2.4. find CreateUserSetProperty action and change condition

from: CANCREATEUSER AND PASSWORDSOK="true" AND VersionNT AND REMOVE<>"ALL"

into: VersionNT AND REMOVE<>"ALL"

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

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

On Property Table

2.7. find LICENSETYPE and change condition

from: 5

into: 0

** next step might not needed if you used the link above **

2.8. Right click DEPLOYID and select "Drop Row"

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

PROPERTY: USEREMAIL VALUE: your account's email address

NOTE: you MIGHT need to add another row, with ACCOUNTEMAIL. I did not, and it worked just fine.

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

PROPERTY: ACCOUNTEMAIL VALUE: your account's email address

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

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

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

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

2.12. 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)

2.13. 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 /q LMIDESCRIPTION=NameWithNoSpaces", with no quotes, and after a while, LogMeIn should be installed on your machine, and logged 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. On the "General" tab: check "Create SFX Archive".

4. On the "Comment" tab: On the "Enter a comment manually" field, copy all four lines:

Setup=LogMeInSilent.msi /q

TempMode

Silent=1

Overwrite=1

*NOTE* if you want to define the computer name, replace the 1st line with: Setup=LogMeInSilent.msi /q 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

  • 2 weeks later...

Hi,

I´ve been using Luguta´s logmein unattended script with success for a while. But now I´m in a project that I need a silent install that prompts only for the user name with the rest being silent. Is that possible with orca and logmein.msi? How can I do that? Thanks.

Link to comment
Share on other sites

I'm sorry to reply but these are the most recent infos on LogMein, is there any way to do the same with LogMeIn Hamachi? It would be great.

Thanks.

TESTED AS OF AS OF 2010-09-14 - WINDOWS 7 ULTIMATE + LogMeIn 4.1.0.1310

***** Starting *****

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

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

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

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

On InstallExecuteSequence Table

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

ACTION: GetLMIRegistrationCookie CONDITION: NOT Installed SEQUENCE: 3710

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

ACTION: LMIGetLicense CONDITION: NOT Installed SEQUENCE: 3730

2.3. find CreateUser action and change condition

from: CANCREATEUSER AND PASSWORDSOK="true" AND VersionNT AND REMOVE<>"ALL"

into: VersionNT AND REMOVE<>"ALL"

2.4. find CreateUserSetProperty action and change condition

from: CANCREATEUSER AND PASSWORDSOK="true" AND VersionNT AND REMOVE<>"ALL"

into: VersionNT AND REMOVE<>"ALL"

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

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

On Property Table

2.7. find LICENSETYPE and change condition

from: 5

into: 0

** next step might not needed if you used the link above **

2.8. Right click DEPLOYID and select "Drop Row"

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

PROPERTY: USEREMAIL VALUE: your account's email address

NOTE: you MIGHT need to add another row, with ACCOUNTEMAIL. I did not, and it worked just fine.

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

PROPERTY: ACCOUNTEMAIL VALUE: your account's email address

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

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

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

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

2.12. 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)

2.13. 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 /q LMIDESCRIPTION=NameWithNoSpaces", with no quotes, and after a while, LogMeIn should be installed on your machine, and logged 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. On the "General" tab: check "Create SFX Archive".

4. On the "Comment" tab: On the "Enter a comment manually" field, copy all four lines:

Setup=LogMeInSilent.msi /q

TempMode

Silent=1

Overwrite=1

*NOTE* if you want to define the computer name, replace the 1st line with: Setup=LogMeInSilent.msi /q 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 cele82
Link to comment
Share on other sites

  • 3 weeks later...

Hi

Thx for sharing that solution. That's working perfectly for me.

Just one thing I would like to get rid off is the dialog box at the end of the installation saying "Your computer is now regisrted to logmein.com....you can access it ...." Click OK

Any idea ?

Thx

Link to comment
Share on other sites

  • 2 months later...

First of all, thanks for your information. Works flawlessly. A couple questions.

What settings can I edit in the MSI to:

1. Disable automatic download/notification of updates.

2. Disable asking the user what to do if there is an error.

3. Hide LogMeIn tray icon?

Also, maybe it is just me, but the previous MSI (the one mentioned here) when uninstall would delete the machine from logmein. The new MSI that was released this week does not. Any ideas?

Thanks in advance,

Rick

Edited by rflashman
Link to comment
Share on other sites

Hi,

I´ve been using Luguta´s logmein unattended script with success for a while. But now I´m in a project that I need a silent install that prompts only for the user name with the rest being silent. Is that possible with orca and logmein.msi? How can I do that? Thanks.

I'm sure you already solved this another way, but if you don't enter the USEREMAIL and ACCOUNTEMAIL in the MSI, you can prompt for them with something like AutoItScript easily:


Dim $username = InputBox('LogMeIn Installation','Enter a LogMeIn username:')
ShellExecuteWait('logmein.msi', '/qn USEREMAIL=' & $username & ' ACCOUNTEMAIL=' & $username, @TempDir, 'Open', @SW_HIDE)
Exit

You can do the same thing for password, etc.

You can even make a fully compiled single-file installer to make sure no one messes around with your MSI:


Dim $username = InputBox('LogMeIn Installation','Enter a LogMeIn username:')
FileInstall('logmein.msi', @TempDir & '\logmein.msi', 1)
ShellExecuteWait(@TempDir & '\logmein.msi', '/qn USEREMAIL=' & $username & ' ACCOUNTEMAIL=' & $username, @TempDir, 'Open', @SW_HIDE)
FileDelete(@TempDir & '\logmein.msi')
Exit

Edited by rflashman
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...