MSFN Forum: Silent Install of LogMein.msi - MSFN Forum

Jump to content


Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 8 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Silent Install of LogMein.msi need help with auto insert user & pass with a silent install Rate Topic: -----

#1 User is offline   ceez 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 581
  • Joined: 06-September 03

  Posted 20 July 2007 - 11:34 AM

hello there fellow msfn-ers!

I dont know if some of you are familiar with logmein (web based remode desktop www.logmein.com) but during the setup process it prompts for the logmein user account and password.

I want to be able to deploy the logmein.msi to a few laptops here in the office via AD or as part of a logon script.

The problem I have is that i dont know how to make the silent install fill in those 2 fields (user/pass) or maybe how to create an answer file.

Can anyone help me?

Thanks a bunch!
:thumbup
ceez

This post has been edited by ceez: 21 July 2007 - 12:28 PM



#2 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 25 July 2007 - 08:05 AM

View Postceez, on Jul 20 2007, 07:34 PM, said:

hello there fellow msfn-ers!

I dont know if some of you are familiar with logmein (web based remode desktop www.logmein.com) but during the setup process it prompts for the logmein user account and password.

I want to be able to deploy the logmein.msi to a few laptops here in the office via AD or as part of a logon script.

The problem I have is that i dont know how to make the silent install fill in those 2 fields (user/pass) or maybe how to create an answer file.

Can anyone help me?

Thanks a bunch!
:thumbup
ceez

reg file? or autoit?

#3 Guest_slimbyte_*

  • Group: Guests

Posted 31 July 2007 - 03:15 PM

Here it is my solution!

I used Orca tool from Microsoft to analyze LogMeIn.msi, and I found a lot of properties and conditions there! The correct command line is the following:
logmein.msi /quiet USERPASSWORD=pcpassword USERVERIFYPWD=pcpassword USEREMAIL=email@email.com USERWEBPASSWORD=password LicenseType=free

You will get LogMeIn installed, but will fail to register computer into specified email/pass account! This happen because LogMeIn Free msi is built to not allow an quiet or passive deploy!
I noticed into logmein.msi that some actions are executed on Next Button click, instead on InstallExecuteSequence, or if UILevel=2 (normal window)!

So, here it is my "fix":
Use Orca to edit LogMeIn.msi as follow:

1. on InstallExecuteSequence table, find LMIDeployCookieReg action and change condition
from: UILevel=2 AND UPGRADEPRODUCT<>1 AND InstallMode<>"Remove"
into: UPGRADEPRODUCT<>1 AND InstallMode<>"Remove"

2. on InstallExecuteSequence table 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

3. on Property table change following properties:
find LICENSETYPE property and change value from: IT into: free
find LicenseType property and change value from: IT into: free

3.i. on InstallExecuteSequence table, find CreateUserSetProperty action and change condition
from: CANCREATEUSER AND PASSWORDSOK="true" AND VersionNT AND REMOVE<>"ALL"
into: VersionNT AND REMOVE<>"ALL"

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

4. save LogMeIn.msi and try again command line:
logmein.msi /quiet USERPASSWORD=pcpassword USERVERIFYPWD=pcpassword USEREMAIL=email@email.com USERWEBPASSWORD=password LicenseType=free

From here you can build your own custom installer! If you are familiar with Inno Setup Compiler, here it is an example:

 
[size=1]; 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         "3.00.606"
#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=free /quiet";    StatusMsg: "Installing and configuring LogMeIn! Please wait ...";     Flags: waituntilterminated shellexec
[/size] 


And that's it!

slimbyte

This post has been edited by slimbyte: 07 August 2007 - 01:12 PM


#4 User is offline   johnoneill 

  • Group: Members
  • Posts: 1
  • Joined: 07-August 07

  Posted 07 August 2007 - 08:52 AM

I read this post with keen interest. I use logmein free on my client computers and would like to add the installer to run silently from my website or with another installer.

I am going to have a look at the solution provided but in advance I have this query.

When you install logmein (normally) you are are sometimes asked to provide an access code which is requied to access the computer forever after. If you are not asked for an access code you need to know the local user name and password. Is they a way of forcing a specified access code silently?

Thanks
John

#5 Guest_slimbyte_*

  • Group: Guests

Posted 07 August 2007 - 01:19 PM

View Postjohnoneill, on Aug 7 2007, 08:52 AM, said:

...
When you install logmein (normally) you are are sometimes asked to provide an access code which is requied to access the computer forever after. If you are not asked for an access code you need to know the local user name and password. Is they a way of forcing a specified access code silently?

Thanks
John


I just changed the original post and added 3.i. and 3.ii.!
So, to force creation of LogMeInRemoteUser just change logmein.msi as following:

3.i. on InstallExecuteSequence table, find CreateUserSetProperty action and change condition
from: CANCREATEUSER AND PASSWORDSOK="true" AND VersionNT AND REMOVE<>"ALL"
into: VersionNT AND REMOVE<>"ALL"

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

slimbyte

#6 User is offline   zomig 

  • Group: Members
  • Posts: 2
  • Joined: 16-September 03

Posted 15 August 2007 - 03:50 PM

Hi

I am getting the following error when trying to run logmein as suggested above after making the changes using orca to original msi, this is being logged in the event log and logmein does not install.

Product: LogMeIn -- Error 2356.Couldn't locate cabinet in stream: data.cab.

any ideas ?

thanks

#7 User is offline   thepse 

  • Group: Members
  • Posts: 1
  • Joined: 04-September 07

Posted 04 September 2007 - 02:24 PM

hi ok for this.
If the user has a proxy defined what element should be modified to enter ip adress ?

Thanks

#8 User is offline   Siginet 

  • Windows XP PowerPacker Creator
  • PipPipPipPipPip
  • Group: Members
  • Posts: 736
  • Joined: 22-January 05

Posted 27 September 2007 - 11:20 AM

View Postzomig, on Aug 15 2007, 04:50 PM, said:

Hi

I am getting the following error when trying to run logmein as suggested above after making the changes using orca to original msi, this is being logged in the event log and logmein does not install.

Product: LogMeIn -- Error 2356.Couldn't locate cabinet in stream: data.cab.

any ideas ?

thanks


I get the same error. :( Anyone have an idea on what we are doing wrong?

#9 User is offline   Camelot_One 

  • Newbie
  • Group: Members
  • Posts: 22
  • Joined: 20-November 07

Posted 20 November 2007 - 05:53 PM

View Postzomig, on Aug 15 2007, 03:50 PM, said:

Hi

I am getting the following error when trying to run logmein as suggested above after making the changes using orca to original msi, this is being logged in the event log and logmein does not install.

Product: LogMeIn -- Error 2356.Couldn't locate cabinet in stream: data.cab.

any ideas ?

thanks

I've just tried to do this as well, and I think the problem is Orca. Just opening logmein.msi and saving it as a new file name results in a drop from 8.somethingMb to 3.2Mb. If I make the changes suggested, the output file is under 2Mb.

#10 User is offline   Tricen 

  • Group: Members
  • Posts: 2
  • Joined: 01-February 08

Posted 01 February 2008 - 01:30 PM

Wrong place, sorry!

This post has been edited by Tricen: 01 February 2008 - 01:31 PM


#11 User is offline   Tricen 

  • Group: Members
  • Posts: 2
  • Joined: 01-February 08

Posted 01 February 2008 - 01:33 PM

View PostCamelot_One, on Nov 20 2007, 07:53 PM, said:

View Postzomig, on Aug 15 2007, 03:50 PM, said:

Hi

I am getting the following error when trying to run logmein as suggested above after making the changes using orca to original msi, this is being logged in the event log and logmein does not install.

Product: LogMeIn -- Error 2356.Couldn't locate cabinet in stream: data.cab.

any ideas ?

thanks

I've just tried to do this as well, and I think the problem is Orca. Just opening logmein.msi and saving it as a new file name results in a drop from 8.somethingMb to 3.2Mb. If I make the changes suggested, the output file is under 2Mb.



I think I have figured out the problem you all are having. For the good of all humanity, I shall share my hard gained wisdom ^_^.

Camelot_One was close. When you open LogMeIn.msi with Orca and make the correction and then save, the new copy is much smaller. Thats because when Orca saves an msi under a different name, it DOES NOT save the .dat files contained within it to the other file. SOLUTION... Make a copy of LogMeIn.msi, then edit the COPY with Orca. When finished, hit save NOT SAVE AS.

#12 User is offline   Camelot_One 

  • Newbie
  • Group: Members
  • Posts: 22
  • Joined: 20-November 07

Posted 01 February 2008 - 06:11 PM

Wow, I could have sworn I posted an update on this. You are absolutely correct, as long as you use "Save As" to the same file, Orca works just fine.

In my trial and error, I've also learned that if you try to build your new "Free" msi off of the IT Reach Trial msi, the file works just fine.....until your trial date passes, after which it fails to register on install. I've mostly confirmed that the issue at hand is the Properties: DeployID line, which is different between the Trial, Full, and Free copies.

Once my trial period had expired, I downloaded the Free .msi and ran the above changes, everything works flawlessly. It's possible I had the option to get the free.msi all along, but I seem to remember during the trial it only offered the trial version, which then had to be changed to free.

#13 User is offline   ComputerGeek96 

  • Group: Members
  • Posts: 2
  • Joined: 17-February 08

Posted 17 February 2008 - 11:41 PM

This is a great thread. I tried it and it didn't work. but it did some playing arround and discovered that if you add those command line properties to the Properties table with orca, then you just run the command as LogMeIn.msi /passive, it works. I haven't tried it using a policy yet but it looks promising.

#14 User is offline   Camelot_One 

  • Newbie
  • Group: Members
  • Posts: 22
  • Joined: 20-November 07

Posted 17 February 2008 - 11:48 PM

View PostComputerGeek96, on Feb 17 2008, 11:41 PM, said:

This is a great thread. I tried it and it didn't work. but it did some playing arround and discovered that if you add those command line properties to the Properties table with orca, then you just run the command as LogMeIn.msi /passive, it works. I haven't tried it using a policy yet but it looks promising.
What was it that didn't work? Did the installer fail? Or did it just fail to register with the website?

#15 User is offline   ComputerGeek96 

  • Group: Members
  • Posts: 2
  • Joined: 17-February 08

Posted 18 February 2008 - 12:01 PM

View PostCamelot_One, on Feb 17 2008, 11:48 PM, said:

View PostComputerGeek96, on Feb 17 2008, 11:41 PM, said:

This is a great thread. I tried it and it didn't work. but it did some playing arround and discovered that if you add those command line properties to the Properties table with orca, then you just run the command as LogMeIn.msi /passive, it works. I haven't tried it using a policy yet but it looks promising.
What was it that didn't work? Did the installer fail? Or did it just fail to register with the website?



mind you I did not spend a whole lot of time to diagnose it, but just would get an error that my login information was incorrect trying to register to the website. I double checked my input and it was correct so I just thought I would give it a try adding those rows to the properties table and it worked like a champ. I used the /qn parameter on it and user never saw a thing and it installed beautifully. What would be great is if someone knew the rows to edit the description that the program uses for the host and also any rows that could disable the box at the end that shows up on the client saying that the computer is not accessible remotely.

#16 User is offline   89McLarenStang 

  • Group: Members
  • Posts: 2
  • Joined: 18-August 01

Posted 22 February 2008 - 08:58 PM

this thread is awesome... i have a question...i dont know if this is the same issue as the last poster but ill ask anyways....ive done everything posted including adding the run command fields to the property table directly. when i run the installer with no switches at all everything runs smooth with all the fields prefilled. however when it gets to the part of the install process where i guess it checks against the server i get an error message saying that the profile does not exist. it gives me the option to click ok which i press and then the installer continues on its merry way all the way until a successful ending. i assume that my computer wont be under my logmein account but low and behold i go to login to my account and there is my newly setup pc in the bottom of the list. any ideas as to why it would give me this error and still work perfectly fine?? thanks for all the assistance!

This post has been edited by 89McLarenStang: 22 February 2008 - 09:00 PM


#17 User is offline   MrWarez 

  • Group: Members
  • Posts: 3
  • Joined: 21-February 08

Posted 22 February 2008 - 10:05 PM

Hi All


Thanks for the great info, i wish to know something more..
is there any parameter to make logmein install without start when windows starts, just auto run at end of install?



thanks

#18 User is offline   oskingen 

  • MSFN Friend
  • PipPipPipPip
  • Group: Members
  • Posts: 613
  • Joined: 20-January 08
  • OS:none specified
  • Country: Country Flag

Posted 24 February 2008 - 12:54 AM

View PostMrWarez, on Feb 22 2008, 10:05 PM, said:

Hi All


Thanks for the great info, i wish to know something more..
is there any parameter to make logmein install without start when windows starts, just auto run at end of install?



thanks


It's totally impossible to install logmein silently. You can check on the logmein forum

#19 User is offline   MrWarez 

  • Group: Members
  • Posts: 3
  • Joined: 21-February 08

Posted 24 February 2008 - 12:32 PM

View Posthannubys, on Feb 24 2008, 03:54 AM, said:

View PostMrWarez, on Feb 22 2008, 10:05 PM, said:

Hi All


Thanks for the great info, i wish to know something more..
is there any parameter to make logmein install without start when windows starts, just auto run at end of install?



thanks


It's totally impossible to install logmein silently. You can check on the logmein forum


No i dont want a silent install, i just want parameters filled (like user, pass, pc pass), and no autorun when windows starts, just run once at end to register...
so my clients could turn logmein on when need only

#20 User is offline   oskingen 

  • MSFN Friend
  • PipPipPipPip
  • Group: Members
  • Posts: 613
  • Joined: 20-January 08
  • OS:none specified
  • Country: Country Flag

Posted 24 February 2008 - 12:38 PM

Ok, for that I cannot give you an answer. But I give you a script file that can turn off logmein in Windows Startup.

Attached File(s)



Share this topic:


  • 8 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy