Jump to content

Hexenkönig_92

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Switzerland

About Hexenkönig_92

Hexenkönig_92's Achievements

0

Reputation

  1. Hello, Sorry for my English, I speak German. So here's my solution with the latest LogMeIn: 1.)Steps from slimbyte, a bit changed: 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. 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 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" 2.)Creating a batch file with following source: (new empty text file-> open with editor->write in following text-> save as file.bat) @echo off logmein.msi /qr USERPASSWORD=pcpassword USERVERIFYPWD=pcpassword USEREMAIL=email@email.com USERWEBPASSWORD=password LicenseType=free del logmein.msi del setup.bat Information: @echo off: This hides the code during installation so that the installer can't see the passwords etc. del logmein.msi/setup.bat: This deletes those two files so that the user can't find the inforations about the adresses etc. 3.)Puting all that into Inno Setup: ; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "LogMeIn" #define MyAppVerName "LogMeIn" #define MyAppPublisher "LogMeIn" #define MyAppURL "http://www.LogMeIn.com/" #define MyAppExeName "LogMeIn.exe" [setup] ; NOTE: The value of AppId uniquely identifies this application. ; Do not use the same AppId value in installers for other applications. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) AppId={{CDA00B15-ADF5-4240-A14B-D436CF489D61} AppName={#MyAppName} AppVerName={#MyAppVerName} AppPublisher={#MyAppPublisher} AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} AppUpdatesURL={#MyAppURL} DefaultDirName={pf}\Z-Tuning DefaultGroupName={#MyAppName} DisableProgramGroupPage=yes OutputDir=C:\output\ OutputBaseFilename=setup Compression=lzma SolidCompression=yes [Languages] Name: english; MessagesFile: compiler:Default.isl Name: german; MessagesFile: compiler:Languages\German.isl [Files] Source: C:\Dokumente und Einstellungen\EBI\Desktop\versuche\file.bat; DestDir: {app}; Flags: ignoreversion Source: C:\Dokumente und Einstellungen\EBI\Desktop\versuche\LogMeIn.msi; DestDir: {app}; Flags: ignoreversion ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [icons] Name: {group}\{#MyAppName}; Filename: {app}\{#MyAppExeName} [Run] Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#MyAppName}} information: innosetup copy's the files file.bat and LogMeIn.msi into a folder, and after installation, file.bat starts automaticly and installs the LogMeIn.msi One little disadvantage is an error screen durning installation of LogMeIn.msi. But if you just klick on the ok button, Installation continues and it works perfect. So Thank's to all, Greetings from Switzerland: Andreas
×
×
  • Create New...