Jump to content

*.msi Editing with Orca


Jay_7

Recommended Posts

I've not got a very good grasp on software development or coding at all for that matter.

Has anyone got any experience of editing *.msi files with Orca?

What I aim to do is edit the LogMeIn.msi installation file in order to run silently without user input.

At the moment, people that download this software I have had to give the login details of my support account potentially giving them access to my clients computers.

I know there is also the option of using the *.msi file to use inputs from *.mst file and install using the following command

msiexec /i *.msi transforms="*.mst"

Essentially the *.mst file just fills in the fields automatically when the *.msi is run.

I know how it should work but I've not got a clue how to implement it.

Help please!  :007:

Link to comment
Share on other sites

Sorry for looking Jay, but I can't help.  Must be forums for this sort of thing on the net somewhere though.

Thought I should add something as theres nothing worse than having 267 views and no replies..........sorry.

Link to comment
Share on other sites

Cheers anyway TM4TJ.  I've logged a support ticket with LogMeIn to see if I can convince them to either give me instructions on which parts of the *.msi I should be editing and with which values or supply me with an already customized *.msi file.

It's things like this that are impeding my company from getting off the ground  :007:

Link to comment
Share on other sites

I think I may have cracked it!  :001:

For those interested:

I found a website that detailed the parts of the LogMeIn.msi that disable the silent install feature.  A quick edit of those values using Orca.exe Made a silent install possible but with only editing those parts of the .msi... All I essentially have is an installer package with no instructions for an input.

Using Inno Compiler and the following code:

#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 = filesSetupModern16.bmp

WizardSmallImageFile = filesSetupModernSmall16.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

I have successfully created a customized LogMeIn.exe file  :001:

Link to comment
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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. : Terms of Use : Guidelines : Privacy Policy