Visual Studio - Installer project gone mad... - Advanced Installer Community
LaughingJohn
Posts: 39
Joined: Wed Aug 11, 2010 1:05 pm

Visual Studio - Installer project gone mad...

Hi,

I have a fairly simple WPF program which I created an installer for. I'm using Visual Studio 2013 and AI 11.8 Professional and I've used AI successfully on a couple of other projects. It's possible I've done something wrong, but I've been having various problems with it:

1. When adding project output it includes a bunch of .Net framework dlls which clearly shouldn't be there. These aren't in my bin/release folder. If I open AI and remove them manually then build the project I get what I want. However after saving the .aip file, if I build using Visual Studio they all come back again.
2. When you add project Output (from visual studio aiproj) it always creates a folder under "Application Folder" which corresponds to my solution name (and the main project/assembly). This is annoying as I want my output in the Application Folder and I can't stop it happening. I have to move all of the output from that folder to "Application Folder" in AI itself. But the folder keeps coming back. FYI my application folder is set to be "[ProgramFilesFolder][Manufacturer]\[ProductName]"
3. At one point, although I could build the project in both AI and in Visual Studio, when using msbuild to build the solution it was failing because some of the short file names in component section (aip file) were duplicated. Not quite sure how it got in that state.

I *think* I've managed to get around all these issues by removing all project output and just synchronizing the bin/release folder to the "Application Folder", but I wanted to make you aware of it. And my solution doesn't allow me to create debug and release setups..

LJ
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Visual Studio - Installer project gone mad...

Hi LJ,

I'm not sure why this happens. Can you please give us a step by step test case scenario which reproduces the behavior or can you isolate the behavior in a sample and send it us so we can investigate this?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”