Alejandro,

Your code is not correct.

1. %%PROGRAMFILES%% is not correct here. You have to use the runtime variable (e.g. %PROGRAMFILESDIR%).

2. You check if "googledriesync.exe" is in-use (means: running/active/locked). Your %ISINSTALLED% variable value is "1" if the file is in-use, it is "0" if the file is not in-use and "-1" if the file could not be found.

3. Your If Statement in Line 72 is incorrect (from the technical point-of-view) and does not work.

BTW, by default, a project has a (non-removable) single feature called "Always Install". All files in this feature are automatically installed regardless of the setup type the user selects. Of course, if you put an If Statement around this line and the Statement resolves to FALSE then it will NOT be installed. But your If Statement in Line 72 is not correct so it does not do what you want here.

Friedrich