gac - Inno Setup: Conditional FLAGS -


i have question flags source , how can make flag dependent on checkbox value.

in case have dll, thats can copied gac oder app-folder.

source: "some.dll"; destdir: "{app}\lib"; flags: ignoreversion, gacinstall; components: main 

how can make "gacinstall"-flag more flexible. hope better way duplicate source line , set 2 conditions, this:

source: "some.dll"; destdir: "{app}\lib"; flags: ignoreversion; check: not gaccondition; source: "some.dll"; destdir: "{app}\lib"; flags: ignoreversion, gacinstall, deleteafterinstall; check: gaccondition; 

there's no way conditionally specify flags parameter values e.g. having script function. guess it's because many of flags needs known @ compilation time. script best can write conditional flags specification.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -