First of all, I like the site! I learnt so much from it.
I'm relatively new to Windows Installer, and I have a problem. I have an old package. It has the setup.exe, .msi and all oher .cab
Now.. I need to replace one file inside one of the CAB file with a new one (same filename). So I tried to extract the CAB into a folder (using Winzip), replaced the file and compressed it back with CABARC (compression type LZX:21)
Sadly, it didn't work. I got error 1334 during installation. Can someone give me a suggestion? I don't have the installshield project of that package. And this old package is all I have..
Thanks in advance.
Seno
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
CAB modification
Started by
Seno
, Aug 08 2006 12:10
3 replies to this topic
Posted 10 August 2006 - 17:07
Well, the simplest way I found was to remove that particular file from that component and add in the new file using Installshield Dev. A new Data1.cab was created.
Although... I'm still interested to know if there's any tool or way to replace a file inside a CAB file directly (and modify the msi automatically).
Although... I'm still interested to know if there's any tool or way to replace a file inside a CAB file directly (and modify the msi automatically).
Posted 11 August 2006 - 10:22
Hi Seno,
Even I too do the same, replace the file in the MSI and then save it, it will creat a new CAB file. It will work. I hope this is the simple solution.
And i am not sure, whether we can change the file which is present in the CAB or not.
If you have the files present externally(Physically), you can simply replace the new fiile in the source location and can run MSIFiler, it will make the modification in the MSI for you.
--- Vijay
Even I too do the same, replace the file in the MSI and then save it, it will creat a new CAB file. It will work. I hope this is the simple solution.
And i am not sure, whether we can change the file which is present in the CAB or not.
If you have the files present externally(Physically), you can simply replace the new fiile in the source location and can run MSIFiler, it will make the modification in the MSI for you.
--- Vijay
Posted 14 August 2006 - 14:22
QUOTE (Seno @ 2006-08-10 17:07) |
Well, the simplest way I found was to remove that particular file from that component and add in the new file using Installshield Dev. A new Data1.cab was created. Although... I'm still interested to know if there's any tool or way to replace a file inside a CAB file directly (and modify the msi automatically). |
Microsoft Orca?
You can find it in Platform SDK.