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

Manually extract file from compressed release.


3 replies to this topic

IgorS

IgorS
  • Members
  • 38 posts

Posted 23 September 2001 - 08:47

Hi.
I have such a problem.
I wrote COM object and I have to register and use it in the UI Sequence (not in the Execute Sequence).
So if I use not compressed release everything is fine.
I used immediately CA with such code
LaunchAppAndWait("regsvr32.exe",”mypath\myapp.dll”,WAIT);

But now I have to use compressed release with “compress all files” option.
So I receive installation as one big setup.exe file.

The question is - How can I extract my file from compressed setup.exe file?
May be I should use binary table?

Any ideas?

Thank you in advance.

IgorS


jsp

jsp
  • Members
  • 96 posts

Posted 24 September 2001 - 09:11

You should use a CustomAction: "launch an executable"

IgorS

IgorS
  • Members
  • 38 posts

Posted 24 September 2001 - 09:26

But for my dll successfull registration I has to extract some dlls (dependenses).
How can I extract them from setup.exe ?
I found some stuff about StreamFilesFromBinary function, which helps to extract files from binary table.
Now I'll try this.

IgorS

IgorS
  • Members
  • 38 posts

Posted 25 September 2001 - 08:23

I used function StreamFileFromBinary.
It really works.