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

Getting the location of setup.exe


1 reply to this topic

ohadhawk

ohadhawk
  • Members
  • 2 posts

Posted 06 March 2002 - 08:04

Hi,

1) Is there a way for the Setup.exe (compressed) to copy itself to some desirable directory ?

2) Suppose I execute the Setup.exe from a specific directory. Is there a way to retrieve the location of the Setup.exe while it is running ?
(Notice that I do NOT want the msi package location referred by the property "SourceDir".)

Thanks,

Ohad

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 06 March 2002 - 13:43

No.
The setup.exe extracts the setup files (.msi, CAB etc.) to a temp directory. What you can do is to make these extracted file permanent, by building an uncompressed media and packaging it with PackageForTheWeb.