PDB always included? - 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!

DanDan
Posts: 9
Joined: Thu Mar 03, 2011 8:47 am

PDB always included?

I point my AIP file at the build executable for my program, and include that program only. However, when I go to build the MSI package, AIP insists on including the PDB which also resides in the same directory. I either have to manually delete the PDB file, or copy the EXE over to a different directory before running the AIP build.

Is there any way to force AIP to ONLY use the files listed in the files and folders subsection of the resources section? It's pretty bothersome to always have to delete the PDB manually (or move it, so I have a copy locally for debugging purposes). AIP should not automatically grab and include files - especially WITHOUT warning you. Including a PDB in the build would release extra information and dubugging stuff that I'd rather not get out into the general public.

If AIP is going to always do this, then could you change it so it tells you it's adding more files before actually continuing? As it is now, it's not building the file list I specified - it's adding to it without my permission, and it's adding a file that I consider private.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: PDB always included?

Hello Dan,

Are you using our Synchronize Folder feature? If so, please note that you can edit filters that will allow you to specify which files will be added to the package. Use the [ Edit filters... ] button to do that.

If not, can you please send us the .AIP( project ) to support at advancedinstaller dot com so we can investigate it?

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DanDan
Posts: 9
Joined: Thu Mar 03, 2011 8:47 am

Re: PDB always included?

I think it was synchronized folders that got me. They're turned on by default? Is there a way to set a global flag so that by default they are off? I'm supposed to manually make a list of files to get included in the installer, I would think the default would be "don't add anything new" to the list of files and directories.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: PDB always included?

Hello,

This feature is not enabled by default. If you manually create the folder structure add the files from the Files and Folders Page( right click -> "Add Files...") everything should be installed as in the Files and Folders Page.
For more information about resources and how to organize your Advanced Installer project, please read these user guide articles:
http://www.advancedinstaller.com/user-g ... lders.html
http://www.advancedinstaller.com/user-g ... ation.html

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DanDan
Posts: 9
Joined: Thu Mar 03, 2011 8:47 am

Re: PDB always included?

What about wizard creates? That's what I used, and it was turned on - I didn't even know about folder synchronization until this thread. So if you use a wizard to build your project, it apparently is turned on by default.

I'd suggest NEVER turning it on automatically, in any case. Let the user change that value, since it can be rather disconcerting - and potentially devastating if the wrong files were automatically included - to a user who's trying to roll revisions of their software.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: PDB always included?

Hello,

Thank you for your suggestion. We will consider this for future Advanced Installer versions. Please note that most developers use the entire application folder and they want it up to date when building the project.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”