Welcome to the new Woodmann RCE Messageboards Regroupment
Please be patient while the rest of the site is restored.

To all Members of the old RCE Forums:
In order to log in, it will be necessary to reset your forum login password ("I forgot my password") using the original email address you registered with. You will be sent an email with a link to reset your password for that member account.

The old vBulletin forum was converted to phpBB format, requiring the passwords to be reset. If this is a problem for some because of a forgotten email address, please feel free to re-register with a new username. We are happy to welcome old and new members back to the forums! Thanks.

All new accounts are manually activated before you can post. Any questions can be PM'ed to Kayaker.

How to modify *.msi file?

First timers and new learners, this forum is for you. Please use the search function to see if your question has already been answered.
Locked
phop007

How to modify *.msi file?

Post by phop007 »

How can I modify(delete, Insert, Replace file) *.msi without unpack the *.msi file.


Thank in advance.
NervGaz
Member
Posts: 47
Joined: Fri Jun 07, 2002 2:08 pm

Post by NervGaz »

you could try grabbing M$'s MSI SDK... it contains a few interesting tools...
DakienDX

Post by DakienDX »

Hello phop007 !

.MSI files are no archives, they're installation packages for Windows Installer.

They're working basically with the Microsoft .CAB format, but it seems to be a new version since many files can't be extracted.

Just open the file, serach for "MSCF" (header of .CAB files) and dump the file from there until its end.

If you're lucky, you can extract the files. It's possible that they have many hex-digits before the real file name or even only hex-digits and no real file name.

But I would say it's not possible to replace any file in the installation package. The Microsoft specification says that a .MSI package isn't allowed to be modified after creation. And I must admit they do their job prety well.

The only way would be to create a transform package (.MST). You can add files there which are included in the installation too. This ones should overwrite files installed by the .MSI file. But you need to include not only the .MSI, but also the .MST, SETUP.EXE and a customized SETUP.INI with the software.
mutante

Post by mutante »

Try using *.msi /a
DakienDX

Post by DakienDX »

Hello mutante !

I'm sure you don't mean *.msi /a.

The correct syntax is "msiexec /a <file>.msi".

I totally forget that option. But it's possible to lock that option while creating the installation.
foxthree

Try WinRAR 3.0

Post by foxthree »

Double Click the .msi in a RAR package and it will open and display the contents for you :D

Signed,
-- FoxThree
DakienDX

Post by DakienDX »

Hello foxthree !

This doesn't work for me. I'm using v3.00 and compressed a .MSI package as .RAR.
When double-clicking on it inside the .RAR it will simply decompress and execute the .MSI file.
TheSearcher

Post by TheSearcher »

Hi DakienDX,
Tried winrar3 it only displays and extract msi files only.You can't add files using winrar and it only supports zip and rars
foxthree

Revirgin.msi???

Post by foxthree »

Yo Dakien!

Try WinRAR 3.00 on RV MSI package and you'll see that it displays the contents and allows you to extract them. This is the way I got to install RV 1.5 on my Win9x.

Signed,
-- FoxThree
DakienDX

Post by DakienDX »

Hello foxthree !

It works on .MSI file using the old .CAB file format, like Revirgin.

I tested it on three other files, two using the new format (hex digits before the filename) and one on an even newer format (only hex-digits and no filename) and none of them worked.

WinRAR doesn't handle these files, but the .CAB file shell-extension built into Windows.
h8er

Post by h8er »

Here is a plugin for Windows Co**ander.. with this you can read msi files
Attachments
wcp_msi.zip
(38.42 KiB) Downloaded 333 times
phop007

Post by phop007 »

Thankz everybody!! I found Far Manager(wxx.rarlab.com)+Doc viewer plugin and this very helpful...
Locked