windows-installerorca

Replace a file in an uncompressed setup


Using InstallShield I have created a Basic MSI setup that its files are uncompressed
Now I would like to replace one of the text files in the setup without rebuilding the MSI again.
Can it be done without any worry when running install, uninstall etc. ?
Is there some kind of size \ CKSUM check that compare data in msi with the actual file ?

Or it will be more reliable to edit the MSI with ORCA and remove this file from the file table ?

Thanks


Solution

  • You should be able to do this by making use of a tool named MsiFiler. Replace the file in your extracted image and then run MsiFiler as outlined in :

    https://msdn.microsoft.com/en-us/library/aa370108(v=vs.85).aspx

    Another way would be to make use of a tool like msi2xml and xml2msi to rebuild your msi package. There are a lot of examples here:

    How to replace a file in a msi installer?

    Hope this helps