I have a question about the FLAGS for a SOURCE and how i can make a FLAG dependent on a checkbox value.
In my case i have a DLL, thats can copied to the GAC oder to the app-folder.
Source: "some.dll"; DestDir: "{app}\lib"; Flags: ignoreversion, gacinstall; Components: main
How can i make the "gacinstall"-flag more flexible. I hope its a better way then duplicate the SOURCE line and set two conditions, like this:
Source: "some.dll"; DestDir: "{app}\lib"; Flags: ignoreversion; Check: not GACcondition;
Source: "some.dll"; DestDir: "{app}\lib"; Flags: ignoreversion, gacinstall, deleteafterinstall; Check: GACcondition;