PDA

View Full Version : Need assistance - product evaluation


dannomite
05-15-2008, 04:22 PM
I'm evaluating a purchase of MSI Factory or Advanced Installer and I'm working on an installer for our product.

After installing all my application folders and files, I need to run an additional msi, and an exe that references cab files. I'm a bit lost on how to do this. I see custom actions can run exe's, but how will they find the associated cab files? Also, I don't see an option to run an msi.

Lua scripts are definately not something I'm familiar with. Is what I need to do not possible from the MSI Factory IDE itself? Do I have to write my own scripts? :huh

jassing
05-16-2008, 08:33 AM
I'm evaluating a purchase of MSI Factory or Advanced Installer and I'm working on an installer for our product.

After installing all my application folders and files, I need to run an additional msi, and an exe that references cab files. I'm a bit lost on how to do this. I see custom actions can run exe's, but how will they find the associated cab files? Also, I don't see an option to run an msi.

Lua scripts are definately not something I'm familiar with. Is what I need to do not possible from the MSI Factory IDE itself? Do I have to write my own scripts? :huh

you can definately run a file from custom actions; just select it's file id.
However, for an MSI -- I think you'll need to use a lua script.
Lua isn't difficult to learn; but with anything there is a curve.
the IndigoRose help is top notch (IMHO)

There are a lot of things you can do with Lua; here's an example from the help file:

-- The path to extract the file.
strExtractPath = Shell.GetFolder(SHF_APPLICATIONDATA).."\\ExtractedInstallation\\setup.msi";


strCommandLine = "-i \""..strExtractPath.."\" REINSTALL=ALL REINSTALLMODE=vomus";

-- Run the setup.
nResult = MSI.RunMsiexec(strCommandLine);