ceez Posted July 20, 2007 Posted July 20, 2007 (edited) 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!ceez Edited July 21, 2007 by ceez
sp00f Posted July 25, 2007 Posted July 25, 2007 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!ceezreg file? or autoit?
Guest slimbyte Posted July 31, 2007 Posted July 31, 2007 (edited) 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 = lzmaSolidCompression = yesAppVersion = {#_AppVer}VersionInfoCompany = {#_AppPublisher}VersionInfoCopyright = {#_AppPublisher}VersionInfoTextVersion = {#_AppVer}VersionInfoVersion = {#_AppVer}WizardImageFile = files\SetupModern16.bmpWizardSmallImageFile = files\SetupModernSmall16.bmpCreateAppDir = noCreateUninstallRegKey = noUpdateUninstallLogAppName = noUninstallable = yesDisableDirPage = yesDisableReadyMemo = yesDisableProgramGroupPage = yesDisableReadyPage = 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 Edited August 7, 2007 by slimbyte
johnoneill Posted August 7, 2007 Posted August 7, 2007 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?ThanksJohn
Guest slimbyte Posted August 7, 2007 Posted August 7, 2007 ...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?ThanksJohnI 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
zomig Posted August 15, 2007 Posted August 15, 2007 HiI 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
thepse Posted September 4, 2007 Posted September 4, 2007 hi ok for this. If the user has a proxy defined what element should be modified to enter ip adress ?Thanks
Siginet Posted September 27, 2007 Posted September 27, 2007 HiI 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 ?thanksI get the same error. Anyone have an idea on what we are doing wrong?
Camelot_One Posted November 20, 2007 Posted November 20, 2007 HiI 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 ?thanksI'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.
Tricen Posted February 1, 2008 Posted February 1, 2008 (edited) Wrong place, sorry! Edited February 1, 2008 by Tricen
Tricen Posted February 1, 2008 Posted February 1, 2008 HiI 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 ?thanksI'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.
Camelot_One Posted February 2, 2008 Posted February 2, 2008 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.
ComputerGeek96 Posted February 18, 2008 Posted February 18, 2008 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.
Camelot_One Posted February 18, 2008 Posted February 18, 2008 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?
ComputerGeek96 Posted February 18, 2008 Posted February 18, 2008 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now