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.
How to write old files over new files?
Started by
kdeol
, May 05 2003 23:39
2 replies to this topic
kdeol
kdeol
Members
1 posts
Posted 05 May 2003 - 23:39
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?
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
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).