replacing files in an MSI
Posted 05 February 2008 - 14:02
Now, I find that I need to replace some of the files in it. These files are for an external program that was called from my code by spawning a process, so there's no versioning issues.
Of course, I could go back to the original project and rebuild it. The problem with that is that this was YEARS ago and the software has progressed through any number of version since, so reconstituting the original code tree would be problematic. And first I'd (probably) need to build a machine with the right software on it
So what I want to do is simply replace some files in a directory inside the msi internals.
Can this be done?
Posted 08 February 2008 - 00:38
Posted 08 February 2008 - 10:46
Er. I thought that, but I couldn't see how to do it.
Also the files are in the File table. I can add or cut rows, but it's not clear to me that that will upload a new file.
Also why change the Package code GUID? I will never install the new version over an old version (which I *think* is the point of this).
Thanks for your reply, though!
Posted 11 February 2008 - 18:02
|Also the files are in the File table. I can add or cut rows, but it's not clear to me that that will upload a new file.|
In this case, Orca is not the right tool. InstallShield and similar tools could do this.
|Also why change the Package code GUID? I will never install the new version over an old version (which I *think* is the point of this).|
It's a rule: "No two nonidentical .msi files should ever have the same package code."
If the new version will never be installed on a machine where the old version has ever been installed (how would you make sure this never happens?) it may work without changing the PackageCode. But changing it won't hurt anyway.
Posted 13 February 2008 - 14:08
I don't suppose there are any freeware tools that do this?
And for this and all your help,
Posted 14 February 2008 - 10:22
"windows installer" +create +freeware
produced a healthy list.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.
Posted 15 February 2008 - 14:38
|I don't suppose there are any freeware tools that do this?|
A complete list of MSI authoring products - including freeware. shareware and open source - is at http://www.installsi...g/go/msidev.htm