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

How to write old files over new files?


2 replies to this topic

kdeol

kdeol
  • Members
  • 1 posts

Posted 05 May 2003 - 23:39

blink.gif I need to be able to run a patch and during the execution of teh patch I wish to replace the currently installed files with files that are older.
Is this possible with IS Developer 7.04? If so , how?

Thanks.

GuySmiley

GuySmiley
  • Members
  • 14 posts

Posted 27 May 2003 - 21:32

one way is to specify 'a' instead of 'o' in the REINSTALLMODE property.. this will make the default installer behaviour to always install over the file regardless of their version information.

eg. REINSTALLMODE=vamus at the command-line (in Setup.exe)
or
ControlEvent: ReinstallMode
Argument: amus

gs.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 28 May 2003 - 07:54

This is a risky setting, because it can also downgrade shared files in Windows directory.

You could create a major upgrade that will automatically uninstall the existing cversion and then install your desired version. This would probably make more sense in a full install package (.msi) instead of a patch (.msp).