Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

Silent Install of LogMein.msi


Recommended Posts

Hi Everyone,

Anyone know how to get a customed logmein.msi file to install correctly using a group policy deployment?

The logmein MSI file I've created runs fine on multiple machines and doesn't show any errors when run manually by double clicking the MSI in windows explorer. The machines show up in the logmein website fine. Whenever the MSI tries to install via a Group Policy object it fails and the only information I can find in the event log is an entry saying:

"The assignment of application LogMeIn from policy SW LogMeIn failed. The error was : Fatal error during installation. "

After turning on logging for MSI I get the following information:

=== Verbose logging started: 24/07/2008 15:31:13 Build type: SHIP UNICODE 3.01.4000.4042 Calling process: \??\C:\WINDOWS\system32\winlogon.exe ===

MSI © (78:38) [15:31:13:061]: User policy value 'DisableRollback' is 0

MSI © (78:38) [15:31:13:061]: Machine policy value 'DisableRollback' is 0

1: 2905 2: C:\WINDOWS\system32\appmgmt\MACHINE\{de320eb6-dcc9-4868-a418-1c5f027a6a9c}.aas

MSI © (78:38) [15:31:13:093]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2

MSI © (78:38) [15:31:13:093]: DoAdvertiseScript is returning: 1603

=== Verbose logging stopped: 24/07/2008 15:31:13 ===

I'm thinking the issue is related to the fact that the install is running under the SYSTEM account and that theres maybe a limited windows profile loaded etc. Can someone help me fix it please?

Much appreciated,

Joe

Link to post
Share on other sites
  • 2 weeks later...

Well I've used the tips slimbyte has given on various boards to make the logmein auto install, it works flawlessly (unless i hit group policy issues which is understandable) BUT recently someone else has added me as a Administrator on their LogMeIn account giving my account TWO profiles....so now when i run my custom install it fails because it doesnt know what profile to install under....I cant find a *.msi file switch that will tell it to use my account.....

Thoughts? Ideas?

Link to post
Share on other sites
Well I've used the tips slimbyte has given on various boards to make the logmein auto install, it works flawlessly (unless i hit group policy issues which is understandable) BUT recently someone else has added me as a Administrator on their LogMeIn account giving my account TWO profiles....so now when i run my custom install it fails because it doesnt know what profile to install under....I cant find a *.msi file switch that will tell it to use my account.....

Thoughts? Ideas?

Would you mind providing some urls to slimbyte's tips that you referenced?

Thanks!

-NKA

Link to post
Share on other sites
Well I've used the tips slimbyte has given on various boards to make the logmein auto install, it works flawlessly (unless i hit group policy issues which is understandable) BUT recently someone else has added me as a Administrator on their LogMeIn account giving my account TWO profiles....so now when i run my custom install it fails because it doesnt know what profile to install under....I cant find a *.msi file switch that will tell it to use my account.....

Thoughts? Ideas?

Would you mind providing some urls to slimbyte's tips that you referenced?

Thanks!

-NKA

He is thread three in this big thread...

http://www.msfn.org/board/Silent-Install-o...ded#entry678473

That same issue has been copied onto other boards through out the Internet...I used it to kick start my learning into customizing the install...but I cant seem to find a way around my current issue... :(

Link to post
Share on other sites
  • 3 weeks later...

Alas, despite following all the advice in this post I keep getting the popup after the silent install that states "Could not attach this computer to your LogMeIn account. Please open LogMeIn and confirm your account details" following the successful silent installation.

Here's what I've done so far following the advice of these posts:

  • Using Orca, I've modified the LogMeIn.msi file freshly downloaded from the LogMeIn.com website
  • I added all the suggested changes, in the following order:

  1. 1. on InstallExecuteSequence table, find GetDeployInfo action and change condition from: UILevel=2 AND UPGRADEPRODUCT<>1 AND InstallMode<>"Remove" into: UPGRADEPRODUCT<>1 AND InstallMode<>"Remove"
  2. 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. 3. on Property table change following property: find LicenseType property and change value from: IT into: free
  4. 4. on InstallExecuteSequence table, find CreateUserSetProperty action and change condition from: CANCREATEUSER AND PASSWORDSOK="true" AND VersionNT AND REMOVE<>"ALL" into: VersionNT AND REMOVE<>"ALL"
  5. 5. on InstallExecuteSequence table, find CreateUser action and change condition from: CANCREATEUSER AND PASSWORDSOK="true" AND VersionNT AND REMOVE<>"ALL" into: VersionNT AND REMOVE<>"ALL"

  • I made sure that when I saved the "LogMeIn.msi" file after editing it with Orca that the file size was 9,776KB both before and after the minor modificatoins listed above so it's a valid and functional file.
  • I created a custom batch file that has the following commandline: msiexec.exe /qn /i "y:\logmein.msi" USERPASSWORD=pcpassword USERVERIFYPWD=pcpassword USEREMAIL=email@email.com USERWEBPASSWORD=password LicenseType=free

I used the same password for "pcpassword" alluded above and the "email@email.com" and "password" were the valid e-mail/password that I use to log into my account at https://www.logmein.com. Any idea what I'm doing wrong? My goal is to get a truly silent installation that I can push out via login script.

Thanks in advance for any advice!

Link to post
Share on other sites
  • 4 weeks later...
The only issue that I still have, is that anyone who you send the Custom LogMeIn install will have access to your LogMeIn account online, because they can just get your email and LogMeIn password from the batch file. Anyone know of a way to protect this information from clients?

-NKA

PS: Sorry for the Caps, but that is how they are displayed in Orca and the batch.

Hi there. I'm brand-new here, but I have an idea as to how to solve the password issue. I was wondering this myself. I love the idea of a silent, one-click install and everything, but I'm a little uneasy about having my account login details included in every file I send to somebody. Even though most people probably won't be savvy enough to find the password, I still don't want to have that floating around there.

So, how about this? LogMeIn Free lets you create a list of security codes that are good for one use only. The procedure is, you enter in your e-mail and password to log in, and then immediately after that, you're asked for the security code. Once you enter that, you're in. LMI gives you the option to generate some 40 of these random, one-time-use codes. So you can generate a list of 40, print them (or store them on your phone or wherever), and then just use them whenever you need to log in. And then, you can just change your LMI account password to some throwaway password, as the main security will be coming from the random security codes.

How does that sound? I'm trying to think of any flaws in this idea, but offhand it seems like it might be the perfect secure solution for this.

Another option, which really isn't all that appealing, is to temporarily change your account password whenever you deploy the MSI, and then once the client has it installed, you change your LMI password back to your original one. But still, this way, there's the possibility that the user could log in to your account before you change your password back.

What do you guys think of the idea of the security code? I understand it would be a little more cumbersome, but do you think it's worth it? Or has anybody else found a better way to deploy the MSI like this without having their account password floating around in a batch file or something?

I'd appreciate your thoughts!

Luke

Edited by imekul
Link to post
Share on other sites
The only issue that I still have, is that anyone who you send the Custom LogMeIn install will have access to your LogMeIn account online, because they can just get your email and LogMeIn password from the batch file. Anyone know of a way to protect this information from clients?

-NKA

PS: Sorry for the Caps, but that is how they are displayed in Orca and the batch.

Hi there. I'm brand-new here, but I have an idea as to how to solve the password issue. I was wondering this myself. I love the idea of a silent, one-click install and everything, but I'm a little uneasy about having my account login details included in every file I send to somebody. Even though most people probably won't be savvy enough to find the password, I still don't want to have that floating around there.

So, how about this? LogMeIn Free lets you create a list of security codes that are good for one use only. The procedure is, you enter in your e-mail and password to log in, and then immediately after that, you're asked for the security code. Once you enter that, you're in. LMI gives you the option to generate some 40 of these random, one-time-use codes. So you can generate a list of 40, print them (or store them on your phone or wherever), and then just use them whenever you need to log in. And then, you can just change your LMI account password to some throwaway password, as the main security will be coming from the random security codes.

How does that sound? I'm trying to think of any flaws in this idea, but offhand it seems like it might be the perfect secure solution for this.

Another option, which really isn't all that appealing, is to temporarily change your account password whenever you deploy the MSI, and then once the client has it installed, you change your LMI password back to your original one. But still, this way, there's the possibility that the user could log in to your account before you change your password back.

What do you guys think of the idea of the security code? I understand it would be a little more cumbersome, but do you think it's worth it? Or has anybody else found a better way to deploy the MSI like this without having their account password floating around in a batch file or something?

I'd appreciate your thoughts!

Luke

The solution I used was similar to yours - I created a second LMI "User" account (not an administrator account) with rights only to the Unassigned group. Then, we use this account to add new machines via a script and just monitor the Unassigned group every few days or so and move newly added machines out of it. That way, the account that's embedded in the script cannot do much of anything other than add machines, and once we move the machines out of the "Unassigned" area, problem solved!

Also, we added to our batch file for the silent LMI install to run the "net user /d LogMeInRemoteUser" command after finishing the install to purge this local user account. That way, the pesky "Computer Access Code" is removed as the default option when you try to remotely administer a machine from www.logmein.com.

Link to post
Share on other sites
  • 2 weeks later...
I have downloaded the latest release of logmein and i'm experiencing an error everytime i tried the silent install. Have you this also ?

error: directory x64 not found

I have the same issue. Any solutions?

Link to post
Share on other sites

OK. After few test i've found that if i use command:

msiexec.exe /qr /i "y:\logmein.msi" USERPASSWORD=pcpassword USERVERIFYPWD=pcpassword USEREMAIL=email@email.com USERWEBPASSWORD=password LicenseType=free

I'm can install LogMeIn, but during installation i still getting error message: "Profile does not exist"

Link to post
Share on other sites
Does anybody know if this still works with the Version 4 install of logmein.msi. Its just that the options specifed above for changing in ORCA do not appear in the .msi that I have downloaded today.

Thanks

Yes, this still works. I've just one problem with this, I'm getting error message: "Profile does not exist".

I've done Autoit sctipt (just few lines, to eliminate this message.

Link to post
Share on other sites

Okay so I am a complete noob but I can not get this to work for me. Also I am looking for a way to build this so i don't have to send a batch file that the customer can edit to get the username and password with. I tried the Inno Setup as mentioned on page one but I am unable to make it work. Anyone have this working in a switchless installer or some sort of package that can be deployed via a website? Sorry if I sound like a complete NOOB but then again I are one :P

Link to post
Share on other sites
  • 2 weeks later...
Does anybody know if this still works with the Version 4 install of logmein.msi. Its just that the options specifed above for changing in ORCA do not appear in the .msi that I have downloaded today.

Thanks

Yes, this still works. I've just one problem with this, I'm getting error message: "Profile does not exist".

I've done Autoit sctipt (just few lines, to eliminate this message.

I am having the same problems, i also tried Autoit to fix the problem, but i have no success so far

It is possible for you to share your Autoit script code with us? ( Without the passwords )

Link to post
Share on other sites
Does anybody know if this still works with the Version 4 install of logmein.msi. Its just that the options specifed above for changing in ORCA do not appear in the .msi that I have downloaded today.

Thanks

Yes, this still works. I've just one problem with this, I'm getting error message: "Profile does not exist".

I've done Autoit sctipt (just few lines, to eliminate this message.

I am having the same problems, i also tried Autoit to fix the problem, but i have no success so far

It is possible for you to share your Autoit script code with us? ( Without the passwords )

No Problem :).

Here it is:

#NoTrayIcon

Opt("WinTitleMatchMode", 2)

Run("msiexec /qr /i LogMeIn.msi")

WinWaitActive("LogMeIn Installation", "The following error occurred while registering with LogMeIn.com:")

Send("{ENTER}")

Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...