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

Writing a string to a file during installation?


3 replies to this topic

quakey

quakey
  • Full Members
  • 33 posts

Posted 30 November 2004 - 04:47

Hi,

I need to writre a string to a file the installer installs on the destination computer. I use
VBScript to do the job but Norton Antivirus pops up saying it is a malicious script! That
is not acceptable in an installer...is there other ways to accomplish it?

Thanks!

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 30 November 2004 - 08:59

You could use a DLL or EXE to write to the file. Or tell users to turn of Norton AntiVirus (or any virus scannere they may be running)

quakey

quakey
  • Full Members
  • 33 posts

Posted 30 November 2004 - 09:31

QUOTE (Stefan Krueger @ 2004-11-30 08:59)
You could use a DLL or EXE to write to the file. Or tell users to turn of Norton AntiVirus (or any virus scannere they may be running)

Hi,

I remember in the old Wise InstallBuilder there is a custom action built-in that
writes a string to a text file...now with MSi I need to write a exe or dll myself to
achieve that goal? Isn't that just a step backward?

Thanks for your help anyways!

[still not fully understand the benefits of MSI[

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 30 November 2004 - 17:51

MSi can write to INI files. Other file writing operations are not included.