Jump to content


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.
Photo

Changing a file in data1.cab


1 reply to this topic

rdreidjr

rdreidjr
  • Members
  • 1 posts

Posted 04 November 2002 - 23:09

Our application, which has been deployed at many customer sites, contains a custom uninstall DLL.  This DLL is loaded by InstallSheild during uninstallation from the data1.cab file.  This file has an error in it that needs to be fixed.  We need to write a program and/or update install script that either: 1) removes the DLL that is in the data1.cab file, and replaces it with a good DLL; or 2) overrides where the uninstall process looks for this DLL.

Any suggestions?  Is this even possible?

Lucky

Lucky
  • Members
  • 119 posts

Posted 05 November 2002 - 09:43

If you call ComponentReinstall() before ComponentTransferData() is called by the engine, the setup files including data1.cab are replaced by the ones on the new install media, as soon as file transfer starts.