IPB

Google Frontpage Forums Unattended CD/DVD Guide

> 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 V   1 2 3 > »   
Reply to this topicStart new topic
> Silent Install of LogMein.msi, need help with auto insert user & pass with a silent install
ceez
post Jul 20 2007, 11:34 AM
Post #1


Senior Member
****

Group: Members
Posts: 550
Joined: 6-September 03
Member No.: 6264



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.gif
ceez

This post has been edited by ceez: Jul 21 2007, 12:28 PM
Go to the top of the page
 
+Quote Post
sp00f
post Jul 25 2007, 08:05 AM
Post #2


Friend of MSFN
*****

Group: Members
Posts: 709
Joined: 30-November 06
From: Behind you
Member No.: 117138
OS: Vista Ultimate x64
Country Flag


QUOTE (ceez @ Jul 20 2007, 07:34 PM) *
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.gif
ceez

reg file? or autoit?
Go to the top of the page
 
+Quote Post
slimbyte
post Jul 31 2007, 03:15 PM
Post #3





Group: Members
Posts: 3
Joined: 31-July 07
Member No.: 148802
OS: Vista Ultimate x86
Country Flag


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:

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 "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


And that's it!

slimbyte

This post has been edited by slimbyte: Aug 7 2007, 01:12 PM
Go to the top of the page
 
+Quote Post
johnoneill
post Aug 7 2007, 08:52 AM
Post #4





Group: Members
Posts: 1
Joined: 7-August 07
Member No.: 149679
OS: none
Country Flag


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
Go to the top of the page
 
+Quote Post
slimbyte
post Aug 7 2007, 01:19 PM
Post #5





Group: Members
Posts: 3
Joined: 31-July 07
Member No.: 148802
OS: Vista Ultimate x86
Country Flag


QUOTE (johnoneill @ Aug 7 2007, 08:52 AM) *
...
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
Go to the top of the page
 
+Quote Post
zomig
post Aug 15 2007, 03:50 PM
Post #6





Group: Members
Posts: 2
Joined: 16-September 03
Member No.: 6827



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
Go to the top of the page
 
+Quote Post
thepse
post Sep 4 2007, 02:24 PM
Post #7





Group: Members
Posts: 1
Joined: 4-September 07
Member No.: 153581
OS: XP Pro x86
Country Flag


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

Thanks
Go to the top of the page
 
+Quote Post
Siginet
post Sep 27 2007, 11:20 AM
Post #8


Windows XP PowerPacker Creator
Group Icon

Group: Supreme Sponsors
Posts: 659
Joined: 22-January 05
Member No.: 41734
OS: none
Country Flag


QUOTE (zomig @ Aug 15 2007, 04: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


I get the same error. sad.gif Anyone have an idea on what we are doing wrong?
Go to the top of the page
 
+Quote Post
Camelot_One
post Nov 20 2007, 05:53 PM
Post #9


Newbie


Group: Members
Posts: 15
Joined: 20-November 07
Member No.: 163313
OS: XP Pro x86
Country Flag


QUOTE (zomig @ Aug 15 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

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.
Go to the top of the page
 
+Quote Post
Tricen
post Feb 1 2008, 01:30 PM
Post #10





Group: Members
Posts: 2
Joined: 1-February 08
Member No.: 174708
OS: XP Pro x64
Country Flag


Wrong place, sorry!

This post has been edited by Tricen: Feb 1 2008, 01:31 PM
Go to the top of the page
 
+Quote Post
Tricen
post Feb 1 2008, 01:33 PM
Post #11





Group: Members
Posts: 2
Joined: 1-February 08
Member No.: 174708
OS: XP Pro x64
Country Flag


QUOTE (Camelot_One @ Nov 20 2007, 07:53 PM) *
QUOTE (zomig @ Aug 15 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

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.
Go to the top of the page
 
+Quote Post
Camelot_One
post Feb 1 2008, 06:11 PM
Post #12


Newbie


Group: Members
Posts: 15
Joined: 20-November 07
Member No.: 163313
OS: XP Pro x86
Country Flag


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.
Go to the top of the page
 
+Quote Post
ComputerGeek96
post Feb 17 2008, 11:41 PM
Post #13





Group: Members
Posts: 2
Joined: 17-February 08
Member No.: 177607
OS: none
Country Flag


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.
Go to the top of the page
 
+Quote Post
Camelot_One
post Feb 17 2008, 11:48 PM
Post #14


Newbie


Group: Members
Posts: 15
Joined: 20-November 07
Member No.: 163313
OS: XP Pro x86
Country Flag


QUOTE (ComputerGeek96 @ Feb 17 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.
What was it that didn't work? Did the installer fail? Or did it just fail to register with the website?
Go to the top of the page
 
+Quote Post
ComputerGeek96
post Feb 18 2008, 12:01 PM
Post #15





Group: Members
Posts: 2
Joined: 17-February 08
Member No.: 177607
OS: none
Country Flag


QUOTE (Camelot_One @ Feb 17 2008, 11:48 PM) *
QUOTE (ComputerGeek96 @ Feb 17 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.
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.
Go to the top of the page
 
+Quote Post
89McLarenStang
post Feb 22 2008, 08:58 PM
Post #16





Group: Members
Posts: 2
Joined: 18-August 01
Member No.: 19



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: Feb 22 2008, 09:00 PM
Go to the top of the page
 
+Quote Post
MrWarez
post Feb 22 2008, 10:05 PM
Post #17





Group: Members
Posts: 3
Joined: 21-February 08
Member No.: 178289
OS: none
Country Flag


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
Go to the top of the page
 
+Quote Post
hannubys
post Feb 24 2008, 12:54 AM
Post #18


Am I Not Merciful
****

Group: Members
Posts: 605
Joined: 20-January 08
From: Canada
Member No.: 172411
OS: Windows 7 x64
Country Flag


QUOTE (MrWarez @ Feb 22 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


It's totally impossible to install logmein silently. You can check on the logmein forum
Go to the top of the page
 
+Quote Post
MrWarez
post Feb 24 2008, 12:32 PM
Post #19





Group: Members
Posts: 3
Joined: 21-February 08
Member No.: 178289
OS: none
Country Flag


QUOTE (hannubys @ Feb 24 2008, 03:54 AM) *
QUOTE (MrWarez @ Feb 22 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


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
Go to the top of the page
 
+Quote Post
hannubys
post Feb 24 2008, 12:38 PM
Post #20


Am I Not Merciful
****

Group: Members
Posts: 605
Joined: 20-January 08
From: Canada
Member No.: 172411
OS: Windows 7 x64
Country Flag


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)
Attached File  Stop_LogMeIn.cmd ( 67bytes ) Number of downloads: 140
 
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

8 Pages V   1 2 3 > » 
Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 21st November 2009 - 07:41 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy