This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Filter files from source output...
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 02, 2014
08:05 AM
Filter files from source output...
How can I filter certain files when I add source output to my IS project (Files and Folders)? Let's say I want all my .cs (C# files) files in the installer but don't want .csproj (C# project file) file.
I have just switched from Visual Studio's (2010) Setup project to InstallShield and I'm trying to create an identical installer. I just can't find a way to filter files like in Visual Studio's Setup project where you just right-clicked source output item and applied an "ExcludeFilter" (where you define using wildcards which files you want to filter out).
I have just switched from Visual Studio's (2010) Setup project to InstallShield and I'm trying to create an identical installer. I just can't find a way to filter files like in Visual Studio's Setup project where you just right-clicked source output item and applied an "ExcludeFilter" (where you define using wildcards which files you want to filter out).
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 02, 2014
09:28 AM
Just tried the "Dynamic File Linking" feature and this is probably designed for filtering files since it has a filtering option. However, you cannot apply this directly to source output item because it will create duplicates. I.e. if I add source output item and then add dynamic file linking to it with excluded files, it still adds the files originally in source output item. On the other hand, I can create my own components that include certain files (i.e. *.cs etc.) but then I lose the idea of the source output which automatically includes other files (resource files etc.) too. This is a very laborious way to handle this whole thing.
It would be great if you could apply this dynamic file linking to source output item and it would filter the excluded files I define. Even better would be if source output item would automatically contain a dynamic file linking object (containing all source related files) which you can edit - and exclude/include files you want.
InstallShield has many great features and that's why we have switched to using it instead of that crappy Visual Studio's setup project. However, lag of easy filtering makes VS's setup project superior in this case. I hope you Flexera guys will implement this "easy filtering" too. It would make many people's life easier - at least mine...
It would be great if you could apply this dynamic file linking to source output item and it would filter the excluded files I define. Even better would be if source output item would automatically contain a dynamic file linking object (containing all source related files) which you can edit - and exclude/include files you want.
InstallShield has many great features and that's why we have switched to using it instead of that crappy Visual Studio's setup project. However, lag of easy filtering makes VS's setup project superior in this case. I hope you Flexera guys will implement this "easy filtering" too. It would make many people's life easier - at least mine...
ppsmxion wrote:
How can I filter certain files when I add source output to my IS project (Files and Folders)? Let's say I want all my .cs (C# files) files in the installer but don't want .csproj (C# project file) file.
I have just switched from Visual Studio's (2010) Setup project to InstallShield and I'm trying to create an identical installer. I just can't find a way to filter files like in Visual Studio's Setup project where you just right-clicked source output item and applied an "ExcludeFilter" (where you define using wildcards which files you want to filter out).
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)