kwanbis Posted September 14, 2010 Posted September 14, 2010 (edited) 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.msi1.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 Table2.1. right click on the right panel and select "Add Row":ACTION: GetLMIRegistrationCookie CONDITION: NOT Installed SEQUENCE: 37102.2. right click on the right panel and select "Add Row":ACTION: LMIGetLicense CONDITION: NOT Installed SEQUENCE: 37302.3. find CreateUser action and change conditionfrom: CANCREATEUSER AND PASSWORDSOK="true" AND VersionNT AND REMOVE<>"ALL"into: VersionNT AND REMOVE<>"ALL"2.4. find CreateUserSetProperty action and change conditionfrom: 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 Table2.7. find LICENSETYPE and change conditionfrom: 5into: 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 addressNOTE: 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 address2.10. right click on the right panel and select "Add Row":PROPERTY: USERWEBPASSWORD VALUE: your account's web login password2.11. right click on the right panel and select "Add Row":PROPERTY: USERPASSWORD VALUE: win password if no windows password present2.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, proxy01PROPERTY: ProxySettings VALUE: ???PROPERTY: ProxyPort VALUE: proxy server port, for example 8080PROPERTY: ProxyUserName VALUE: proxy server userPROPERTY: ProxyPassword VALUE: proxy server passPROPERTY: 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 /qTempModeSilent=1Overwrite=1*NOTE* if you want to define the computer name, replace the 1st line with: Setup=LogMeInSilent.msi /q LMIDESCRIPTION=NameWithNoSpaces5. 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 September 14, 2010 by kwanbis
charmelvis Posted September 23, 2010 Posted September 23, 2010 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.
cele82 Posted September 23, 2010 Posted September 23, 2010 (edited) 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.msi1.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 Table2.1. right click on the right panel and select "Add Row":ACTION: GetLMIRegistrationCookie CONDITION: NOT Installed SEQUENCE: 37102.2. right click on the right panel and select "Add Row":ACTION: LMIGetLicense CONDITION: NOT Installed SEQUENCE: 37302.3. find CreateUser action and change conditionfrom: CANCREATEUSER AND PASSWORDSOK="true" AND VersionNT AND REMOVE<>"ALL"into: VersionNT AND REMOVE<>"ALL"2.4. find CreateUserSetProperty action and change conditionfrom: 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 Table2.7. find LICENSETYPE and change conditionfrom: 5into: 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 addressNOTE: 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 address2.10. right click on the right panel and select "Add Row":PROPERTY: USERWEBPASSWORD VALUE: your account's web login password2.11. right click on the right panel and select "Add Row":PROPERTY: USERPASSWORD VALUE: win password if no windows password present2.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, proxy01PROPERTY: ProxySettings VALUE: ???PROPERTY: ProxyPort VALUE: proxy server port, for example 8080PROPERTY: ProxyUserName VALUE: proxy server userPROPERTY: ProxyPassword VALUE: proxy server passPROPERTY: 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 /qTempModeSilent=1Overwrite=1*NOTE* if you want to define the computer name, replace the 1st line with: Setup=LogMeInSilent.msi /q LMIDESCRIPTION=NameWithNoSpaces5. 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 September 23, 2010 by cele82
orlith Posted October 13, 2010 Posted October 13, 2010 HiThx 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 OKAny idea ?Thx
rflashman Posted December 15, 2010 Posted December 15, 2010 (edited) 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 December 15, 2010 by rflashman
rflashman Posted December 15, 2010 Posted December 15, 2010 (edited) 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)ExitYou 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 December 15, 2010 by rflashman
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now