Archive: How to use compressed app in install


How to use compressed app in install
Hi All,

I've looked around in many examples and in the docs, and I
can't seem to find an answer, so here's my question.

I want to create an install where my "application" is
the whole directory structure of it that is compressed.

Say that I want to use 7-Zip to compress the whole
directory structure.

Once I have the compressed file, how do I handle using it
in my install script?

I need the install script to be able to extract the
compressed file into the directory that the user
chooses to install to.

Thanks,

Joe Siebenmann


Why do you need to compress your files in 7-Zip when the installer compresses your files with 7-Zip (LZMA) itself?

Just use:

SetCompressor /solid lzma

SetOutPath $INSTDIR
File /r "local_dir\*.*"

-Stu