basically i have an install exe. i also have an update exe.
the update exe i want to set up so there is no user interaction involved.
i set all the files in the update install exe to overwrite existing files at all times. Now when i run the update exe i get a message box that prompts the user that the files are read only and do you want to overwrite them.
i would like to bypass that message box and default it to "yes to all" but i cant seem to locate what is calling that prompt or where to comment it out.....
can anyone help me out?
thanks
KevSev
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.

Bypassing any "read only" message boxes
Started by
KevSev
, Apr 18 2002 21:56
1 reply to this topic
Posted 18 April 2002 - 23:32
It's using a predefined event that's auto. called upon encoutering a read only file.
To override it, simply use the event toolbars to choose Miscellaneous and File Read Only. Then scroll down to the newly added OnFileReadOnly section and replace the code as follows:
//return SdExceptions(READONLY, File);
// OVERRIDE: ALWAYS OVERWRITE ANY READ-ONLY FILES
return ERR_YES;
Voila! That's all there is to it.
To override it, simply use the event toolbars to choose Miscellaneous and File Read Only. Then scroll down to the newly added OnFileReadOnly section and replace the code as follows:
//return SdExceptions(READONLY, File);
// OVERRIDE: ALWAYS OVERWRITE ANY READ-ONLY FILES
return ERR_YES;
Voila! That's all there is to it.
