Include files in build that do not get installed - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

cbono
Posts: 42
Joined: Thu Aug 14, 2008 10:11 pm

Include files in build that do not get installed

Hello,

I want to specify a few files that get included in a build that we're targeting for a CD. These are related to CD autorun functionality, so they need to go on the CD media, but I don't want them installed onto the users' computer.

I can't find a way to add a file under "Files and Folders" and exclude it from the install process. Is this possible at all?

We can manually add the files to the build output, of course. But it's so much easier to have everything defined in our AIP project file.

Thanks,
Chris
cbono
Posts: 42
Joined: Thu Aug 14, 2008 10:11 pm

Re: Include files in build that do not get installed

I figured it out.

I added the extra files as normal in the "Files and Folders" page. I then went to the "Organization" page and added a new feature. I traced the files back to their components (from "Files and Folders", right-click on the file and select "Go to Component") and moved those items to the new feature.

Then I set the new feature as "Disabled. It will not be installed or displayed in 'CustomizeDlg'." Now when I build the project, my files end up in the output directory, but do not get copied to the user's PC during installation.

Return to “Common Problems”