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

Files Installed


4 replies to this topic

manusarin

manusarin
  • Members
  • 2 posts

Posted 29 August 2002 - 15:22

I have to log the files which are being installed into a log file . I am using Install shield Developer Ver 7.03 . Is there any event which gets fired when the file is copied onto the system or any other method . I think in Ver 6.x they had an event "On Installing file" where you could write the code to log the file being installed . Is there a similar method in Ver 7.x

Thanks

Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 29 August 2002 - 15:35

Action Data messages are sent by the InstallFiles action for each file installed.  You can install an external UI handler to process these messages.
Ian Blake
(Currently Unemployed)

manusarin

manusarin
  • Members
  • 2 posts

Posted 29 August 2002 - 17:03

Thanks . I am kind of new to Install Shield Dev 7 . Can you tell me how do you install the externa Ui handler . It would be great if you can attach a working example

Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 30 August 2002 - 11:59

I do not have a sample but there is sufficient documentation in the MSDN/MSI help.

You need to replace setup.exe with your own startup program and make a call to MsiSetExternalUI before MsiInstallProduct.  You may also need to do whatever InstallShield needs. (Probably not sufficiently documented).
Ian Blake
(Currently Unemployed)

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 30 August 2002 - 15:52

Note that this will probably not work with Standard Projects in Developer 7 since they already use an external handler I think.

Enabling verbose logging may be the easiest solution.