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!

Search found 2 matches

Go to advanced search

by gielians
Mon Jul 29, 2024 1:46 pm
Forum: Building Installers
Topic: Never Override in PS affects more components than selected
Replies: 2
Views: 13195
 
Jump to post

Re: Never Override in PS affects more components than selected

"Set Files to never overwrite"
$nonoverwritefiles = $advproj.FilesComponent.Files.Where({ $_.Name -eq "appsettings.json" -or $_.Name -eq "config.json"})
foreach ($file in $nonoverwritefiles) {
"Set NeverOverwrite for $($file.FullPath)"
$file.OverwriteType = "no"
}

fixed it
the changed had to ...
by gielians
Fri Jul 26, 2024 2:48 pm
Forum: Building Installers
Topic: Never Override in PS affects more components than selected
Replies: 2
Views: 13195
 
Jump to post

Never Override in PS affects more components than selected

Hi,
although this is my first post here I am using Advanced Installer within our build pipelines for more than 3 Years now, and we are quite happy with it.
In this case we use the Powershell component to fill an existing "template" project with files, components, services, etc. and build an exe ...

Go to advanced search