I've tried
<Files dir="currlocalappdata"> <Files dir="MyApp"> <File source="myAssembly.dll" />
and it didn't work. The update simply removed all the files and didn't add the new ones. 🙁
Hello,
according the docs (https://wyday.com/wybuild/help/commandline.php), currlocalappdata refers to "The current user's local application data directory (e.g. C:\Users\User Name\AppData\Local)".I'd like to install my app into local appdata, how can I specify app folder to install my files to?
Thanks!
I've tried
<Files dir="currlocalappdata"> <Files dir="MyApp"> <File source="myAssembly.dll" />
and it didn't work. The update simply removed all the files and didn't add the new ones. 🙁
It's best to first work with the UI, understand how wyBuild works, and then move to the commandline interface.
Also, the documentation explains that you need to add *all files* to wyBuild, and let wyBuild do the hard work of deciding which files need to be added, which need to be removed, and which need to be patched.
Hello Sam,
thanks for you reply. I've already comfortable with wyBuild UI. When created through UI the updates are pushed to the users without an issue, but I need to make the update creation part of our build process, hence the command line. I can create the update XML, but I cannot figure out how to put the files in a specific folder in users' AppData/Local folder.
The problem of wyUpdate deleting files is because you haven't included all the files in wyBuild. Read the FAQ: https://wyday.com/wybuild/help/faq.php#how-it-works
That's why I suggested first getting familiar with the UI.
thanks, Sam!With our help, I've realized I'm trying to update from version initially installed to Program Files to one I'd like to have in User\AppData\Local.I've created a new wyBuild project and now I can add versions with the XML.
I've meant, with your help, indeed!
searope wrote:> thanks, Sam!> With our help, I've realized I'm trying to update from version initially installed> to Program Files to one I'd like to have in User\AppData\Local.> I've created a new wyBuild project and now I can add versions with the XML.