Winrar sfx deletes files too early

Posted by Simon Ottenhaus on Stack Overflow See other posts from Stack Overflow or by Simon Ottenhaus
Published on 2010-01-20T15:47:46Z Indexed on 2010/04/29 0:27 UTC
Read the original article Hit count: 550

Filed under:
|

I'm trying to build a sfx (self extracting archive) using winrar.

I'm using VS2008 to build a setup.exe and a myapp.msi. If setup.exe is executed it does some checking an launches myapp.msi

I'm using some sfx options to make the extraction quiet and make it extract so some temp folder:

;Der folgende Kommentar enthält SFX-Skriptbefehle

Setup=setup.exe
TempMode
Silent=2
Overwrite=1

It seems winrar deletes the msi right after setup.exe is launched. Setup.exe can't find the msi and crashes. Is there some way to fix this?

© Stack Overflow or respective owner

Related posts about winrar

Related posts about setup