NewsArchive
07-06-2007, 02:42 AM
I have IF/ELSE logic all through my setup, determining if MyExe.EXE from
SetupIn\Basic should be used, or that from SetupIn\Deluxe, etc, including
similar logic for choice of several large dlls and hundreds of megabytes of
large data files. My resulting setup.exe is almost 700MB instead of the
expected 300MB or so.
Here is a short excerp from my installation - what would I need to do to
make this use compiler directives instead?
If %CGT_EDITION% Equals "Deluxe" Then
Install File "CGT_Data\*.TPS" to "%_SB_INSTALLDIR%\*.TPS
Install File "CGT_Documents\*.*" to "%_SB_INSTALLDIR%\*.*
Elsif %CGT_EDITION% Equals "Basic" Then
Install File "CGT_Data\*.TPS" to "%_SB_INSTALLDIR%\*.TPS
Else
Install File "CGT_Data_6Yr\*.TPS" to "%_SB_INSTALLDIR%\*.TPS
Install File "CGT_Documents_6Yr\*.*" to "%_SB_INSTALLDIR%\*.*
End
Regards and thanks
Warren
SetupIn\Basic should be used, or that from SetupIn\Deluxe, etc, including
similar logic for choice of several large dlls and hundreds of megabytes of
large data files. My resulting setup.exe is almost 700MB instead of the
expected 300MB or so.
Here is a short excerp from my installation - what would I need to do to
make this use compiler directives instead?
If %CGT_EDITION% Equals "Deluxe" Then
Install File "CGT_Data\*.TPS" to "%_SB_INSTALLDIR%\*.TPS
Install File "CGT_Documents\*.*" to "%_SB_INSTALLDIR%\*.*
Elsif %CGT_EDITION% Equals "Basic" Then
Install File "CGT_Data\*.TPS" to "%_SB_INSTALLDIR%\*.TPS
Else
Install File "CGT_Data_6Yr\*.TPS" to "%_SB_INSTALLDIR%\*.TPS
Install File "CGT_Documents_6Yr\*.*" to "%_SB_INSTALLDIR%\*.*
End
Regards and thanks
Warren