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

Suppress confirmation


3 replies to this topic

rags33

rags33
  • Members
  • 15 posts

Posted 16 January 2002 - 22:36

When I uninstall my product(IS 6.2). It asks for confirmation. Do you wish to remove the readonly files. I do not want this message to appear when I uninstall/install.

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 16 January 2002 - 22:57

Ohh that's an easy one.

Using the toolbar, pick Maintenance from the left drop-down list and then "File Read Only" from the right drop-down list.

Once available, go to this function and override the default code as follows:

function OnFileReadOnly(File)
begin
    //return SdExceptions(READONLY, File);
    // OVERRIDE: ALWAYS OVERWRITE ANY READ-ONLY FILES
    return ERR_YES;
end;


rags33

rags33
  • Members
  • 15 posts

Posted 16 January 2002 - 23:59

Thanks for the reply.

Where can I find all the available event handlers for
IS 6.2


Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 17 January 2002 - 00:34

I'm using IS 6.31, but you should have a pretty much the same thing in 6.2.

Open the help, select the Index tab, enter "event handlers", 2x click on the resulting selection, and choose "Overview: Event Handlers".  There you'll find links which describe each of the available events.