yefchak
Posts: 16
Joined: Fri Oct 11, 2013 10:44 pm

Must keep re-importing project output?

Hi folks,

I have an installer which used to work, but now that I've upgraded the project's .Net environment, moved to VS2026, etc., it seems to be broken.
As far as I can tell, each time I want to install from a new build, I must (a) Edit the setup file within Advanced Installer to DELETE all files in the application folder (these are all purple, by the way, (b) Open the setup using the VS2026 Advanced Installer Extension and click Add Project Output.

If I don't do this, building the setup app again copies the previous build's output instead of the new files.

Help?
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Must keep re-importing project output?

Hello,
these are all purple, by the way
This is happening if you have multiple builds and if the files have different paths per each build.
Screenshot_179.png
Screenshot_179.png (48 KiB) Viewed 15029 times
Edit the setup file within Advanced Installer to DELETE all files in the application folder
I think the best and easiest approach here would be to create a synchronization link between the Application Folder in Advanced Installer and your folder where the build files reside.

Working with Synchronized Folders

This way, each time you open Advanced Installer, the folder from your project will be synchronized automatically with the folder from the disk that contains your files. So, for example, if you built a new version of your application and that now has an additional file, that will be added automatically to the Advanced Installer project. And of course, the new version of the files as well (so if you previously had v1.0 of your EXE and now you built v2.0, then v2.0 will be added in your project).

Could you please try this and let me know if it helps? :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
yefchak
Posts: 16
Joined: Fri Oct 11, 2013 10:44 pm

Re: Must keep re-importing project output?

Thanks Catalin,

This seem to work, at least when publishing my project doesn't create a new _1 folder.

I'm confused as to why the folder synchronization isn't set up automatically when creating a VS setup project in Advanced Installer. Wouldn't I always want this?
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Must keep re-importing project output?

You are always welcome!

I am really glad to hear the solution worked. :)
I'm confused as to why the folder synchronization isn't set up automatically when creating a VS setup project in Advanced Installer. Wouldn't I always want this?
Well, this is a feature we offer and although you are right, this is especially useful for the VS scenario, some do not want to use it and that's why we left it up to the users to decide whether they need it or not.

Let me know if there is anything else I can help you with and I will gladly assist.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”