How to exclude wyupdate.exe

Hi,

We have a software here that can be downloaded through a web page and be installed using NSIS installer. Then, each update generate the newest installer and a patch for those who are already running our software.

On the help page, it says not to package wyupdate.exe within the patch (for obvious reason, I suppose you don't want to patch the patcher while patching) but it need to be installed once, with my own installer.

My build system is completely automatic, so I build my soft, copy what I need in a folder, generate the latest NSIS and generate the patch. (and then deploy it whereever it needs to be deploy). As you can see, I'm using the same folder to generate both my installer and my patch.

I'm using this command line to generate my patch:wyBuild.exe software-update.wyp /bu -add=SoftwareVersionTemplate.xml

And here a section of my xml file: <Files dir="basedir"> <Folder source="SoftwareDir" insideonly="true" /> </Files>

After this long intro: is there a way, in my xml file, to exclude the file wyUpdate.exe? (or any file?)

Thank you

Hey Mathieu,

After this long intro: is there a way, in my xml file, to exclude the file wyUpdate.exe? (or any file?)

No, not currently. You could always put the wyUpdate.exe file outside of that folder and have your NSIS script get it from elsewhere.

Or you could specify each individual file you want to add.

Ok, I understand. I've already have my own solution to get around that. Thank you for the quick answer.

I think it would be a very neat feature to have. 🙂