View Full Version : exe file

09-13-2007, 01:56 AM
Hi, everyone.

I'm repackaging an installer that installs a launcher (.exe) as well as other files. The launcher has the install directory information. That is, if the install directory is C:/Program Files, then that path is written into the launcher.

The original installer changes the directory written to the launcher when the user changes the install directory at installation time, but how can I do this with MSI?

When the installer is repackaged, the launcher is already included as an exe file in the cab file, so what I'd have to do is to rewrite the install directory written into the launcher to the proper directory when the MSI is run.

I tried writing the whole contents of the launcher and changing the directory information, but it did not work.

Any ideas?

Any help will be greatly appreciated.